A build error happens while building fimg2pnm :
gcc -Wall -fpic -g -DDEBUG_LEVEL=0 -lm fimg2pnm.c ../libfloatimg.a -o fimg2pnm /usr/bin/ld : ../libfloatimg.a(fimg-math.o) : dans la fonction « fimg_get_maxvalue » : /home/fgirault/Temp/floatimg/lib/fimg-math.c:27 : référence indéfinie vers « nanf » collect2: error: ld returned 1 exit status make: *** [Makefile:37 : fimg2pnm] Erreur 1 === error on tools = 2
Got it: "-lm" shall appears the end like this:
gcc -Wall -fpic -g -DDEBUG_LEVEL=0 fimg2png.c ../libfloatimg.a -lpnglite -lz -lm -o fimg2png
And all works fine ...
well spotted
20e2f1e..77e967c master -> master
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?
A build error happens while building fimg2pnm :
Got it: "-lm" shall appears the end like this:
And all works fine ...
well spotted
20e2f1e..77e967c master -> master