[Scip] Linking error in Windows

Shahin Gelareh shahin.gelareh at gmail.com
Sat Oct 5 20:32:02 CEST 2013


Dear Scippers

I successfully compile the VRP on VS2010 windows  but during the linking
process I get  the error message below.

It seems like e.g. "SCIPinfinity " is not known even when I add the header
file containing it. Also some other external symbols are not found.
The code is compiled as C++ in VS2010.
is there any compiled flag to be set? any preprocessor?

I appreciate the constructive comments.

kind regards,
Shahin

1>------ Build started: Project: VRP, Configuration: Debug Win32 ------
1>main_vrp.obj : error LNK2019: unresolved external symbol
_BMScheckEmptyMemory_call referenced in function _main
1>main_vrp.obj : error LNK2019: unresolved external symbol "enum
SCIP_Retcode __cdecl SCIPincludeObjPricer(struct Scip *,class
scip::ObjPricer *,unsigned int)" (?SCIPincludeObjPricer@@YA?AW4SCIP_Retcode@
@PAUScip@@PAVObjPricer at scip@@I at Z) referenced in function _main
1>main_vrp.obj : error LNK2019: unresolved external symbol _SCIPinfinity
referenced in function _main
1>pricer_vrp.obj : error LNK2001: unresolved external symbol _SCIPinfinity
1>pricer_vrp.obj : error LNK2019: unresolved external symbol
_BMSduplicateMemory_call referenced in function "public: __thiscall
scip::ObjPricer::ObjPricer(struct Scip *,char const *,char const
*,int,unsigned int)" (??0ObjPricer at scip@@QAE at PAUScip@@PBD1HI at Z)
1>pricer_vrp.obj : error LNK2019: unresolved external symbol
_BMSfreeMemory_call referenced in function "public: virtual __thiscall
scip::ObjPricer::~ObjPricer(void)" (??1ObjPricer at scip@@UAE at XZ)
1>pricer_vrp.obj : error LNK2019: unresolved external symbol
_SCIPisNegative referenced in function "public: enum SCIP_Retcode
__thiscall ObjPricerVRP::pricing(struct Scip *,bool)" (?pricing at ObjPricerVRP
@@QAE?AW4SCIP_Retcode@@PAUScip@@_N at Z)
1>pricer_vrp.obj : error LNK2019: unresolved external symbol
_SCIPvarGetUbLocal referenced in function "protected: bool __thiscall
ObjPricerVRP::have_edge(int,int)const " (?have_edge at ObjPricerVRP@@IBE_NHH at Z)
1>D:\work\codes\SCIP\scipoptsuite-3.0.1\scip-3.0.1\examples\VRP\Debug\VRP.exe
: fatal error LNK1120: 7 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20131005/fb88eabc/attachment.html>


More information about the Scip mailing list