![]() ![]() $ qmake librecad.pro -r -spec mkspec/macports Select the right compiler, as LibreCAD doesn't build with the default llvm-gcc42,īuild a makefile in the LibreCAD source folder, $ sudo port install gcc46 qt4-creator-mac qt4-mac boost muparser Install a version of Qt, boost and muparser, for example OS X USERSĪfter that install QT and a new gcc, which should version 4.4 or later. In Qt Desktop console, navigate to muParser build directory (C:\muparser\muparser_v2_2_2\build), then type the following command to built muParser library:Īfter installation, start Qt Creator and load LibreCAD.pro,įrom the build menu select "Build All".Start Qt Desktop using "Qt 4.8.4 for Desktop (MinGW)" shortcut.If you prefer to keep muParser in other locations, you should specify the directiory location with a custom.pro file in LibreCAD source folder, for example, the following setting is equivalent to the default muparser path in common.pro: Notes: At this point you will have the following directory structure: C:\muparser\muparser_v2_2_2\ (assuming you are using muparser-2.2.2). Unzip muparser_v2_2_2.zip into C:\muparser\ etc).Ĭreate a directory named "muparser" in C:\ Unzip into C:\boost, for example C:\boost\1_53_0 (in this directory you will find boost root directory, INSTALL, index, Jamroot etc. If successful, this building script generates a Windows installer file using NSIS( ).ĭownload a copy of Qt SDK, 4.8.4 for example from Windows Usersīuilding steps are also given at our wiki page:Ī sample build batch file is included as scripts/build-windows.bat. Clang 3.3 can not currently build LibreCAD. See the script itself for some more options. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |