Page 1 of 1

#PDFERR_FORMAT constant not found

Posted: Mon Mar 30, 2026 9:43 pm
by Juan Carlos
I have this problem with Linux " Constant #PDFERR_FORMAT not found! this problem is missing on Windows, MorphOS but in Linux, yeah, some idea whey this problem?

Re: #PDFERR_FORMAT constant not found

Posted: Tue Apr 14, 2026 5:22 pm
by airsoftsoftwair
You're probably using the "light" flavour of the PDF plugin, i.e. pdf-lite instead of pdf. #PDFERR_FORMAT is only available in the full version of the plugin.

Re: #PDFERR_FORMAT constant not found

Posted: Thu Apr 16, 2026 11:45 am
by Juan Carlos
No, I are using the normal PDF plugin, in fact the program under Windows and MorphOS runs fine, only on Linux Mint gives me this problem when I compile the program GrimoriumPDF.

Re: #PDFERR_FORMAT constant not found

Posted: Sun Apr 19, 2026 9:39 pm
by airsoftsoftwair
That's strange. So this MCVE doesn't work on Linux for you?

Code: Select all

@REQUIRE "pdf"
DebugPrint(#PDFERR_FORMAT)

Re: #PDFERR_FORMAT constant not found

Posted: Mon Apr 20, 2026 11:01 am
by Juan Carlos
No, your simple code doesn't work, again shows the window mistake wit the same message:
Constant #PDFERR_FORMAT constant not found!
File: Test.hws (current line 2)

Re: #PDFERR_FORMAT constant not found

Posted: Fri Apr 24, 2026 7:30 pm
by airsoftsoftwair
My MCVE works fine here on Ubuntu. What Linux are you on? Have you checked if pdf.hwp even loads on your Linux?