Custom Query (122 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (103 - 105 of 122)

Ticket Resolution Summary Owner Reporter
#103 migrated mingw32 cross-compiling cbc fail int stefan ikus060
Description

I do have problem to cross-compile cbc for windows using mingw32 on debian wheezy. On a fresh install, I've proceed as follow:

sudo apt-get install subversion build-essential gcc-mingw-w64 mingw-w64 mingw32
svn co https://projects.coin-or.org/svn/Cbc/stable/2.8 coin-cbc-2.8
cd coin-cbc-2.8
./configure --host=i686-w64-mingw32
make

make failed with the following error:

CoinOslFactorization.cpp: In function 'void* clp_align(void*)':
CoinOslFactorization.cpp:901:5: error: 'int64_t' was not declared in this scope
CoinOslFactorization.cpp:901:15: error: expected ';' before 'k'
CoinOslFactorization.cpp:902:10: error: 'k' was not declared in this scope
CoinFinite.hpp: At global scope:
CoinFinite.hpp:18:14: warning: 'COIN_DBL_MAX' defined but not used [-Wunused-variable]
CoinFinite.hpp:20:14: warning: 'COIN_INT_MAX_AS_DOUBLE' defined but not used [-Wunused-variable]
make[3]: *** [CoinOslFactorization.lo] Error 1
make[3]: Leaving directory `/home/debian/coin-cbc-2.8/CoinUtils/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/debian/coin-cbc-2.8/CoinUtils/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/debian/coin-cbc-2.8/CoinUtils'
make: *** [all-recursive] Error 1

Attached is my config.log

#104 migrated make install fails with DESTDIR and pkg-config stefan mlubin
Description

To reproduce, building OSI, for example:

$ ./configure
$ make
$ mkdir installdir
$ make DESTDIR=`pwd`/installdir install
...
make  install-data-hook
make[4]: Entering directory `/home/mlubin/osi/Osi-0.106.1/CoinUtils'
PKG_CONFIG_PATH=/home/mlubin/osi/Osi-0.106.1/lib64/pkgconfig:/home/mlubin/osi/Osi-0.106.1/lib/pkgconfig:/home/mlubin/osi/Osi-0.106.1/share/pkgconfig:
\
    pkg-config --libs coinutils >
/home/mlubin/osi/Osi-0.106.1/installdir/home/mlubin/osi/Osi-0.106.1/share/coin/doc/CoinUtils/coinutils_addlibs.txt
Package coinutils was not found in the pkg-config search path.
Perhaps you should add the directory containing `coinutils.pc'
to the PKG_CONFIG_PATH environment variable
No package 'coinutils' found

I believe this can be fixed by changing the lines in Osi/Makefile.am from:

if COIN_HAS_PKGCONFIG
    PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
    $(PKG_CONFIG) --libs osi > $(addlibsdir)/osi_addlibs.txt
else

to

if COIN_HAS_PKGCONFIG
    PKG_CONFIG_PATH=$(DESTDIR)/$(pkgconfiglibdir) \
    $(PKG_CONFIG) --libs osi > $(addlibsdir)/osi_addlibs.txt
else

with similar changes in all coin projects.

#105 fixed shared libraries do not properly list dependencies stefan mlubin
Description

Previous discussions:

http://list.coin-or.org/pipermail/coin-discuss/2008-October/003480.html http://list.coin-or.org/pipermail/ipopt/2009-May/001531.html http://list.coin-or.org/pipermail/clp/2012-June/001265.html

Also open as ipopt ticket 115, but this is a more appropriate place.

This affects loading coin libraries from dynamic languages and packaging coin projects for Fedora and Debian.

Note: See TracQuery for help on using queries.