[PROJ] Running Proj C Demo

Edip Ahmet Taşkın geosoft66 at gmail.com
Mon Aug 10 12:44:46 PDT 2020


Hello. İt is my first post for the mailing list here. My previous mail was
rejected I don't know why. I cannot run the C demo example for Proj 6.3.1.
When I run the example with Qt Creator I get this error:
 g++ -o proj_c main.o

/usr/bin/ld: main.o: in function `main':
/home/edip/workspace/proj_c/main.c:42: undefined reference to
`proj_context_create'
/usr/bin/ld: /home/user/workspace/proj_c/main.c:44: undefined
reference to `proj_create_crs_to_crs'
/usr/bin/ld: /home/user/workspace/proj_c/main.c:57: undefined
reference to `proj_normalize_for_visualization'
/usr/bin/ld: /home/user/workspace/proj_c/main.c:62: undefined
reference to `proj_destroy'
/usr/bin/ld: /home/user/workspace/proj_c/main.c:68: undefined
reference to `proj_coord'
/usr/bin/ld: /home/user/workspace//proj_c/main.c:71: undefined
reference to `proj_trans'
/usr/bin/ld: /home/user/workspace/proj_c/main.c:73: undefined
reference to `proj_trans'
/usr/bin/ld: /home/user/workspace/proj_c/main.c:77: undefined
reference to `proj_destroy'
/user/bin/ld: /home/user/workspace/proj_c/main.c:78: undefined
reference to `proj_context_destroy'

Could you please help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20200810/862373c3/attachment.html>


More information about the PROJ mailing list