[Debian-med-packaging] Cmake help needed: Fails to find check.h and ieeefp.h

Andreas Tille andreas at an3as.eu
Mon Dec 3 19:25:46 GMT 2018


Hi Ferenc,

thanks a lot for your helpful hints which solved at least half of
my problem.

On Mon, Dec 03, 2018 at 07:46:30PM +0100, Ferenc Wágner wrote:
> Andreas Tille <andreas at an3as.eu> writes:
> 
> > I explicitly added "Build-Depends: libnewlib-dev" und thus there is
> >
> > find /usr/include -name ieeefp.h
> > /usr/include/newlib/ieeefp.h
> > /usr/include/newlib/machine/ieeefp.h
> 
> Use #include <newlib/ieeefp.h> or pass -Inewlib to the compiler (I don't
> know whether that's a good idea).

How to pass -Inewlib option to the

   check_include_files (ieeefp.h HAVE_IEEEFP_H)

specifically in a way that it persists for resulting commands to finally
build the code?
 
> > I have no idea what check.h is seeked in src/CMakeLists.txt which has
> 
> Have you got the 'check' package installed?

I've added it to Build-Depends and that error vanished now.

Kind regards

       Andreas. 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list