Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Compile error when building Tilengine
Post: RE: Compile error when building Tilengine
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\sa... |
|
Motherbrain |
Support
|
18 |
29,138 |
12-17-2020, 08:39 AM |
|
|
Thread: Compile error when building Tilengine
Post: RE: Compile error when building Tilengine
Please note that I'm not writing my own code (yet). I'm just trying to compile and run the source code from Github as is, following the instructions from README.md |
|
Motherbrain |
Support
|
18 |
29,138 |
12-17-2020, 07:58 AM |
|
|
Thread: Compile error when building Tilengine
Post: RE: Compile error when building Tilengine
This is from main.c in the test project (that I downloaded from github):
Code:
--
/* test layer */
tilemap = TLN_LoadTilemap("dummy", NULL);
for (c = 0; c < 2; c++)
{
TLN_SetLayer(0, NULL, tilemap)... |
|
Motherbrain |
Support
|
18 |
29,138 |
12-17-2020, 07:48 AM |
|
|
Thread: Compile error when building Tilengine
Post: RE: Compile error when building Tilengine
Next step... trying to build and run the test project in Tilengine.sln
Building was successful. I've copied all the required .dll's to the folder where test.exe is located (i.e. Tilengine-master\De... |
|
Motherbrain |
Support
|
18 |
29,138 |
12-17-2020, 03:33 AM |
|
|
Thread: Compile error when building Tilengine
Post: RE: Compile error when building Tilengine
megamarc Wrote: (12-17-2020, 01:08 AM)
--
Hi,
Those errors are from libpng complaining about not finding zlib implementation. Putting zlib headers is one part of the solution, but there must be the ... |
|
Motherbrain |
Support
|
18 |
29,138 |
12-17-2020, 03:18 AM |
|
|
Thread: Compile error when building Tilengine
Post: RE: Compile error when building Tilengine
These are all the steps I took:
Select “Download ZIP” from https://github.com/megamarc/Tilengine (https://github.com/megamarc/Tilengine)
Extract Tilengine-master.zip
Download https://www.libsdl.org... |
|
Motherbrain |
Support
|
18 |
29,138 |
12-16-2020, 11:01 PM |
|
|
Thread: Compile error when building Tilengine
Post: RE: Compile error when building Tilengine
When opening the Tilengine solution for the first time I got an message about retarget projects.
Please see the attached screenshot. |
|
Motherbrain |
Support
|
18 |
29,138 |
12-16-2020, 10:51 PM |
|
|
Thread: Compile error when building Tilengine
Post: RE: Compile error when building Tilengine
megamarc Wrote: (12-16-2020, 08:31 AM)
--
For a small donation you can download the required dependencies from itch.io, along prebuilt binaries:
https://megamarc.itch.io/tilengine
The base GitHub... |
|
Motherbrain |
Support
|
18 |
29,138 |
12-16-2020, 10:44 PM |
|
|
Thread: Compile error when building Tilengine
Post: RE: Compile error when building Tilengine
Thank you System64. I've followed your steps and that solved the compile errors, but now I get linker errors. Here is the output:
Rebuild started...
1>------ Rebuild All started: Project: Tilengin... |
|
Motherbrain |
Support
|
18 |
29,138 |
12-16-2020, 10:40 PM |
|
|
Thread: Compile error when building Tilengine
Post: Compile error when building Tilengine
Hi,
I just found out about Tilengine and it looks really promising.
However, when I try to build the Tilengine project (Windows 10, Visual Studio 2019, Win32, debug) I get a compile error:
1>C:\Til... |
|
Motherbrain |
Support
|
18 |
29,138 |
12-16-2020, 07:19 AM |