Guido Tack wrote:
Luis Quesada wrote:
I am specifying this location:
[EMAIL PROTECTED]:/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:
[EMAIL PROTECTED]:/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
|
|
_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users