in reply to Re^3: open OBJect file with perl
in thread open OBJect file with perl

Hi Marto, Yes, I experienced the error also after installing libglm-dev package, but The problem resides to the <cmath> header:
infact after I've modified the Makefile.PL (deleted the libglm check part) and after having changed the libglm header path in the .xs file, it appears that the libglm-dev package require <cmath> header which (IDKW) on Ubuntu is not avaiable
Regards,
Edoardo Mantovani, 2020

Replies are listed 'Best First'.
Re^5: open OBJect file with perl
by jcb (Parson) on Dec 09, 2020 at 03:19 UTC

    That is a standard header. If <cmath> is not available, your C++ compiler is broken. This is an Ubuntu problem, not a Perl problem, although it does cause the inability to install that Perl extension as a symptom.

    Please file a bug report at Ubuntu on their broken compiler, if installing build-essential (if I remember the name correctly) does not work. Actually, file a bug report anyway — if installing build-essential (or so) fixes your problem, then libglm-dev is missing a dependency. Both of these situations are Ubuntu bugs.