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

CreateGlutWindowAndBind’ is not a member of ‘pangolin’ #6

Open
ahmed-nad opened this issue Dec 14, 2016 · 3 comments
Open

CreateGlutWindowAndBind’ is not a member of ‘pangolin’ #6

ahmed-nad opened this issue Dec 14, 2016 · 3 comments

Comments

@ahmed-nad
Copy link

/home/ahmednadeem/Desktop/lsd_slam/lsd_slam_core/src/GUI.cpp: In constructor ‘GUI::GUI()’:
/home/ahmednadeem/Desktop/lsd_slam/lsd_slam_core/src/GUI.cpp:14:5: error: ‘CreateGlutWindowAndBind’ is not a member of ‘pangolin’
pangolin::CreateGlutWindowAndBind("Main", 1280 + 180, 960, GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH | GLUT_MULTISAMPLE);

@ahmed-nad
Copy link
Author

I included the display_glut.h, then it gets up to 100% and gives the same error in linking .so

[ 96%] Built target lsdslam
Linking CXX executable LSD
../lib/liblsdslam.so: undefined reference to `pangolin::CreateGlutWindowAndBind(std::string, int, int, unsigned int)'
collect2: error: ld returned 1 exit status

@c-goettert
Copy link

Could you resolve this somehow? I have the same issue..

@c-goettert
Copy link

I could solve it by using new function-Call in GUI.cpp:
pangolin::CreateWindowAndBind("Main", 1280 + 180, 960);
instead of
pangolin::CreateWindowAndBind("Main", 1280 + 180, 960, GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH | GLUT_MULTISAMPLE);

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