Hi, Finally i compile succesfully GECODE on Windows 7 using cl and cygwing. now, i try to link my solution with GECODE, following these steps http://www.gecode.org/doc-latest/reference/PageUsage.html when i build my solution, i get this output:
1>------ Build started: Project: GECODE, Configuration: Release Win32 ------ 1> money.cpp 1>D:\app\Cygwin\usr\local\include\gecode/support/exception.hpp(46): warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'Gecode::Exception' 1> D:\app\Microsoft Visual Studio 10.0\VC\include\exception(94) : see declaration of 'std::exception' 1> D:\app\Cygwin\usr\local\include\gecode/support/exception.hpp(46) : see declaration of 'Gecode::Exception' 1>D:\app\Cygwin\usr\local\include\gecode/driver/options.hpp(319): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) 1>money.cpp(66): warning C4355: 'this' : used in base member initializer list 1>D:\app\Cygwin\usr\local\include\gecode/support/heap.hpp(351): warning C4345: behavior change: an object of POD type constructed with an initializer of the form () will be default-initialized 1> D:\app\Cygwin\usr\local\include\gecode/support/heap.hpp(369) : see reference to function template instantiation 'T *Gecode::Heap::alloc<Gecode::DFA::Transition>(unsigned long)' being compiled 1> with 1> [ 1> T=Gecode::DFA::Transition 1> ] 1> D:\app\Cygwin\usr\local\include\gecode/int/extensional/dfa.hpp(87) : see reference to function template instantiation 'T *Gecode::Heap::alloc<Gecode::DFA::Transition>(int)' being compiled 1> with 1> [ 1> T=Gecode::DFA::Transition 1> ] 1>LIBCMT.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _winm...@16 1>C:\Users\Steven Augusto\Documents\Visual Studio 2010\Projects\GECODE\Release\GECODE.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== any hints about the problem?? _______________________________________________ Gecode users mailing list [email protected] https://www.gecode.org/mailman/listinfo/gecode-users
