[gecode-users] Compilation error

anusha rani anusha.maneru at gmail.com
Fri Mar 26 09:27:11 CET 2010


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 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
_WinMain at 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 <anusha.maneru at gmail.com>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.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20100326/4208495a/attachment.htm>


More information about the users mailing list