Page 1 of 1

Miniwood

Posted: Mon Jan 12, 2026 6:37 pm
by root
When I try to compile with miniwood, an error appears:
Constant #KEEPASPRAT not found!
When compiling without Miniwood, there are no errors.

Code: Select all

ScaleBrush(217,"50%",#KEEPASPRAT) 
I couldn't find anything about Miniwood in the manual at short notice.

Edit:
okay, other constants don't work either like #CLIPBOARD_TEXT or #BLUE

Re: Miniwood

Posted: Mon Jan 12, 2026 8:13 pm
by plouf
thats because using miniwood you HAVE to use @USING one by one to every component you are about to use

@USING "graphics"
@USING "brush"
is the absolute minimun based in your code, however every other "missing constant" is another one component need to linked

hollywood 11 manual isnt online yet, but check manual ->miniwood"-> library dependencies to see what else your program needs

provide full working if more problems exist so we can check

Re: Miniwood

Posted: Wed Jan 14, 2026 6:30 pm
by root
Buhahah!
Today I figured out why I couldn't find anything in the documentation. It was from 2016.


But I'm having trouble loading the serializer library.

Code: Select all

@USING	"serializer"
Library "serializer.hwl" cannot be loaded!

Re: Miniwood

Posted: Wed Jan 14, 2026 6:41 pm
by jPV
root wrote: Wed Jan 14, 2026 6:30 pm But I'm having trouble loading the serializer library.
It's "serialize", not ...r. Maybe documentation should be corrected to this... or you could use my script to list correct libs ;) Or check the libs dir on Hollywood for lib names (Hollywood:Libs/ on Amiga).

Re: Miniwood

Posted: Wed Jan 14, 2026 7:36 pm
by root
ok, thx!