the reason?
undefined reference to proj_get_type
Why is this happening?
Linker could not find the library. It might be neither installed nor unable to locate the library
During the Cmake phase, I indicated the library paths. Cmake tried without any errors.
its not about the library itself, the linker knows about proj_get_type but cant find it, so go figure, search for the aforementioned method and fix it
I think you should download the library manually cause sometimes in linux, gcc dont contains some necessary libraries.... Simple exam is conio.h
The library I want to build is called liblas. Among the requirements for the Liblas is no proj. Among the requirements of libraries required for Liblas is proj. I've already set up all the necessary libraries.
How can I do that?
Which ide you are using???
I using Linux terminal
And writing codes in ????
conio.h is a windows lib. ofc none of the non windows tools contains it Oo
follow the path... check where the function should be. and verify whether its there. if its there check if you gave the order to link it, because the linker is a stupid tool, you have to tell it what to link. if you have verified this, check again whether the compiled object file is actually where the linker thinks it is
I used that as example....
bad example because there is never a need to download conio.h manually. either its part of the tools library or not. dont go patching frankenstein libs for no reason together
Обсуждают сегодня