Opened 9 years ago

Closed 9 years ago

#79 closed defect (fixed)

lib/coin and lib/coin/ThirdParty still survive in some scripts

Reported by: kingaj Owned by: andreasw
Priority: major Component: configuration tests
Version: 0.5 Keywords: lib/coin, lib/ThirdParty
Cc:

Description

there seems to be a small error in the Makefile of Smi/examples/ (trunk rev. 496)

The libraries were installed into lib, not lib/coin and lib/ThirdParty, so I had to change the line CXXLINKFLAGS = -Wl,--rpath -Wl,/home/hans/workbench/smi-trunk/build/lib/coin -Wl,--rpath -Wl,/home/hans/workbench/smi-trunk/build/lib/coin/ThirdParty

to CXXLINKFLAGS = -Wl,--rpath -Wl,/home/hans/workbench/smi-trunk/build/lib

for the linker to work correctly.

Change History (2)

comment:1 Changed 9 years ago by kingaj

Andreas - does he have to rerun the config scripts?

comment:2 Changed 9 years ago by stefan

  • Resolution set to fixed
  • Status changed from new to closed

Hi,

yes.

Problem is, that the last time the autotools were run (https://projects.coin-or.org/Smi/changeset/490/trunk), BuildTools/trunk was used as an external.

At this time, BuildTools had already some of stuff that belongs to recent updates of the build system, including changing the install directories for libraries to lib/coin and installing also thirdparty libraries into lib/coin/ThirdParty.

However, Smi has not been adapted to the new build system yet.

The latter was almost fixed by changing to stables in externals, but autotools were not rerun. I've done so now, so after a make distclean, you should also get correct linker flags in Smi/examples/Makefile again.

Stefan

Note: See TracTickets for help on using tickets.