Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Installing Prerequisites and Optional Components

Fraser Hutchison edited this page Jun 27, 2014 · 27 revisions

Installing Callback File System v5

If previously installed, uninstall and ensure the "SourceCode" folder is removed.

Extract cbfs_reg.zip/cbfs_eval.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.

For the registered version, there is a CMake script at "cmake_modules/build_cbfs.cmake" which can be invoked to fix up the CBFS solution files and build the required libraries. From an administrator command prompt, simply run:

cmake -P <path to build_cbfs.cmake>

If this doesn't report any errors, you can skip to step 6 below. Otherwise, you'll need to perform the manual steps 1 to 5 first:

  1. Open SourceCode\CBFS\CPP\CbFS_VS2013.sln in Visual Studio. Ignore warnings about Itanium being unavailable.

  2. 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".

  3. 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 and None for Release builds.

  4. Select Configuration Properties → C/C++ → Code Generation. For Runtime Library select Multi-threaded Debug DLL (/MDd) for Debug builds and Multi-threaded DLL (/MD) for Release builds.

  5. Finally, build Debug and Release versions.

  6. Configure the MaidSafe super project again (cd to the build root and run cmake .)

  7. Build the target 'cbfs_driver_installer'.

  8. Run cbfs_driver_installer with the arg -i to install the new drivers.


Installing Qt 5

  1. Download and run the appropriate installer for your OS.

  2. From the root build folder of the MaidSafe super-project, run:

     cmake . -DQT_BIN_DIR=<Path to Qt 5 bin Dir>
    

The Qt 5 bin dir should nested 2 deep inside the chosen Qt install path. For example, with a 64-bit build on Windows, if your install path was "C:\Qt\Qt5.1.0", then the QT_BIN_DIR should be set to "C:\Qt\Qt5.1.0\5.1.0\msvc2012_64\bin"