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

proj link error #252

Open
Portgas-D-Asce opened this issue Apr 7, 2020 · 1 comment
Open

proj link error #252

Portgas-D-Asce opened this issue Apr 7, 2020 · 1 comment

Comments

@Portgas-D-Asce
Copy link

Portgas-D-Asce commented Apr 7, 2020

when i used make command to build ossim, i got the follwing errors:

[ 78%] Building CXX object apps/ossim-adrg-dump/CMakeFiles/ossim-adrg-dump.dir/ossim-adrg-dump.cpp.o
[ 78%] Linking CXX executable ../../bin/ossim-adrg-dump
../../lib/libossim.so.1.9.0:‘proj_get_type’undefined reference
../../lib/libossim.so.1.9.0:‘proj_get_type’undefined reference
../../lib/libossim.so.1.9.0:‘proj_crs_get_geodetic_crs’undefined reference
../../lib/libossim.so.1.9.0:‘proj_coordoperation_get_method_info’undefined reference
../../lib/libossim.so.1.9.0:‘proj_get_id_code’undefined reference
../../lib/libossim.so.1.9.0:‘proj_get_name’undefined reference
../../lib/libossim.so.1.9.0:‘proj_crs_get_coordoperation’undefined reference
../../lib/libossim.so.1.9.0:‘proj_destroy’undefined reference
../../lib/libossim.so.1.9.0:‘proj_coordoperation_get_param’undefined reference
../../lib/libossim.so.1.9.0:‘proj_cs_get_axis_info’undefined reference
../../lib/libossim.so.1.9.0:‘proj_uom_get_info_from_database’undefined reference
../../lib/libossim.so.1.9.0:‘proj_get_prime_meridian’undefined reference
../../lib/libossim.so.1.9.0:‘proj_ellipsoid_get_parameters’undefined reference
../../lib/libossim.so.1.9.0:‘proj_context_destroy’undefined reference
../../lib/libossim.so.1.9.0:‘proj_crs_get_coordinate_system’undefined reference
../../lib/libossim.so.1.9.0:‘proj_prime_meridian_get_parameters’undefined reference
../../lib/libossim.so.1.9.0:‘proj_get_ellipsoid’undefined reference
../../lib/libossim.so.1.9.0:‘proj_create_from_database’undefined reference
../../lib/libossim.so.1.9.0:‘proj_context_create’undefined reference
../../lib/libossim.so.1.9.0:‘proj_coordoperation_get_param_count’undefined reference
../../lib/libossim.so.1.9.0:‘proj_crs_get_datum’undefined reference
collect2: error: ld returned 1 exit status
apps/ossim-adrg-dump/CMakeFiles/ossim-adrg-dump.dir/build.make:102: recipe for target 'bin/ossim-adrg-dump' failed
make[2]: *** [bin/ossim-adrg-dump] Error 1
CMakeFiles/Makefile2:305: recipe for target 'apps/ossim-adrg-dump/CMakeFiles/ossim-adrg-dump.dir/all' failed
make[1]: *** [apps/ossim-adrg-dump/CMakeFiles/ossim-adrg-dump.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

can anyone help me. thanks in advance.

@Portgas-D-Asce Portgas-D-Asce changed the title "proj_get_type undefined reference" when using make command proj link error Apr 7, 2020
@fanyunhua
Copy link

fanyunhua commented Aug 20, 2020

I also encountered a similar problem, who can help me, thanks

[ 80%] Linking CXX executable ../../bin/ossim-cli
../../lib/libossim.so.1.9.0:‘GTIFPrint’’undefined reference
../../lib/libossim.so.1.9.0:‘XTIFFOpen’’undefined reference
../../lib/libossim.so.1.9.0:‘GTIFKeySet’’undefined reference
../../lib/libossim.so.1.9.0:‘GTIFNew’’undefined reference
../../lib/libossim.so.1.9.0:‘GTIFGetDefn’’undefined reference
../../lib/libossim.so.1.9.0:‘Json::Value::operator=(Json::Value)’’undefined reference
../../lib/libossim.so.1.9.0:‘GTIFFree’’undefined reference
../../lib/libossim.so.1.9.0:‘GTIFKeyGet’’undefined reference
../../lib/libossim.so.1.9.0:‘Json::Value::operator!() const’’undefined reference
../../lib/libossim.so.1.9.0:‘XTIFFClose’’undefined reference
../../lib/libossim.so.1.9.0:‘GTIFWriteKeys’’undefined reference
../../lib/libossim.so.1.9.0:‘XTIFFClientOpen’’undefined reference
collect2: error: ld returned 1 exit status

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