[CMake] Cmake with cminpack

Fabian Torres dae.wong at gmail.com
Wed Nov 23 15:14:03 EST 2011


> Hi
>
> I'm trying to use cminpack. I've downloaded cminpack 1.1.3 and configure
> it with cmake to create a Xcode 3.2 project. After building the xcode
> project successfully I found that it generates a debug directory which
> contains the library or if the shared_libs option in cmake was on or off
> respectively. The examples works fine.
>
> Know I'm creating an Xcode project with Cmake in which I'm going to use
> the cminpack function lmdif1 I attach the CMakelist.txt which I'm using. I
> have no problems in generating the xcode project with CMake, but when I
> build the project I get the next errors
>
> "_dpmpar", referenced from _main ProbeClaibration.o
> "_lmdif1", referenced from _main ProbeCalibration.o
>
> Symbol(s) not found
>
> After some research I found that it may be a problem linking the cminpack
> library.I'm new using CMake and I'm not sure if I`m using the correct
> method to link the cminpack libraries with
> LINK_DIRECTORIES(/opt/cminpack-binary).
>
> I wonder if you can help me figure it out. And also want to know which
> library do you recomend mi to use, the static libcminpack.a lib or the
> dynamic libcminpack.dlyb lib.
>
> Thanks for your help. I`m really stuck on this and I need to solve my
> problem as soon as possible.
>
>
>
> Thanks again
>
>
>


-- 
Fabián Torres Robles
Maestria en Ciencias en Ingeniería Electrónica
Ingeniería en Sistemas Electrónicos
tel. 58081280, 0445534661338
e-mail fabian.trobles at gmail.com, dae.wong at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111123/c9f96290/attachment.htm>


More information about the CMake mailing list