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

Running multi camera build make error #5

Open
2 tasks done
DailyNir opened this issue Aug 6, 2023 · 2 comments
Open
2 tasks done

Running multi camera build make error #5

DailyNir opened this issue Aug 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@DailyNir
Copy link

DailyNir commented Aug 6, 2023

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

getting error when trying to build aruco marker multi camera project

Steps to Reproduce

follow instruction for multicamera aruco marker and run make in build directory

Expected Result

running the aruco marker executable file

Actual Result

no file generated because of build error in make
usr/bin/ld: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/src/GLViewer.o: in function GLViewer::mouseMotionCallback(int, int)': GLViewer.cpp:(.text+0x34): undefined reference to glutPostRedisplay'
/usr/bin/ld: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/src/GLViewer.o: in function GLViewer::keyPressedCallback(unsigned char, int, int)': GLViewer.cpp:(.text+0x4c): undefined reference to glutPostRedisplay'
/usr/bin/ld: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/src/GLViewer.o: in function GLViewer::exit()': GLViewer.cpp:(.text+0x854): undefined reference to glutLeaveMainLoop'
/usr/bin/ld: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/src/GLViewer.o: in function GLViewer::idle()': GLViewer.cpp:(.text+0xca8): undefined reference to glutPostRedisplay'
/usr/bin/ld: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/src/GLViewer.o: in function GLViewer::update()': GLViewer.cpp:(.text+0x3100): undefined reference to glutLeaveMainLoop'
/usr/bin/ld: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/src/GLViewer.o: in function GLViewer::drawCallback()': GLViewer.cpp:(.text+0x3824): undefined reference to glutSwapBuffers'
/usr/bin/ld: GLViewer.cpp:(.text+0x3830): undefined reference to glutPostRedisplay' /usr/bin/ld: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/src/GLViewer.o: in function GLViewer::render()':
GLViewer.cpp:(.text+0x38a0): undefined reference to glutSwapBuffers' /usr/bin/ld: GLViewer.cpp:(.text+0x38ac): undefined reference to glutPostRedisplay'
/usr/bin/ld: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/src/GLViewer.o: in function GLViewer::init(int, int, int)': GLViewer.cpp:(.text+0x3df4): undefined reference to glutInit'
/usr/bin/ld: GLViewer.cpp:(.text+0x3dfc): undefined reference to glutInitWindowSize' /usr/bin/ld: GLViewer.cpp:(.text+0x3e04): undefined reference to glutInitDisplayMode'
/usr/bin/ld: GLViewer.cpp:(.text+0x3e10): undefined reference to glutCreateWindow' /usr/bin/ld: GLViewer.cpp:(.text+0x4aa0): undefined reference to glutSetOption'
/usr/bin/ld: GLViewer.cpp:(.text+0x4aac): undefined reference to glutDisplayFunc' /usr/bin/ld: GLViewer.cpp:(.text+0x4ab8): undefined reference to glutMouseFunc'
/usr/bin/ld: GLViewer.cpp:(.text+0x4ac4): undefined reference to glutMotionFunc' /usr/bin/ld: GLViewer.cpp:(.text+0x4ad0): undefined reference to glutReshapeFunc'
/usr/bin/ld: GLViewer.cpp:(.text+0x4adc): undefined reference to glutKeyboardFunc' /usr/bin/ld: GLViewer.cpp:(.text+0x4ae8): undefined reference to glutKeyboardUpFunc'
/usr/bin/ld: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/src/main.o: in function main': main.cpp:(.text.startup+0xd90): undefined reference to glutCloseFunc'
/usr/bin/ld: main.cpp:(.text.startup+0xd94): undefined reference to `glutMainLoop'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ZED_Multi_Reloc_Aruco.dir/build.make:152: ZED_Multi_Reloc_Aruco] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ZED_Multi_Reloc_Aruco.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

ZED Camera model

ZED Mini

Environment

ZED SDK 4.0.5
Jetson AGX Orin
Ubuntu 20.04
jetpack 5.1.1
ZED X cameras

Anything else?

No response

@DailyNir DailyNir added the bug Something isn't working label Aug 6, 2023
@P-yver
Copy link
Member

P-yver commented Aug 24, 2023

Hi,
it looks like it is not properly linked with glut.
Can you try this branche? https://github.com/stereolabs/zed-aruco/tree/ZED_SDK_4

@DailyNir
Copy link
Author

DailyNir commented Sep 7, 2023

ok it works, but now i have the MultiCamConfig.json ready, where can i put it so the cameras configuration will be saved when i use the sdk/ros point cloud?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants