Hi,
its my first projekt with cmake and I am getting crazy with the following:
I am using libconfuse, which is installed under /usr/lib/
Here is my cmakefile:
cmake_minimum_required(VERSION 2.6)
PROJECT (DS309 C)
ADD_EXECUTABLE(ds309 ds309.c ds309_3_parser.c ds309toccp.c serveritf.c
INCLUDE_DIRECTORIES( ccp )
TARGET_LINK_LIBRARIES(ds309 libconfuse)
in the Target_link_libraries command you must give the name of the
target to link the libraries into as the first argument.
_
Mike Jackson
Thanks,
it helped, but now I get :
Linking C executable ds309
/usr/bin/ld: cannot find -llibconfuse
collect2: ld returned 1 exit status
and the lib is defenetly there. I assume it is not cmake related but do you
still have an idea ?
Many Thanks
Reinhard
On Sunday, 15. February 2009 16:41:53
2009/2/15 Reinhard Thies reinhard.th...@web.de:
Thanks,
it helped, but now I get :
Linking C executable ds309
/usr/bin/ld: cannot find -llibconfuse
collect2: ld returned 1 exit status
and the lib is defenetly there. I assume it is not cmake related but do you
still have an idea ?
I
Thanks,
it works beautifull now ;-)
Reinhard
On Sunday, 15. February 2009 19:29:17 Eric Noulard wrote:
2009/2/15 Reinhard Thies reinhard.th...@web.de:
Thanks,
it helped, but now I get :
Linking C executable ds309
/usr/bin/ld: cannot find -llibconfuse
collect2: ld returned 1 exit
Doh.. Sorry about that. Eric. Thanks for the pick up on that.
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer Dayton, Ohio