Login  Register

Re: How to compile LibreCAD in Visual Studio 2015?

Posted by FirstStep on Aug 09, 2016; 1:13pm
URL: https://forum.librecad.org/How-to-compile-LibreCAD-in-Visual-Studio-2015-tp5714095p5714113.html

I did not realize that I am still on MSVC.. Sorry about that. I followed the Becoming a Developer guide but I guess I got confused.

Do you think it is worth the time to try and eliminate the errors, On VS, one by one?

I tried with QT Migwin but it takes a lot of time to build (It does not build when I add -j to the qmake arguments). When it finishes building however, I get this error:

Makefile.Release:1898: recipe for target '..\..\windows\LibreCAD.exe' failed
mingw32-make[3]: Leaving directory 'C:/Users/Khalil/Desktop/LibreCAD/LibreCAD/librecad/src'
mingw32-make[3]: *** [..\..\windows\LibreCAD.exe] Error 1
Makefile:34: recipe for target 'release' failed
mingw32-make[2]: Leaving directory 'C:/Users/Khalil/Desktop/LibreCAD/LibreCAD/librecad/src'
Makefile:38: recipe for target 'sub-src-make_first' failed
mingw32-make[1]: Leaving directory 'C:/Users/Khalil/Desktop/LibreCAD/LibreCAD/librecad'
Makefile:84: recipe for target 'sub-librecad-make_first-ordered' failed
mingw32-make[2]: *** [release] Error 2
mingw32-make[1]: *** [sub-src-make_first] Error 2
mingw32-make: *** [sub-librecad-make_first-ordered] Error 2
09:19:24: The process "D:\Qt\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project librecad (kit: Desktop Qt 5.7.0 MinGW 32bit)
When executing step "Make"
09:19:24: Elapsed time: 15:23.


I am on 64 bit Windows. Do you think this is the issue?

I wanted to try with VS because I am familiar with it and I will need time to adapt this QT. And it is easier to debug and build I assume.