View Single Post
Old 11 January 2018, 13:57   #48
Registered User

Daedalus's Avatar
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 3,507
Type not found means there's a Newtype definition missing. These are essentially the same as structs in C, and are used extensively when using the OS directly, including the .List and .Node types that this example uses. The structs for most OS purposes are already defined and stored in an external "resident" file, which means you just have to add that file to your compiler settings and all those definitions will automatically be available. To do this:

- Open Compiler settings (or Compiler options, depending on your editor)
- Enter a new line in the Residents list containing Blitzlibs:amigalibs.res

Save your file, recompile and it should work. If it doesn't work, there may be some other definitions file that you're missing, but that should be documented in the readme for the source.
Daedalus is online now  
Page generated in 0.04008 seconds with 11 queries