Impossible to include an osi header

Bug #520538 reported by christophe-marie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
coinor-osi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Release: 9.10
On package: coinor-libosi-dev

Steps to reproduce:
- install coinor-libosi-dev
- install the g++ compiler

Try to compile the following example:

$ cat test.cpp
#include <coin/OsiSolverInterface.hpp>
int main (int argc, char ** argv)
{
    return 0;
}
$ g++ test.cpp -o test

You'll get a bunch of errors.

The same example compiles nicely on my archlinux laptop.

I have no special settings, I do not override PATH nor LD_LIBRARY_PATH or any other variable (I did this test with a clean "just installed" distro).

Revision history for this message
christophe-marie (duquesnc) wrote :
Revision history for this message
christophe-marie (duquesnc) wrote :

For the users getting the same problem, installing osi from their svn repository temporarily solves this issue (be careful, their configure scripts are ugly and almost force you to install it locally. You should avoid trying to fight these scripts and install it locally using --prefix=$OSI_HOME, OSI_HOME being the directory where you downloaded osi - most likely ~/coin-osi if you followed the instructions of their website) and add the options "-I $OSI_HOME/include -L$OSI_HOME/lib -lOsi -lCoinUtils" to your g++ compilation options.

Revision history for this message
christophe-marie (duquesnc) wrote :

Could someone this behavior? I provided short instructions to reproduce the bug and it's only a 5 lines cpp file to try to compile.

Best regards,
Christophe-Marie

Revision history for this message
Paul Tagliamonte (paultag) wrote :

Fixed in v. 0.103.0-1

Much love!

Changed in coinor-osi (Ubuntu):
status: New → Fix Released
Revision history for this message
Paul Tagliamonte (paultag) wrote :

Sorry, 0.106.4-1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.