|
msys2 mingw64 build under windows 7 |
mind78
Member #15,802
November 2014
|
I followed the guide here: https://wiki.allegro.cc/index.php?title=Building_with_msys2 I also read some threads in here on this forum, but the closest I am coming to succeding in compiling is this: Mind@Lovelace MINGW64 ~/build_allegro_monolith followed by this when make && make install: [ 67%] Linking CXX executable ex_d3d.exe Hmm, for you non swedes, misslyckades = failed Thankful for any advice. Managed to compile this in the past with msys2 but it was like a year ago and I can't remember exactly how I did it back then.
|
SiegeLord
Member #7,827
October 2006
|
Yeah, looks like there was a bug added to the build system. I believe it will only affect that one example, so if you don't need examples, pass -DWANT_EXAMPLES=off to cmake. "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
GullRaDriel
Member #3,861
September 2003
|
It didn't affected me on the same plateform and compiler. "Code is like shit - it only smells if it is not yours" |
SiegeLord
Member #7,827
October 2006
|
Actually yes, I take that back. I made an error with my paths, and after fixing it, it worked again. What changed recently is that the core library no longer links D3DX9, but loads the binary at runtime, so if there's any linking issue, it'll only happen when you build this example. Check your CMakeCache.txt in the build directory and make sure it has this line in it: D3DX9_LIBRARY:FILEPATH=F:/msys64/mingw64/x86_64-w64-mingw32/Lib/libd3dx9.a What I used to compile this is actually this: export DXSDK_DIR=/mingw64/x86_64-w64-mingw32 cmake .. -G"MSYS Makefiles" make -j8 I do it that way because I actually have the real DirectX SDK installed, and CMake keeps trying to use it instead of the one shipped with msys... "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
mind78
Member #15,802
November 2014
|
Thank you for your help, I will try to get it working with these tips
|
|