Closed tillkamppeter closed 2 years ago
To the line 31 of the Makefile, LIBS = ... at the end needs to get added -lm so that the pow() function works.
LIBS = ...
-lm
pow()
--- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ CSFLAGS = -s "$${CODESIGN_IDENTITY:=-}" --timestamp -o runtime CFLAGS = $(CPPFLAGS) $(OPTIM) CPPFLAGS = '-DVERSION="$(VERSION)"' `pkg-config --cflags cups` `pkg-config --cflags pappl` $(OPTIONS) LDFLAGS = $(OPTIM) `cups-config --ldflags` -LIBS = `pkg-config --libs pappl` `pkg-config --libs cups` +LIBS = `pkg-config --libs pappl` `pkg-config --libs cups` -lm OPTIM = -Os -g # Uncomment the following line to enable experimental PCL 6 support #OPTIONS = -DWITH_PCL6=1
Dupe of #18
To the line 31 of the Makefile,
LIBS = ...
at the end needs to get added-lm
so that thepow()
function works.