- License for CityEngine (2019.0 or later), e.g. to author Rule Packages.
- CMake 3.13 or later (http://www.cmake.org)
- Autodesk Maya 2018 or 2019 installation or the corresponding development kit
- Windows 7, 8.1 or 10 (64bit)
- Required C++ compiler: Visual Studio 2017 with Toolset MSVC 14.11 or later
- WiX Toolset 3.11.1: Optional, required for building .msi installers
- Required flags for extension libraries release mode:
/bigobj /GR /EHsc /MD
- RedHat Enterprise Linux 7.x or compatible
- Required C++ compiler: GCC 6.3 or later (RedHat Enterprise Linux DevToolSet 6.1)
- Required flags for extension libraries:
-std=c++14 -D_GLIBCXX_USE_CXX11_ABI=0 -march=nocona -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--exclude-libs,ALL
- Open a Visual Studio 2017 x64 Command Shell in the
serlio
root directory. - Call
powershell .\build.ps1
.
- Open a Visual Studio 2017 x64 Command Shell in the
serlio
root directory, i.e. at<your path to>\esri-cityengine-sdk\examples\serlio
. - Create a build directory with
mkdir build
and change into it withcd build
. - Run
cmake
to generate a Visual Studio solution:Use optionscmake -G "Visual Studio 15 2017 Win64" ../src
-Dprt_DIR=<ce sdk root>\cmake
and-Dmaya_DIR=<maya installation root>
to override the default locations of CityEngine SDK and Maya. - Open the generated
serlio_parent.sln
in Visual Studio. - Switch the solution configuration to "Release" or "RelWithDebInfo" ("Debug" is not supported with release CE SDK).
- Call
build
on theINSTALL
project. - Proceed with the Installation Instructions below.
- Open a Visual Studio 2017 x64 Command Shell in the
serlio
root directory, i.e. at<your path to>\esri-cityengine-sdk\examples\serlio
. - Create a build directory with
mkdir build
and change into it withcd build
. - Run
cmake
to generate the Makefiles:Use optionscmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo ../src
-Dprt_DIR=<ce sdk root>\cmake
and-Dmaya_DIR=<maya installation root>
to override the default locations of CityEngine SDK and Maya. - Run make to build the desired target, e.g.
make install
- The build result will appear in the
install
directory in parallel to thebuild
directory. We will use this as the plugin directory below.
- WiX Toolset 3 (3.11.1 or better) is required for building MSI installers.
- Open a Visual Studio 2017 x64 Command Shell in the
serlio
root directory, i.e. at<your path to>\esri-cityengine-sdk\examples\serlio
. - Create a build directory with
mkdir build_installers
and change into it withcd build_installers
. - Run
cmake
to generate the Makefiles. Make sure to setWIN_INSTALLER
toTrue
:Use optionscmake -G "NMake Makefiles" -DWIN_INSTALLER=True -DCMAKE_BUILD_TYPE=Release ../src
-Dprt_DIR=<ce sdk root>\cmake
and-Dmaya_DIR=<maya installation root>
to override the default locations of CityEngine SDK and Maya. - Run make to build the package target, i.e.
make package
- The installer will appear in
build_installers
.
- Open a terminal (e.g. bash)
- Change into the example directory:
cd <your path to>/esri-cityengine-sdk/examples/serlio
- Create a build directory and change into it:
mkdir build && cd build
- Run cmake (adjust the maya path if necessary):
cmake -Dmaya_DIR=/usr/autodesk/maya2018 ../src
- Compile:
make install
- The build result will appear in the
install
directory in parallel to thebuild
directory. We will use this as the plugin directory below.