Closed svigerske closed 5 years ago
Comment by @kingaj12 created at 2010-09-27 12:42:20
Andreas - does he have to rerun the config scripts?
Comment by @svigerske created at 2010-11-25 18:40:01
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
Comment by @svigerske created at 2010-11-25 18:40:01
Resolution: fixed
Issue created by migration from Trac.
Original creator: @kingaj12
Original creation time: 2010-09-27 12:41:34
Assignee: @andrea5w
Version: 0.5
Keywords: lib/coin, lib/ThirdParty
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.