Compiling LibreCad-2.2.0.alpha on Windows 10 & Debian 9

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

Compiling LibreCad-2.2.0.alpha on Windows 10 & Debian 9

mad-hatter
Hello,

I've got LibreCad-2.2.0.alpha runing on Windows 10 and Debian 9.

Windows 10 - 32bit setup:-

Qt about:-
Qt Creator 4.3.0
Based on Qt 5.8.0 (MSVC 2015, 32 bit)

LibreCad about:-
Version: 2.2.0-alpha
Compiler: GNU GCC 5.3.0
Compiled on: Jun 28 2017
Qt Version: 5.9.0
Boost Version: 1.63.0
System: Windows 10 (10.0)

Qt issues:-
muParserToken.h:72
       std::auto_ptr<ParserCallback> m_pCallback;
            ^
muParserBase.h:291
     std::auto_ptr<token_reader_type> m_pTokenReader;
          ^
Change std::auto_ptr to std::unique_ptr, first compile you get more issues, change just these two, they all refer to the same lines.

Add these lines to the end of config.pro, change the path to suit where you've put boost.
BOOST_DIR = "C:/boost/boost_1_64_0/"
BOOST_LIBDIR = "C:/boost/boost_1_64_0/libs/"
or
BOOST_DIR = "C:/boost/boost_1_63_0.7/"
BOOST_LIBDIR = "C:/boost/boost_1_63_0.7/libs/"

The program compiles whether you've got ShadowBuild checked or not.

Genaral Messages:-
[Inexact] Project MESSAGE: freetype was not found in /Qt/freetype, please install freetype or check settings in custom.pro!
Project MESSAGE: freetype was not found in /Qt/freetype, please install freetype or check settings in custom.pro!
I ignored these messages.

Compiler Output:-
WARNING: Cannot read C:/Users/Michael/Desktop/librecad/newlibrecad/build-librecad-Desktop_Qt_5_9_0_MinGW_32bit-Release/librecad/src/src.pro: No such file or directory
WARNING: Cannot read C:/Users/Michael/Desktop/librecad/newlibrecad/build-librecad-Desktop_Qt_5_9_0_MinGW_32bit-Release/plugins/plugins.pro: No such file or directory
The system cannot find the path specified.
File Not Found
The system cannot find the path specified.
File Not Found

Issues:-
:-1: warning: Cannot read C:/Users/Michael/Desktop/librecad/newlibrecad/build-librecad-Desktop_Qt_5_9_0_MinGW_32bit-Release/librecad/src/src.pro: No such file or directory
:-1: warning: Cannot read C:/Users/Michael/Desktop/librecad/newlibrecad/build-librecad-Desktop_Qt_5_9_0_MinGW_32bit-Release/plugins/plugins.pro: No such file or directory
C:\Users\Michael\Desktop\librecad\newlibrecad\LibreCAD-2.2.0-alpha\plugins\importshp\shapelib\safileio.c:75: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #       pragma comment(lib, "kernel32.lib")
 ^
Despite the compiler output and the 3 issues, the program runs.
All the above were compiled using the rebuild project option.

Note!
Compiling without shadow build.
General messages:=
[Inexact] Project MESSAGE: freetype was not found in /Qt/freetype, please install freetype or check settings in custom.pro!
Project MESSAGE: freetype was not found in /Qt/freetype, please install freetype or check settings in custom.pro!
Compile output:-
Project MESSAGE: FREETYPE_DIR is not set, ignoring ttf2lff
I ignored these, otherwise clean build and runs ok.

**********
On Debian 9 - 64 bit, compiled clean and ran.
Qt about:-
Qt Creator 4.2.0
Based on Qt 5.7.1 (GCC 6.3.0 20170415, 64 bit)

LibreCAD about:-
Version: 2.2.0-alpha
Compiler: GNU GCC 6.3.0
Compiled on: Jun 28 2017
Qt Version: 5.7.1
Boost Version: 1.63.0
System: Debian GNU/Linux 9 (stretch)
**********

Maybe the last three issues are due to Windows being 32 bit or maybe a path problem.
I just find faults, I don't know enougth to fix them.

Regards