-
Notifications
You must be signed in to change notification settings - Fork 102
Installing Prerequisites and Optional Components
sudo apt-get install libpython-all-dev python-psutil
sudo yum install python-devel
Download the latest Python v2.7 installer and the corresponding psutil installer
sudo apt-get install libfuse-dev
sudo yum install fuse-devel
Extract cbfs_reg.zip and install (defaults to %ProgramFiles(x86)%\EldoS\Callback File System). During the install, there is a screen with 4 checkboxes to choose install components; we only need the C++ libraries selected.
-
Open SourceCode\CBFS\CPP\CbFS_VS2012.sln in Visual Studio. Ignore warnings about Itanium being unavailable.
-
For x64 Debug builds only, the Output File needs to be corrected. Open the project's Property Pages and select Debug and x64 at the top. Then select Configuration Properties → Librarian → General. For Output File, enter
.\x64\Debug\CbFS.lib
and click "OK". -
For all builds, open the project's Property Pages and select Configuration Properties → C/C++ → General. For Debug Information Format select
Program Database (/Zi)
for Debug builds andNone
for Release builds. -
Select Configuration Properties → C/C++ → Code Generation. For Runtime Library select
Multi-threaded Debug DLL (/MDd)
for Debug builds andMulti-threaded DLL (/MD)
for Release builds. -
Finally, build Debug and Release versions.
This is only applicable if you have cloned the LifeStuff-UI-Qt project to the MaidSafe super-project's "src" folder. The LifeStuff-UI-Qt folder must be named "lifestuff_ui_qt". To do this, run:
cd <Path to MaidSafe super-project>/src
git clone git@github.com:maidsafe/LifeStuff-UI-Qt.git lifestuff_ui_qt
This is mainly for use on Linux, but also applies to Windows. If building for x64 Windows, ensure you're using the x64 Visual Studio Command Prompt on 64-bit machines. The title bar should show "VS2012 x64 Cross Tools Command Prompt".
-
Download the Qt source code as a zip (269 MB) or a tar.gz (226 MB)
-
Extract the Qt sources. Qt does not get installed, so extract to a non-temporary location.
-
From the root build folder of the MaidSafe super-project, run:
cmake . -DBUILD_QT_IN_SOURCE=ON -DQT_SRC_DIR=<Path to Qt 4.8.4 Src Dir>
This should configure and build the LGPL-licensed version.
Note: building Qt can take in excess of two hours.
MaidSafe Meta Library
- Home
- Build Instructions for Linux
- Build Instructions for OS X
- Build Instructions for Windows
- Dashboard
- Issues
- Code Standards
MaidSafe Project
- MaidSafe
- MaidSafe-API
- MaidSafe-Common
- MaidSafe-Passport
- MaidSafe-RUDP
- MaidSafe-Routing
- MaidSafe-Encrypt
- MaidSafe-Drive
- MaidSafe-Network-Filesystem
- MaidSafe-Vault
- MaidSafe-Vault-Manager
MaidSafe Papers