[gecode-users] Fwd: Gecode Install Question

Markus Böhm markus.boehm at googlemail.com
Fri May 8 06:41:04 CEST 2009


Christian tx. It works now. My stupid mistake. I thought somehow it's
reading the system variable.Once I replaced <GECODEDIR> with full path, but
obviously wrong.
Markus


2009/5/7 Christian Schulte <cschulte at kth.se>

 It looks as if you took us a little bit too literally: The compiler is
> invoked with /I <GECODEDIR>. You have to replace GECODEDIR with the proper
> path on your system! That should be something like C:\Program Files\gecode
> or so. I agree that the doc is a little unclear on that aspect.
>
>
>
> Hope that helps
>
> Christian
>
>
>
> --
>
> Christian Schulte, www.it.kth.se/~cschulte/
>
>
>
> *From:* users-bounces at gecode.org [mailto:users-bounces at gecode.org] *On
> Behalf Of *Markus Böhm
> *Sent:* Thursday, May 07, 2009 1:31 PM
> *To:* gecode list
> *Subject:* [gecode-users] Gecode Install Question
>
>
>
> 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)
>
>
>


-- 
-- Markus



-- 
-- Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20090508/cac3a6d5/attachment.htm>


More information about the gecode-users mailing list