Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile error when building Tilengine
#18
Good to know about that test project.

Moving on to the samples. When I open Samples.sln (in the samples folder) and try to build I get the following compile error:

1>C:\Tilengine\Tilengine-master\samples\Simon.c(1,10): fatal error C1083: Cannot open include file: 'Tilengine.h': No such file or directory

So I changed "Additional Include Directories" from ..\..\include to ..\include

Then I got a linker error:

1>LINK : fatal error LNK1104: cannot open file 'Tilengine.lib'

So I changed "Additional Library Directories" from ..\..\lib to ..\lib

Then I could build successfully.

When I try to run I get a message about missing .dll's

I fixed this by copying the required dll's to the folder of the executable. When I run the executable (barrel.exe) a window is created that is red. In the console window I get a lot of error messages: "
Tilengine: Invalid object address is 00000000
Tilengine: Invalid Palette reference
Tilengine: Invalid object address is 00000000
Tilengine: Invalid Palette reference
Tilengine: Invalid object address is 00000000
Tilengine: Invalid Palette reference
Tilengine: Invalid object address is 00000000
Tilengine: Invalid Palette reference
Tilengine: Invalid object address is 00000000
Tilengine: Invalid Palette reference
Tilengine: Invalid object address is 00000000
Tilengine: Invalid Palette reference"

etc.
Reply


Messages In This Thread
RE: Compile error when building Tilengine - by Motherbrain - 12-17-2020, 08:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)