[gecode-users] GecodeJ

Luis Quesada l.quesada at 4c.ucc.ie
Wed Apr 4 22:24:30 CEST 2007


Guido Tack wrote:
> Luis Quesada wrote:
>
>> I am specifying this location:
>>
>> root at titanic:/home/luque/GecodeJ/release-1.0.1# ls -l 
>> /home/luque/sources/gecode/gecode-1.3.0/misc/*.pc
>> -rw-r--r-- 1 luque luque 323 2006-10-23 11:59 
>> /home/luque/sources/gecode/gecode-1.3.0/misc/gecode-minimodel.pc
>> -rw-r--r-- 1 luque luque 309 2006-10-23 11:59 
>> /home/luque/sources/gecode/gecode-1.3.0/misc/gecode.pc
>> -rw-r--r-- 1 luque luque 330 2006-10-23 11:59 
>> /home/luque/sources/gecode/gecode-1.3.0/misc/gecode-search.pc
>>
>>
>> The message I am getting is the  following:
>>
>> root at titanic:/home/luque/GecodeJ/release-1.0.1# ./configure 
>> GECODE_LIBS=/home/luque/sources/gecode/gecode-1.3.0/misc/
>
> There are two problem here: first, you have to set PKG_CONFIG_PATH to 
> the place where the *.pc files are installed, and second, you have to 
> install gecode somewhere first.
>
> Typically, if you configure Gecode (not Gecode/J), you can specify the 
> prefix where it is installed. Assuming you did ./configure 
> --prefix=<gecodeprefix> (with some concrete path for <gecodeprefix>) 
> and then make install, you have to set the PKG_CONFIG_PATH environment 
> variable to <gecodeprefix>/lib/pkgconfig. Then configure (in Gecode/J) 
> should find the installed library.
Thanks a lot Guido!

By the way, there is a typo in the documentation:
   
    The examples can be compiled using **make examples**

I think you mean **make javaexamples**

Cheers,
Luis
|
|




More information about the gecode-users mailing list