MCHSL / extools

Various extensions for the BYOND game engine.
MIT License
29 stars 41 forks source link

Allow cross-compiling from Linux with MinGW #5

Closed SpaceManiac closed 4 years ago

SpaceManiac commented 4 years ago

I have no idea if it works, but it does build.

mkdir build
cd build
cmake ../byond-extools/ -DCMAKE_TOOLCHAIN_FILE=../byond-extools/cmake/i686-w64-mingw32.cmake
make
ghost commented 4 years ago
runtime error: Unable to load library byond-extools.dll
proc name: New (/world/New)
  source file: extools_testing.dm,74
  usr: null
  src: world
  call stack:
world: New()
steam@magrathea:/mnt/d/Code/C++/extools/byond-extools/build-linux$ file byond-extools.dll
byond-extools.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows