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

compliation issue on Melodic #90

Closed
jbeck28 opened this issue Nov 19, 2019 · 1 comment
Closed

compliation issue on Melodic #90

jbeck28 opened this issue Nov 19, 2019 · 1 comment

Comments

@jbeck28
Copy link

jbeck28 commented Nov 19, 2019

I'm using the 0.62.2 from the repos on Ubuntu 18, and I'm getting the following error when trying to compile code which uses ecl::Array

CMakeFiles/runpath_server.dir/src/runpath_server.cpp.o: In function `ecl::StandardException::~StandardException()':
runpath_server.cpp:(.text._ZN3ecl17StandardExceptionD2Ev[_ZN3ecl17StandardExceptionD5Ev]+0xf): undefined reference to `vtable for ecl::StandardException'
CMakeFiles/runpath_server.dir/src/runpath_server.cpp.o: In function `ecl::Array<double, 0ul>::operator[](unsigned long)':
runpath_server.cpp:(.text._ZN3ecl5ArrayIdLm0EEixEm[_ZN3ecl5ArrayIdLm0EEixEm]+0x3f): undefined reference to `ecl::StandardException::StandardException(char const*, ecl::ErrorFlag)'
runpath_server.cpp:(.text._ZN3ecl5ArrayIdLm0EEixEm[_ZN3ecl5ArrayIdLm0EEixEm]+0x4d): undefined reference to `typeinfo for ecl::StandardException'
collect2: error: ld returned 1 exit status
optimax_runpath/CMakeFiles/runpath_server.dir/build.make:286: recipe for target '/home/joshua/catkin_ws/devel/lib/optimax_runpath/runpath_server' failed
make[2]: *** [/home/joshua/catkin_ws/devel/lib/optimax_runpath/runpath_server] Error 1
CMakeFiles/Makefile2:29505: recipe for target 'optimax_runpath/CMakeFiles/runpath_server.dir/all' failed
make[1]: *** [optimax_runpath/CMakeFiles/runpath_server.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

Good odds this is my fault, but I haven't been able to figure it out. Any assistance would be appreciated.

@jbeck28 jbeck28 changed the title compliation issue on kinetic compliation issue on Melodic Nov 20, 2019
@jbeck28
Copy link
Author

jbeck28 commented Dec 9, 2019

Made a silly mistake in my cmakelists.txt, closing.

@jbeck28 jbeck28 closed this as completed Dec 9, 2019
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

1 participant