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

Undefined reference to 'GDALDriver::CreateCopy...' #15

Closed
obstinacyvalue opened this issue Jan 21, 2022 · 2 comments
Closed

Undefined reference to 'GDALDriver::CreateCopy...' #15

obstinacyvalue opened this issue Jan 21, 2022 · 2 comments

Comments

@obstinacyvalue
Copy link

I am trying to build openEMS on an Arch Linux variant Garuda and I keep getting this error when trying to compile from scratch:

/usr/bin/ld: /usr/lib/libvtkGeovisGDAL.so.1: undefined reference to GDALDriver::CreateCopy(char const*, GDALDataset*, int, char**, int (*)(double, char const*, void*), void*)' /usr/bin/ld: /usr/lib/libvtkGeovisGDAL.so.1: undefined reference to GDALDriver::Create(char const*, int, int, int, GDALDataType, char**)'
collect2: error: ld returned 1 exit status
make[5]: *** [CMakeFiles/AppCSXCAD.dir/build.make:346: AppCSXCAD] Error 1
make[4]: *** [CMakeFiles/Makefile2:84: CMakeFiles/AppCSXCAD.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/AppCSXCAD.dir/build.make:86: AppCSXCAD-prefix/src/AppCSXCAD-stamp/AppCSXCAD-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:196: CMakeFiles/AppCSXCAD.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I tried installing a different version of GDAL to see if that would fix it. Any ideas?

@obstinacyvalue
Copy link
Author

This was addressed in the forums. I will copy that forum chain over and close the ticket.

@thliebig
Copy link
Owner

thliebig commented Dec 31, 2022

You never did and the forum is now down unfortunately.... Please re-open if this is still an issue

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