Build Issues : Windows7 Qt LibreCAD

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

Build Issues : Windows7 Qt LibreCAD

Vinay
Hello All,

Beginner here building LibreCAD on Windows 7. Compile fails and exits :(
Here is the output from Qt Creator http://pastebin.com/kUiNEsvf

Version details of my tool chain
Qt Creator 2.0.0
Qt 4.7.0 (32 bit)

I am building the latest sources from git.

Much thanks for all help!!

Regards,
Vinay
Reply | Threaded
Open this post in threaded view
|

Re: Build Issues : Windows7 Qt LibreCAD

Rallaz
Vinay wrote
Hello All,

I am building the latest sources from git.
This seems a MinGW gcc issue.
In attached output say error are in rs_creation.cpp line #905:
      std::vector<RS_Entity*> ret(0, NULL);

And in latest sources from git are solved by changing line #905 to:
      std::vector<RS_Entity*> ret(0, (RS_Entity*)NULL);

Please, update the source and retest

Regards,
Rallaz
Reply | Threaded
Open this post in threaded view
|

Re: Build Issues : Windows7 Qt LibreCAD

Vinay
Hello,

Thanks for your reply Rallaz and sorry for my late reply. I was caught up with office work.

I did get the latest sources from master and tried building it. It failed once again.

I might be mistaken, but thought it might be a better idea to try building the 'stable' version.

I pulled the source-code from 1.0.0-SNAPSHOT and ran the build process.
It failed again with the following output http://pastebin.com/3g2wu6YR

Given that I am working on Windows7 with Qt 4.7.0(32 bit), what is my best bet to get LibreCAD to compile? Which sources should I be using and what should my toolchain be?

Thanks a ton!

Regards,
Vinay


Reply | Threaded
Open this post in threaded view
|

Re: Build Issues : Windows7 Qt LibreCAD

Vinay
It turns out that the version of Qt I am building with is 4.6.3 and not 4.7.0

About Qt shows version as 4.7.0
Though the build settings show it as 4.6.3

Thanks,
Vinay
Reply | Threaded
Open this post in threaded view
|

Re: Build Issues : Windows7 Qt LibreCAD

dxli
I suggest you to upgrade QtSDK to the latest( Qt-Creator to the latest: 2.5.0, Qt to 4.8). Make sure you choose tool chain of mingw-gcc rather than msvc or clang.

You will need boost-1.48.0 and muparser-2.2.2. If you get any error from boost/muparser, confirm your settings from the file: settings_windows.pro

for dependency, have a look at some of my comments in this thread: http://forum.librecad.org/HOWTO-Compiling-LibreCAD-with-Visual-Studio-2003-and-Qt-4-3-1-tp5108768.html

dxli