1
General / Re: Cross compile app for Win32, from 32 bit Linux, using i586-mingw32msvc-g++
« on: July 16, 2013, 01:27:55 am »
Thanks. I hadn't seen the libs in the SFML source distro.
That got me a few steps further. I was also missing the LIBRARY and INCLUDE variables for the various libraries in the toolchain file. Now it's failing like so:
Linking CXX shared library ../../../lib/sfml-graphics-2.dll
..
undefined reference to `glewInit'
undefined reference to `_jpeg_std_error'
etc.
I would have thought that there was a script to perform this process already, since the MinGW binary downloads on the website must be produced using a method such as this, using MinGW, on Linux, to create Windows binaries.
Rgds,
ElColmo
That got me a few steps further. I was also missing the LIBRARY and INCLUDE variables for the various libraries in the toolchain file. Now it's failing like so:
Linking CXX shared library ../../../lib/sfml-graphics-2.dll
..
undefined reference to `glewInit'
undefined reference to `_jpeg_std_error'
etc.
I would have thought that there was a script to perform this process already, since the MinGW binary downloads on the website must be produced using a method such as this, using MinGW, on Linux, to create Windows binaries.
Rgds,
ElColmo