We have moved to https://dokuwiki.librecad.org/
Lots of content was already moved to the new wiki, but there is still work to do. If you want to contribute, please register a new account at https://dokuwiki.librecad.org/
This wiki will be kept for a while to keep search engine results valid. Moved sites may be deleted here in future.
Difference between revisions of "How to built LibreCAD (master branch) on Windows."
From LibreCAD wiki
(→How to built LibreCAD (master branch) on Windows.) |
(Put in Category:Installation) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | #Get and install Cygwin. | ||
+ | #:See: http://www.cygwin.com/ | ||
+ | #Get and install Qt SDK. | ||
+ | #:See: http://qt.nokia.com/products/qt-sdk | ||
+ | #Get and install Boost library by doing the following operations: | ||
+ | ##Get Boost library (boost_1_48_0.zip) using the following link: | ||
+ | ##:https://sourceforge.net/projects/boost/files/boost/1.48.0/ | ||
+ | ##In C:\, create a directory named "boost". | ||
+ | ##In C:\boost\, unzip the boost library. | ||
+ | ##:Notes: When finished you will have the following directory: | ||
+ | ##:C:\boost\boost_1_48_0 | ||
+ | #Get, built and install muParser library by doing the following operations: | ||
+ | ##Get muParser library (muparser_v2_2_2.zip) using the following link: | ||
+ | ##:http://sourceforge.net/projects/muparser/files/muparser | ||
+ | ##In C:\, create a directory named "muparser". | ||
+ | ##In C:\muparser\, unzip muparser_v2_2_2.zip | ||
+ | ##:Notes: At this point you will have the following directory: | ||
+ | ##:C:\muparser\muparser_v2_2_2 | ||
+ | ##Start Qt Desktop using "Qt 4.8.0 for Desktop (MinGW)" shortcut. | ||
+ | ##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: | ||
+ | ##:mingw32-make -fmakefile.mingw | ||
+ | #Get LibreCAD from GIT, doing the following step: | ||
+ | ##Start a "Cygwin Terminal" using the supplied short cut. | ||
+ | ##:Notes: At this point, you are in C:\cygwin\home\<user>\ directory. | ||
+ | ##In Cygwin Terminal, get LibreCAD master branch by typing the following command: | ||
+ | ##:<nowiki>git clone git://github.com/LibreCAD/LibreCAD.git</nowiki> | ||
+ | #Built and run LibreCAD, by doing the following operations: | ||
+ | ##Start Qt Creator using the supplied short cut. | ||
+ | ##Built LibreCAD using Qt Creator, by doing the following operations: | ||
+ | ###In the menu, select "File"->"Open File or Project...". | ||
+ | ###In "Open File", navigate to C:\cygwin\home\<user>\LibreCAD | ||
+ | ###In "Open File", select librecad.pro, and then click on the "Open" button. | ||
+ | ###In "Project Setup", check "Desktop" item, if not already checked. | ||
+ | ###In "Project Setup", uncheck "Use Shadow Building", if not already unchecked. | ||
+ | ###In "Project Setup", click on the "Finish" button. | ||
+ | ###In menu, select "Build"->"Rebuild All". | ||
+ | ###:Notes: At this point, you will have to wait a lot of time to get LibreCAD built, and this is normal. | ||
+ | ##Run LibreCAD from Qt Creator, by doing the following operations: | ||
+ | ###Switch to "Projects" mode by clicking on associated icon that is located at left of Qt Creator window. | ||
+ | ###Then, in "Desktop", select "Run". | ||
+ | ###Then, in "Run configuration:", make sure "src" is selected. | ||
+ | ###Run LibreCAD by selecting "Build"->"Run" in the menu. | ||
− | + | [[Category:Developers]] | |
− | + | [[Category:Installation]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 19:46, 25 April 2015
- Get and install Cygwin.
- Get and install Qt SDK.
- Get and install Boost library by doing the following operations:
- Get Boost library (boost_1_48_0.zip) using the following link:
- In C:\, create a directory named "boost".
- In C:\boost\, unzip the boost library.
- Notes: When finished you will have the following directory:
- C:\boost\boost_1_48_0
- Get, built and install muParser library by doing the following operations:
- Get muParser library (muparser_v2_2_2.zip) using the following link:
- In C:\, create a directory named "muparser".
- In C:\muparser\, unzip muparser_v2_2_2.zip
- Notes: At this point you will have the following directory:
- C:\muparser\muparser_v2_2_2
- Start Qt Desktop using "Qt 4.8.0 for Desktop (MinGW)" shortcut.
- 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:
- mingw32-make -fmakefile.mingw
- Get LibreCAD from GIT, doing the following step:
- Start a "Cygwin Terminal" using the supplied short cut.
- Notes: At this point, you are in C:\cygwin\home\<user>\ directory.
- In Cygwin Terminal, get LibreCAD master branch by typing the following command:
- git clone git://github.com/LibreCAD/LibreCAD.git
- Start a "Cygwin Terminal" using the supplied short cut.
- Built and run LibreCAD, by doing the following operations:
- Start Qt Creator using the supplied short cut.
- Built LibreCAD using Qt Creator, by doing the following operations:
- In the menu, select "File"->"Open File or Project...".
- In "Open File", navigate to C:\cygwin\home\<user>\LibreCAD
- In "Open File", select librecad.pro, and then click on the "Open" button.
- In "Project Setup", check "Desktop" item, if not already checked.
- In "Project Setup", uncheck "Use Shadow Building", if not already unchecked.
- In "Project Setup", click on the "Finish" button.
- In menu, select "Build"->"Rebuild All".
- Notes: At this point, you will have to wait a lot of time to get LibreCAD built, and this is normal.
- Run LibreCAD from Qt Creator, by doing the following operations:
- Switch to "Projects" mode by clicking on associated icon that is located at left of Qt Creator window.
- Then, in "Desktop", select "Run".
- Then, in "Run configuration:", make sure "src" is selected.
- Run LibreCAD by selecting "Build"->"Run" in the menu.