[Coin-discuss] SbbSampleSample2 project file

J P Fasano jpfasano at us.ibm.com
Sun Dec 21 00:13:14 EST 2003




>The bat file did not start Visual Studio.
Perhaps the name of the executable file that starts Visual Studio .Net is
different from the Visual Studio Version 6's name.
Or it is possible that it was stored in some other location.
Or is is possible that the location of the executable file is not in your
path.

> (there are now 46 build errors), but even when I  add the hpp file
associated with a
>given symbols, the  corresponding error remains. Many thanks for helping.
I would start smaller and build up to SbbSamplesSample2.dsp.
I think this would make it easier to identify what component is causing the
problem.
Can you:
-build coinLib?
-build and run coinUnitTest?
-build clpLib?
-build and run clpUnitTest?
-build cglLib?
-build osiClpLib?
-build osiLib?
-build and run osiUnitTest?
-build sbbLib?

>link errors concerning undefined external symbols. tried   to. add the hpp
files
I don't think adding hpp files will resolve link time errors.
You should look into adding the libraries which contain the unresolved
symbols to the link step.

JP Fasano
jpfasano at us.ibm.com
(914)945-1324  (tie line 862-1324)
COIN www.coin-or.org


|---------+------------------------------------------------>
|         |           "Gabrielle  A. Grün" <grun at cs.sfu.ca>|
|         |           Sent by:                             |
|         |           coin-discuss-admin at www-124.southbury.|
|         |           usf.ibm.com                          |
|         |                                                |
|         |                                                |
|         |           12/20/2003 11:10 PM                  |
|         |           Please respond to coin-discuss       |
|---------+------------------------------------------------>
  >----------------------------------------------------------------------------------------------|
  |                                                                                              |
  |       To:       coin-discuss at www-124.southbury.usf.ibm.com                                   |
  |       cc:                                                                                    |
  |       Subject:  [Coin-discuss] SbbSampleSample2 project file                                 |
  >----------------------------------------------------------------------------------------------|





HI All,

I checked readme.txt in  COIN/Win,  and I tried the
COIN\Win\startMsDevStudio.bat. The bat file did not start Visual Studio.  I
opened the project file SbbSamplesSample2.dsp and converted it from a
Microsoft  Visual C++ version 6 project file to a ,net project file
(SbbSamplesSample2.vcproj). I then attempted to build the project, but
there were 140 build errors, link errors concerning undefined external
symbols. tried   to. add the hpp files where these symbols were defined by
Adding an existing item under Project. This helped to a certain extent
(there are now 46 build errors), but even when I  add the hpp file
associated with a given symbols, the  corresponding error remains. Many
thanks for helping.



-------------------------




SbbSamplesSample2 warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
virtual __thiscall OsiClpSolverInterface::~OsiClpSolverInterface(void)"
(??1OsiClpSolverInterface@@UAE at XZ) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall SbbModel::~SbbModel(void)" (??1SbbModel@@QAE at XZ) referenced in
function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
virtual __thiscall CglProbing::~CglProbing(void)" (??1CglProbing@@UAE at XZ)
referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
virtual __thiscall CglGomory::~CglGomory(void)" (??1CglGomory@@UAE at XZ)
referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
virtual __thiscall CglKnapsackCover::~CglKnapsackCover(void)"
(??1CglKnapsackCover@@UAE at XZ) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
virtual __thiscall CglOddHole::~CglOddHole(void)" (??1CglOddHole@@UAE at XZ)
referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
virtual __thiscall SbbRounding::~SbbRounding(void)"
(??1SbbRounding@@UAE at XZ) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall SbbModel::originalModel(class SbbModel *,bool)"
(?originalModel at SbbModel@@QAEXPAV1 at _N@Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall SbbModel::branchAndBound(void)"
(?branchAndBound at SbbModel@@QAEXXZ) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: class
SbbModel * __thiscall SbbModel::integerPresolve(bool)"
(?integerPresolve at SbbModel@@QAEPAV1 at _N@Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CoinMessageHandler::setLogLevel(int)"
(?setLogLevel at CoinMessageHandler@@QAEXH at Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall SbbModel::setNumberStrong(int)"
(?setNumberStrong at SbbModel@@QAEXH at Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall SbbModel::initialSolve(void)" (?initialSolve at SbbModel@@QAEXXZ)
referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall SbbModel::addHeuristic(class SbbHeuristic *)"
(?addHeuristic at SbbModel@@QAEXPAVSbbHeuristic@@@Z) referenced in function
_main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall SbbRounding::SbbRounding(class SbbModel &)"
(??0SbbRounding@@QAE at AAVSbbModel@@@Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall SbbModel::addCutGenerator(class CglCutGenerator *,int,char const
*,bool,bool,bool)"
(?addCutGenerator at SbbModel@@QAEXPAVCglCutGenerator@@HPBD_N22 at Z) referenced
in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CglOddHole::setMaximumEntries(int)"
(?setMaximumEntries at CglOddHole@@QAEXH at Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CglOddHole::setMinimumViolationPer(double)"
(?setMinimumViolationPer at CglOddHole@@QAEXN at Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CglOddHole::setMinimumViolation(double)"
(?setMinimumViolation at CglOddHole@@QAEXN at Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall CglOddHole::CglOddHole(void)" (??0CglOddHole@@QAE at XZ) referenced
in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall CglKnapsackCover::CglKnapsackCover(void)"
(??0CglKnapsackCover@@QAE at XZ) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CglGomory::setLimit(int)" (?setLimit at CglGomory@@QAEXH at Z)
referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall CglGomory::CglGomory(void)" (??0CglGomory@@QAE at XZ) referenced in
function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CglProbing::setRowCuts(int)" (?setRowCuts at CglProbing@@QAEXH at Z)
referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CglProbing::setMaxLook(int)" (?setMaxLook at CglProbing@@QAEXH at Z)
referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CglProbing::setMaxProbe(int)" (?setMaxProbe at CglProbing@@QAEXH at Z)
referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CglProbing::setMaxPass(int)" (?setMaxPass at CglProbing@@QAEXH at Z)
referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall CglProbing::setUsingObjective(bool)"
(?setUsingObjective at CglProbing@@QAEX_N at Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall CglProbing::CglProbing(void)" (??0CglProbing@@QAE at XZ) referenced
in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: void
__thiscall ClpSimplex::setDualBound(double)"
(?setDualBound at ClpSimplex@@QAEXN at Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: class
ClpSimplex * __thiscall OsiClpSolverInterface::getModelPtr(void)const "
(?getModelPtr at OsiClpSolverInterface@@QBEPAVClpSimplex@@XZ) referenced in
function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall SbbModel::SbbModel(class OsiSolverInterface const &)"
(??0SbbModel@@QAE at ABVOsiSolverInterface@@@Z) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall OsiClpSolverInterface::OsiClpSolverInterface(void)"
(??0OsiClpSolverInterface@@QAE at XZ) referenced in function _main
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall SbbBranchDecision::SbbBranchDecision(void)"
(??0SbbBranchDecision@@QAE at XZ) referenced in function "public: __thiscall
SbbBranchUserDecision::SbbBranchUserDecision(void)"
(??0SbbBranchUserDecision@@QAE at XZ)
SbbSamplesSample2 error LNK2001: unresolved external symbol "public:
virtual int __thiscall SbbBranchDecision::bestBranch(class
SbbBranchingObject * *,int,int,double *,int *,double *,int *,double)"
(?bestBranch at SbbBranchDecision@@UAEHPAPAVSbbBranchingObject@@HHPANPAH12N at Z)
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
virtual __thiscall SbbBranchDecision::~SbbBranchDecision(void)"
(??1SbbBranchDecision@@UAE at XZ) referenced in function "public: virtual void
* __thiscall SbbBranchDecision::`scalar deleting destructor'(unsigned int)"
(??_GSbbBranchDecision@@UAEPAXI at Z)
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
virtual __thiscall SbbHeuristic::~SbbHeuristic(void)"
(??1SbbHeuristic@@UAE at XZ) referenced in function
__unwindfunclet$??0SbbLocalSearch@@QAE at XZ$0
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall CoinPackedMatrix::CoinPackedMatrix(void)"
(??0CoinPackedMatrix@@QAE at XZ) referenced in function "public: __thiscall
SbbLocalSearch::SbbLocalSearch(void)" (??0SbbLocalSearch@@QAE at XZ)
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall SbbHeuristic::SbbHeuristic(void)" (??0SbbHeuristic@@QAE at XZ)
referenced in function "public: __thiscall
SbbLocalSearch::SbbLocalSearch(void)" (??0SbbLocalSearch@@QAE at XZ)
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
virtual __thiscall CoinPackedMatrix::~CoinPackedMatrix(void)"
(??1CoinPackedMatrix@@UAE at XZ) referenced in function
__unwindfunclet$??0SbbLocalSearch@@QAE at AAVSbbModel@@@Z$0
SbbSamplesSample2 error LNK2019: unresolved external symbol "public: class
CoinPackedMatrix & __thiscall CoinPackedMatrix::operator=(class
CoinPackedMatrix const &)" (??4CoinPackedMatrix@@QAEAAV0 at ABV0@@Z)
referenced in function "public: __thiscall
SbbLocalSearch::SbbLocalSearch(class SbbModel &)"
(??0SbbLocalSearch@@QAE at AAVSbbModel@@@Z)
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall SbbHeuristic::SbbHeuristic(class SbbModel &)"
(??0SbbHeuristic@@QAE at AAVSbbModel@@@Z) referenced in function "public:
__thiscall SbbLocalSearch::SbbLocalSearch(class SbbModel &)"
(??0SbbLocalSearch@@QAE at AAVSbbModel@@@Z)
SbbSamplesSample2 error LNK2019: unresolved external symbol "public:
__thiscall CoinPackedMatrix::CoinPackedMatrix(class CoinPackedMatrix const
&)" (??0CoinPackedMatrix@@QAE at ABV0@@Z) referenced in function "public:
__thiscall SbbLocalSearch::SbbLocalSearch(class SbbLocalSearch const &)"
(??0SbbLocalSearch@@QAE at ABV0@@Z)
SbbSamplesSample2 error LNK2001: unresolved external symbol "public:
virtual void __thiscall SbbHeuristic::setModel(class SbbModel *)"
(?setModel at SbbHeuristic@@UAEXPAVSbbModel@@@Z)
SbbSamplesSample2 fatal error LNK1120: 44 unresolved externals


Gabrielle A. Grün, Ph.D. Student
School of Computing Science
Simon Fraser University
8888 University Drive
Burnaby, BC
V5A 1S6
<http://www.cs.sfu.ca/~grun>






More information about the Coin-discuss mailing list