Open s-c-e opened 5 years ago
The member function "solve" of CbcSolver? is missing, and so the "new style solver" example is not working.
falk@baltrum:/src/coin-Cbc/Cbc/examples% g++ driver4.cpp -I/home/falk/opt/cbc/include/coin/ -L/home/falk/opt/cbc/lib -lpthread -lCbcSolver -lCbc -lCgl -lClp -lCoinUtils -lOsiClp -lOsi -lz -lrt -lbz2 (works OK) falk@baltrum:/src/coin-Cbc/Cbc/examples% g++ -DNEW_STYLE_SOLVER driver4.cpp -I/home/falk/opt/cbc/include/coin/ -L/home/falk/opt/cbc/lib -lpthread -lCbcSolver -lCbc -lCgl -lClp -lCoinUtils -lOsiClp -lOsi -lz -lrt -lbz2 /tmp/ccdkpNuT.o: In function `main': driver4.cpp:(.text+0x484): undefined reference to `CbcSolver::solve(int, char const**, int)' collect2: ld returned 1 exit status
The member function "solve" of CbcSolver? is missing, and so the "new style solver" example is not working.