Now I got examples folder running.
But when I tried my own project it gave errors nearly for every method.
Then I noticed that examples have the statement:
public class Money extends Space {...}
whereas I have - though I dont why or the difference between:
public class Project extends Gecode {..}
when I changed from extends Gecode to extends Space erros downed to 1.
can not find symbol lex (this, matrix.row(2), IRT_LE, matrix.row(3) );
I import:
import static org.gecode.Gecode.*;
import static org.gecode.GecodeEnumConstants.*;
import org.gecode.*;
it ,somehow, yells for lex?
From: "Mikael Zayenz Lagerkvist" <[EMAIL PROTECTED]>
To: "penche21 penche21" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [gecode-users] installation
Date: Mon, 19 Mar 2007 06:30:27 +0100
Hi,
If you install Gecode via the MSI provided on our web page, then you
get the option to install Gecode/J also. Thus, you do not need to
install the gecodej-package. Note that we updated the MSI Tuesday last
week since there was a small problem with the old installer.
The Jar-file for Gecode/J (which now is called GecodeJ.jar and not
GecodeJava.jar) is installed in the extensions directory of Java,
which means that you do not need to supply a classpath since the
Jar-files in this directory are automatically loaded.
As for VarMatrix<IntVar>, it is in org.gecode, so either importing
org.gecode.* or org.gecode.VarMatrix should find it. If you still
experience problems using the class, please tell us.
Hope this helps,
Mikael
On 3/19/07, penche21 penche21 <[EMAIL PROTECTED]> wrote:
Hi,
- I was using GecodeJ via ssh using a server that gecode has already been
installed. Everything was fine until I used VarMatrix<IntVar>. Then I
started to get "cannot find symbol symbol : class VarMatrix" error. I
dont
know which do we need extra imports to use VarMatrix?
So I decided to install gecodeJ on my windows XP.
- I have Jdk ready and cygwin. I installed gecodeJ.msi and downloaded
gecodej1.0.1.zip.
Under cygwin I export the path where it is installed;
export LD_LIBRARY_PATH=/cygdrive/c/Program\
Files/Gecode/lib:$LD_LIBRARY_PATH
. Then to javac with -cp options I cant see where should be the
GecodeJava.jar file. It is not in gecodej1.0.1.zip neither in the
installed
Gecode folder.
. Is there anything more I need to make gecodeJ run.
. any comments on the error of VarMatrix.
Cheers,
penche
_________________________________________________________________
Yagmura yakalanmamak için sadece semsiyenize degil, MSN hava durumuna
güvenin! http://www.msn.com.tr/havadurumu/
_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users
--
Mikael Zayenz Lagerkvist, http://www.ict.kth.se/~zayenz/
_________________________________________________________________
En etkili ve güvenilir PC Korumayi tercih edin, rahat edin!
http://www.msn.com.tr/security/
_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users