Skip to content

Software Update Guide

Robert Homewood edited this page Dec 12, 2017 · 1 revision

This guide provides a step-by-step guide to periodically update the DREAM software once it has been installed (by following the instructions in the Software Installation Guide). In fact, this guide is a selective subset of the instructions in the installation guide.

Do an Update from the DREAM Repository

Assuming you are using the TortoiseSVN client, do the following.

  • Launch Windows Explorer from the start menu.
  • Right-click on the C:\DREAM directory. This will bring up a menu: select SVN Update. TortoiseSVN will now copy any new or changed files from DREAM repository to your local directory, i.e. C:\DREAM.
     

Next, run CMake against the C:DREAM\release directory to rebuild the MSVC++ .sln solution file so that you can compile all the DREAM executable components.

  • Launch the CMake GUI from the start menu.
  • In the Where is the source code: input (browse to) C:\DREAM\release
  • In the Where to build the binaries: input (browse to) C:\DREAM\release\build
  • Select File > Delete Cache from the top menu (you must do this the first time in case there is an old invalid configuration in the DREAM directory)
  • Click Configure
  • Select Visual Studio 10 (2010) from the drop-down menu as the generator for the project
  • Select Specify toolchain for cross-compiling and click Next
  • Specify the toolchain: C:\NaoQi\toolchain-pc.came, click Finish, and watch CMake configure your project. Note: CMake may produce some warnings (resulting from NaoQi) and the dialogue box will be highlighted in red so …
  • Click Configure again and everything should be fine
  • Click Generate to create the MSVC++ DREAM.sln file in C:\DREAM\release\build

 

Launch MSVC++ and build the DREAM component executables.

  • Go to the C:\DREAM\release\build directory and open the DREAM.sln file. This launches Microsoft Visual C++ 2010 Express.
  • Select Release in the Solutions Configuration box.
  • Select Build > Configuration Manager from the menu and make sure the INSTALL check-box is ticked. Note: You must do this every time you regenerate DREAM.sln with CMake.
  • Select Build > Build Solution from the top menu, (if you don’t see this and you see Debug > Build Solution instead, it’s probably because your IDE is set to basic settings. To change this, select Tools > Settings > Expert Settings).

This will compile and link the components in the the C:\DREAM\release\bin directory.

Your DREAM system should now be up to date.

To run the DREAM system, follow the instructions on the Software Users Guide.


Clone this wiki locally