coin-or / OBOE

OBOE (Oracle Based Optimization Engine) is an open source software for general convex optimization.
Other
0 stars 2 forks source link

some problems with missing -I gcc options #6

Open svigerske opened 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: @ycollet

Original creation time: 2009-09-14 09:04:54

Assignee: somebody

Version:

Some $(OBOE_INCLUDES) must be added to INCLUDES in Makefile.am (in src/UI, src/Oracles for example).

svigerske commented 5 years ago

Comment by @nsawhney68 created at 2010-02-06 17:40:12

Please provide more detail as what is the problem that you see.

svigerske commented 5 years ago

Comment by @nsawhney68 created at 2010-02-06 17:43:15

Changing assignee from somebody to @nsawhney68.

svigerske commented 5 years ago

Comment by @nsawhney68 created at 2010-02-06 18:29:52

Changing status from new to assigned.

svigerske commented 5 years ago

Comment by axjiang created at 2010-05-21 23:06:21

I've had similar problems; e.g. my lapackpp header files are installed in /usr/local/include/lapackpp, this directory is in $(OBOE_INCLUDES) but does not seem to be in INCLUDES. This results in compile errors for e.g. src/Oracles.

svigerske commented 5 years ago

Comment by @nsawhney68 created at 2010-05-25 08:25:26

(Duplicated in Ticket#10)

This is problem with lapackpp installation, if you do classic installation and install it in /usr direcotries it creates the structure you describe the .h files are in /include/lapackpp but if the user does an installation in their local directory by using the --prefix option the installation puts the .h files in /include. Since the installation of lapackpp is independent of OBOE, its possible the user needs to make few modifications. We have assumed the installation to be in a local directory as all users need to have authority to install lapackpp in a standard directory.

We would recommend creating a link to the .h file in the include directory so as to avoid modifying all the Makefiles.