Compiling in QT Creator, MSVC2013, Windows 64-bit: Error: dependent '..\..\generated\lib\libmuparser.a' does not exist.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling in QT Creator, MSVC2013, Windows 64-bit: Error: dependent '..\..\generated\lib\libmuparser.a' does not exist.

FirstStep
This post was updated on .
Hi,

I am building LibreCAD on Windows 10 64-bit. I am using QT Creator with VC2013 and 2015 installed. I download the source code, added the boost paths in custom.pro, opened Librecad.pro and configured the solution as MSVC2013.

I had many errors and I succeeded in getting rid of all of them by doing these:

- In dl_writer_ascii.cpp: Change

snprintf(str,12, "%0X", value); 

To
_snprintf(str,12, "%0X", value); in both dxHex() and  dxfReal()

- In Jwwdoc.cpp, add const to all the XXXXXXX::Serialize(std::ofstream& ofstr) functions like this:

void XXXXXXX::Serialize(std::ofstream& ofstr) const <---- { .. }

Now, I only have one more error. One, more, to go.. Which is this:

Error: dependent '..\..\generated\lib\libmuparser.a' does not exist.


Could you please tell me what should I do?

I tired adding "-j 1" to the arguments, and it did not do any difference.

This is how my configuration looks like:
https://s11.postimg.org/6iiv5r09v/Capture.png

Please and thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Compiling in QT Creator, MSVC2013, Windows 64-bit: Error: dependent '..\..\generated\lib\libmuparser.a' does not exist.

ravas
Administrator
Reply | Threaded
Open this post in threaded view
|

Re: Compiling in QT Creator, MSVC2013, Windows 64-bit: Error: dependent '..\..\generated\lib\libmuparser.a' does not exist.

ravas
Administrator
This is one of the more useful pages http://doc.qt.io/qt-5/qmake-variable-reference.html
Reply | Threaded
Open this post in threaded view
|

Re: Compiling in QT Creator, MSVC2013, Windows 64-bit: Error: dependent '..\..\generated\lib\libmuparser.a' does not exist.

ravas
Administrator
There is also muparser.pri
which is included in src.pro

https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/muparser.pri
Reply | Threaded
Open this post in threaded view
|

Re: Compiling in QT Creator, MSVC2013, Windows 64-bit: Error: dependent '..\..\generated\lib\libmuparser.a' does not exist.

ravas
Administrator
PRE_TARGETDEPS += $$GEN_LIB_DIR/libmuparser.a

"Some backends, such as the generators for Visual Studio and Xcode project files, do not support this variable."

http://doc.qt.io/qt-5/qmake-variable-reference.html#pre-targetdeps

I don't know what the alternative is...