Please make sure that you first try a pristine program that is included in
"Modeling with Gecode". Only after you got that to compile move on to your
on stuff.

 

The reason could be either: you forgot a main function in your program, or
you have still wrong compiler options (for linking, or you forgot /MD or
/MDd). So more reading in that case.

 

Christian

 

--

Christian Schulte, www.ict.kth.se/~cschulte/

 

From: [email protected] [mailto:[email protected]] On Behalf
Of anusha rani
Sent: Friday, March 26, 2010 9:27 AM
To: [email protected]
Subject: Re: [gecode-users] Compilation error

 

Hi Mikael, 

 

Now i have solved problem with includes. But i am getting another error. I
have gone through all the instructions at www.gecode.org
<http://www.gecode.org/>  and the pdf document but i can't resolve this
problem 

 

1>------ Build started: Project: sendmoney, Configuration: Debug Win32
------1>Linking...

1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol
_winm...@16 referenced in function ___tmainCRTStartup

1>Debug\sendmoney.exe : fatal error LNK1120: 1 unresolved externals

1>Build log was saved at "file://c:\Program
Files\Gecode\include\CPLUS\Debug\BuildLog.htm"

1>sendmoney - 2 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Tack så mycket,

MVH

Anusha.

On Thu, Mar 25, 2010 at 11:09 PM, anusha rani <[email protected]>
wrote:

Hi 

 

I am trying to compile and run send-more-money.cpp. I have installed Gecode
3.3.2 and configured it on Visual c++ 2008. But i m getting the following
error. 

 

1>------ Build started: Project: sendmoremoney, Configuration: Debug Win32
------

1>Compiling...

1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and
will be removed in a future release

1>send-more-money.cpp

1>.\send-more-money.cpp(28) : fatal error C1083: Cannot open include file:
'gecode/int.hh': No such file or directory

1>Build log was saved at "file://c:\cygwin\CPLUS\Debug\BuildLog.htm"

1>sendmoremoney - 1 error(s), 1 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

Could you help me to find out where i am doing worng ? 

Thanks in advance

MVH

Anusha.

 

 

 

_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to