Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buid leosatellites error #15

Open
ChengFuWeiWei opened this issue Sep 1, 2022 · 6 comments
Open

Buid leosatellites error #15

ChengFuWeiWei opened this issue Sep 1, 2022 · 6 comments

Comments

@ChengFuWeiWei
Copy link

ChengFuWeiWei commented Sep 1, 2022

Enviornment:
Ubuntu VM 16.04 LTS
Omnetpp 5.6.2
inet 4.2.5

When I ran the following command
1.cd mysamples/leosatellites/src
2. opp_makemake --make-so -f --deep -O out -KINET_PROJ=$HOME/omnetpp-5.6.2/mysamples/inet4 -KOS3_PROJ=$HOME/omnetpp-5.6.2/mysamples/os3 -DINET_IMPORT '-I$(OS3_PROJ)/src' '-I$(INET_PROJ)/src' -I/usr/include/curl '-L$(INET_PROJ)/src' '-L$(OS3_PROJ)/src' '-lINET$(D)' '-los3$(D)'
3. make MODE=release && make MODE=debug

I got this error:
networklayer/configurator/ipv4/LeoIpv4NetworkConfigurator.cc:196:53: error: cannot convert ‘igraph_vector_int_t*’ to ‘const igraph_integer_t* {aka const int*}’ for argument ‘2’ to ‘int igraph_vector_int_init_copy(igraph_vector_int_t*, const igraph_integer_t*, long int)’

my igraph version is 0.9.5
Is it the igraph version error or other information I might need ?

@Avian688
Copy link
Owner

Avian688 commented Sep 1, 2022

Yes, I am using the igraph develop branch as there is some functionality that was needed (k-shortest-paths). Let me know if this fixes the issue!

@Avian688
Copy link
Owner

Avian688 commented Sep 1, 2022

I am in the process of updating to OMNeT++ 6.0, so expect some changes soon.

@ChengFuWeiWei
Copy link
Author

I changed my igraph version to develop that can fixes this problem.

@ChengFuWeiWei
Copy link
Author

When I run with release mode
got the following error:
<!> Error: Cannot load library '/home/wei/omnetpp-5.6.2/mysamples/leosatellites/src//libleosatellites.so': /home/wei/omnetpp-5.6.2/mysamples/leosatellites/src//libleosatellites.so: undefined symbol: igraph_vector_init

@Avian688
Copy link
Owner

Avian688 commented Sep 8, 2022

I have updated all of the code (and its dependencies) to OMNeT++ 6.0 and INET 4.4. I have also uploaded an igraph project which you should be able to use without issues. Ensure that the igraph dependencies are included - which is depicted on the README file of the leosatellites project. Hope this helps.

@LQZhong
Copy link

LQZhong commented Mar 22, 2023

Hey Weiwei, have you solved this error? I have the same error with libigraph dev 0.9.6 in Ubuntu 22.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants