I have always created the Windows version of MotionCal (and all other software I publish for Windows) by cross compiling from Linux. If you want to do it the way I've always done, you'll need Ubuntu 18.04.
To install the MinGW cross compiler on Ubuntu 18.04, use this command:
Code:
sudo apt-get install gcc-mingw-w64 g++-mingw-w64
Then you'll need to download
wxWidgets 3.1.0 source code (download "wxWidgets-3.1.0.tar.bz2", which is the full source - do *not* download any of the wxMSW files). Newer versions should also work, but I have not tested. Best to get 3.1.0 and build on Ubuntu 18.04 so you're using the exact same environment. I haven't worked on MotionCal for a long time, and I do not expect to do any more work on it.
Extract with this command:
Code:
tar -xvf wxWidgets-3.1.0.tar.bz2
In the extracted source, I ran these commands:
Code:
./configure --prefix=/home/paul/wxwidgets/3.1.0.mingw-opengl --with-opengl --host=i686-w64-mingw32 --build=i686-w64-mingw32 --disable-shared --disable-compat28
make -j 12
make install
You might wish to edit the prefix folder for your own username. The "host" and "build" options are the key ingredient which means you're cross compiling wxWidgets to create a library to link into Windows programs. Without those it will auto-detect your system and build for Linux.
Once wxWidgets is compiled and installed, you can build MotionCal. Edit the Makefile to select the Windows build. Also edit the pathname to wxWidgets, if you chose a different location to install the compiled wxWidgets.
Then just run "make". If everything works, you'll end up with a compiled .exe file, which you would copy to a Windows computer to actually run.
If any of these steps fail, I'm afraid the process of figuring out what's wrong from the usually-unhelpful compiler errors can be a long and difficult path.
I have no idea how this might be done actually on Windows. I use Linux for almost everything and occasionally Macintosh for video. Other than testing the Windows version of software I write, I pretty much never actually use Windows, so I really can't help with any Windows specific problems.