Users:PrePostProcessing/RhinoPost/Installation Developer

From Carat++ Public Wiki
Jump to: navigation, search

In order to set up the developer's environment one need the following:

  • Rhino SDK5.0
  • Microsoft Visual Studio 2010
  • QT Creator 4
  • QT Library
  • boost library (boost_1_55 works, boost_1_63 doesn't work, in between unknown)

Contents

Rhino SDK 5.0

You need to download and install the actual Rhinoceros SDK . Version 5.0 does only support MS Visual Studio 2010.

QT

  • The actual set-up works with QT 4 (Date 19.01.2017). The respective exe-file for MS Visual Studio 2010 (qt-win-opensource-4.8.4-vs2010.exe) can be download on [1].
  • Copy the library qt/vs2010 into your libraries folder.

CMake

CMake settings
  • The following paths have to be set in cmake_personal_input.dat:
set(CARAT_ROOT "C:/carat")
set(LIB_BOOST_INCLUDE_DIR "C:/carat/libraries/boost/actual_boost")
set(LIB_RHINO5 "C:/Program Files (x86)/Rhino 5.0 x64 SDK")
set(QTDIR64 "C:/carat/libraries/qt/vs2010/4.8.4-dyn-64bit")
  • Choose the respective carat/src folder for the source code
  • Choose or create a respective build folder
  • Delete the cache, if you are not using Visual Studio 10 2010 Win64 as default native compilers and press "Configure".
  • Choose the packages by unchecking everything beside BUILD_RHINO_PLUG_IN_SDK5.
  • Press "Configure"
  • Press "Generate"

MS Visual Studio

  • Copy QtCore4.dll, QtCored4.dll, QtGui4.dll, QtGuid4.dll in the Debug and Release folder.
  • Open the project and choose interface_rhino as startproject.
  • Open the properties of the project --> configuration properties --> Debug
    • Debug configuration: Command: C:\Program Files (x86)\Rhino 5.0 x64 SDK\Bin\x64\Rhino5x64_d.exe
    • Release configuration: Command: C:\Program Files\Rhinoceros 5.0 (64-bit)\System\Rhino.exe






Whos here now:   Members 0   Guests 0   Bots & Crawlers 1
 
Personal tools
Content for Developers