help > About compiling vaa3d with mingw under windows
Showing 1-2 of 2 posts
Display:
Results per page:
May 16, 2021  02:05 PM | jazzbrain
About compiling vaa3d with mingw under windows
On this issue, I did the following main steps.
1. Download qt version 4.8.6 and compile it with mingw (if you download a pre-compiled qt, you may have problems with some .a files not matching the latest mingw version).
2. Follow the tutorial on the official website to download boost, tiff, etc., taking care to select mingw when cmake.
3 Set up the environment variables. The main ones are QTDIR, QMAKESPEC=win32-g++ , \4.8.6\bin , BOOST_PATH, mingw/bin.
4. Download some third-party libraries in common_lib and compile them to generate .a files, mainly teem, bz2, hdf5, zip, zlib, openvr, glew, etc. The generated .a files can be placed in the winlib64 folder, and the required dlls can be placed in the v3d_main/v3d Release folder. (Compile process prompts what is missing download what, this is the last step, the success will generate vaa3d.exe file)
5. qmake vaa3d64.pro. Then Makefile file will be generated, the same level of directory to execute wingw32-make instructions, (need to make some changes to libs, or in the pro file to modify and then qmake, because the original libs do not apply to mingw).
6. Compile the plugin.
Although the compilation process will encounter many errors, but Google or Baidu should be able to solve off.
May 17, 2021  06:05 AM | Yimin Wang
RE: About compiling vaa3d with mingw under windows
It's nice to see such progress, thanks for the effort!
Originally posted by jazzbrain:
On this issue, I did the following main steps.
1. Download qt version 4.8.6 and compile it with mingw (if you download a pre-compiled qt, you may have problems with some .a files not matching the latest mingw version).
2. Follow the tutorial on the official website to download boost, tiff, etc., taking care to select mingw when cmake.
3 Set up the environment variables. The main ones are QTDIR, QMAKESPEC=win32-g++ , \4.8.6\bin , BOOST_PATH, mingw/bin.
4. Download some third-party libraries in common_lib and compile them to generate .a files, mainly teem, bz2, hdf5, zip, zlib, openvr, glew, etc. The generated .a files can be placed in the winlib64 folder, and the required dlls can be placed in the v3d_main/v3d Release folder. (Compile process prompts what is missing download what, this is the last step, the success will generate vaa3d.exe file)
5. qmake vaa3d64.pro. Then Makefile file will be generated, the same level of directory to execute wingw32-make instructions, (need to make some changes to libs, or in the pro file to modify and then qmake, because the original libs do not apply to mingw).
6. Compile the plugin.
Although the compilation process will encounter many errors, but Google or Baidu should be able to solve off.