Hi, as a C++/Gecode beginner I hardly dare to ask.
I installed Gecode 3.0.2 via the Windows Installer package on my Windows XP
Prof. System in Path D:\Program Files\Gecode. The System Variable GECODEDIR
is set accordingly.

I installed Visual C++ 2008 Version 9.0.

Then I follow the instructions in chapter 2.3 of your "modelling with
gecode" document. I can successfully compile, link and run the provided Send
More Money sourcecode (of figure 2.1) via the described command line
commands (cl...).

If I alternatively create a new Visual C++ Projekt in the IDE, use the same
"Send More Money" sourcecode and define the additional include directory and
additonal library directory as proposed, then I run into the following
problem.

How can I overcome this? I tried a lot without success.

BR
Markus


Build Log

Build started: Project: FstConstraint, Configuration: Debug|Win32

Command Lines

Creating temporary file
"d:\work\C++Projekte\FstConstraint\FstConstraint\Debug\RSP0000012714825568.rsp"
with contents
[
/Od /I "<GECODEDIR>\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D
"_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\"
/Fd"Debug\vc90.pdb" /W3 /c /ZI /TP ".\SendMoreMoney.cpp"

".\stdafx.cpp"
]
Creating command line "cl.exe
@"d:\work\C++Projekte\FstConstraint\FstConstraint\Debug\RSP0000012714825568.rsp"
/nologo /errorReport:prompt"

Output Window

Compiling...
stdafx.cpp
SendMoreMoney.cpp
d:\work\c++projekte\fstconstraint\fstconstraint\sendmoremoney.cpp(1) :
fatal error C1083: Cannot open include file: 'gecode/int.hh': No such
file or directory
Generating Code...

Results

Build log was saved at
"file://d:\work\C++Projekte\FstConstraint\FstConstraint\Debug\BuildLog.htm"
FstConstraint - 1 error(s), 0 warning(s)
_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to