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

Trying to create .o file to execute ctello_state #6

Open
AnaRhisT94 opened this issue Oct 21, 2021 · 2 comments
Open

Trying to create .o file to execute ctello_state #6

AnaRhisT94 opened this issue Oct 21, 2021 · 2 comments

Comments

@AnaRhisT94
Copy link

Trying to build with

g++ -std=c++17 -I/home/a/Desktop/projects/hello-world/include/ -L/usr/local/lib -Wl,-R/usr/local/lib ctello_state.cpp -lctello -o ctello_state.o

and it outputs an error:

/usr/bin/ld: /tmp/cc8PG2h3.o: in function `main':
ctello_state.cpp:(.text+0x2cc): undefined reference to `ctello::Tello::Bind(int, int)'
collect2: error: ld returned 1 exit status

@carlospzlz
Copy link
Owner

Is libctello.so in /usr/local/lib?

@carlospzlz
Copy link
Owner

carlospzlz commented Oct 28, 2021

Hi @AnaRhisT94, did you manage to resolve this problem?

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

2 participants