Package: coinor-libipopt-dev
Version: 3.10.2-1.1
Severity: important

Dear Maintainer,
I have code using IPOpt which I ran up until recently with an
old (3.5.5) hand-compiled version of IPOpt.  Now I am trying
to use the one in Debian (thanks for packaging, btw!), but
I run into a problem: compiling a simple test problem gives
me

g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../..  -I/home/sander/dune/dune-common 
-I/home/sander/dune/dune-geometry -I/home/sander/dune/dune-grid 
-I/home/sander/dune/dune-istl -I/home/sander/dune/dune-localfunctions  
-I../../..    -g -MT quadraticipoptsolvertest-quadraticipoptsolvertest.o -MD 
-MP -MF .deps/quadraticipoptsolvertest-quadraticipoptsolvertest.Tpo -c -o 
quadraticipoptsolvertest-quadraticipoptsolvertest.o `test -f 
'quadraticipoptsolvertest.cc' || echo './'`quadraticipoptsolvertest.cc
In file included from /usr/include/coin/IpJournalist.hpp:15:0,
                 from /usr/include/coin/IpException.hpp:13,
                 from /usr/include/coin/IpTNLP.hpp:14,
                 from ../../../dune/solvers/solvers/quadraticipopt.hh:22,
                 from quadraticipoptsolvertest.cc:18:
/usr/include/coin/IpSmartPtr.hpp:18:4: error: #error "don't have header file 
for stddef"
make: *** [quadraticipoptsolvertest-quadraticipoptsolvertest.o] Fehler 1

The code snippet around the error line is

#ifdef HAVE_CSTDDEF
# include <cstddef>
#else
# ifdef HAVE_STDDEF_H
#  include <stddef.h>
# else
#  error "don't have header file for stddef"
# endif
#endif

Indeed, neither HAVE_CSTDDEF nor HAVE_STDDEF_H is set by a compiler
flag.  I would expect it to be given by pkg-config, but pgk-config
says only

sander@igel:~/dune/dune-grid$ pkg-config --cflags ipopt
-I/usr/include/coin 

Apologies if this is my own fault and not a bug.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coinor-libipopt-dev depends on:
ii  coinor-libipopt1  3.10.2-1.1

coinor-libipopt-dev recommends no packages.

coinor-libipopt-dev suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to