Re: [CMake] Library numeric extension?

2011-06-17 Thread David Doria
On Fri, Jun 17, 2011 at 4:30 PM, Eric Sokolowsky wrote: > You didn't specify your development environment so I'm just guessing here. > Under Linux, you usually have to install a development package in order to > link to libraries. If you are compiling your own libgeotiff you might want > to instal

Re: [CMake] Library numeric extension?

2011-06-17 Thread Eric Sokolowsky
You didn't specify your development environment so I'm just guessing here. Under Linux, you usually have to install a development package in order to link to libraries. If you are compiling your own libgeotiff you might want to install the library before trying to link to it. You might also be link

Re: [CMake] Library numeric extension?

2011-06-16 Thread Michael Wild
On 06/16/2011 11:56 PM, David Doria wrote: > I added a simple: > > target_link_libraries(myprogram geotiff) > > to my CMakeLists.txt file. I have a libgeotiff.so in a directory on my > LD_LIBRARY_PATH. The code compiled, but when I tried to run it, I got > an error that I was missing libgeotiff.s

[CMake] Library numeric extension?

2011-06-16 Thread David Doria
I added a simple: target_link_libraries(myprogram geotiff) to my CMakeLists.txt file. I have a libgeotiff.so in a directory on my LD_LIBRARY_PATH. The code compiled, but when I tried to run it, I got an error that I was missing libgeotiff.so.2. I made a symlink from libgeotiff.so.2 to libgeotiff.