12-08-2020, 12:00 AM
I think I see the problem.
First, check the syntax, this is incorrect:
-I"../Tilengine.dll"
The -I parameter should not be used here. It is used to include headers, but the dll is a binary.
Biggest problem is that you're using mingw64, that is used to build 64-bit binaries, but you're linking to 32-bit version of Tilengine.dll. You cannot combine executables of different architecture. You must link against 64-bit version of Tilengine.dll.
I wrote the binding when my main development machine was still 32-bit, I haven't tested it with 64-bit compilers... I'll check
First, check the syntax, this is incorrect:
-I"../Tilengine.dll"
The -I parameter should not be used here. It is used to include headers, but the dll is a binary.
Biggest problem is that you're using mingw64, that is used to build 64-bit binaries, but you're linking to 32-bit version of Tilengine.dll. You cannot combine executables of different architecture. You must link against 64-bit version of Tilengine.dll.
I wrote the binding when my main development machine was still 32-bit, I haven't tested it with 64-bit compilers... I'll check