Deployment
Adding REDsdk into a development filetree
Once REDsdk has been installed, an easy way to extract REDsdk is to directly copy the REDsdk.m folder contents into the filetree of your own application. REDsdk.m contains everything that is needed to compile, link and run an application using REDsdk:
- Bin: This is the binary folder with all the REDsdk binaries needed at runtime. It contains sub-folders for each operating system (Win32, Win64, Lin32, Lin64, Mac64, ...)
- Lib: This is the library folder needed at link time. So far it only contains .lib files that are needed on Windows, that are set in specific sub-folders: Win32 and Win64.
- Public: This is the folder that contains all header files of REDsdk, that are needed at compile time for your application.
This REDsdk.m folder should be taken as a whole: each new REDsdk version will contain a new version of this folder.
Needed libraries for link
REDsdk has only a few binaries:
- REDCore.dll (libREDCore.so on Linux, libREDCore.dylib on MacOS): This is the main REDsdk library. It contains all of the RED and RNET namespaces.
- REDFramework.dll (libREDFramework.so on Linux, libREDFramework.dylib on MacOS): This is an optional library that contains the RFK namespace. This is the tutorial application that can be used by the free version of REDsdk or for early prototyping steps.
- REDFbx.dll (libREDFbx.so on Linux, libREDFbx.dylib on MacOS): This is an optional library that contain the .FBX file import into REDsdk.
- Embree.dll (libembree.so on Linux x64, libembree.dylib on MacOS): This is the optional Embree library. If this library is not present, then the RED::OPTIONS_RAY_USE_EMBREE option value should be disabled, or REDsdk will return a error if software rendering is used.
- libREDMetal.dylib: Specific library needed for OSX applications using REDsdk 5.2. Will be merged into REDCore in future releases.
Dependencies on windows
- REDsdk (REDCore.dll) does NOT need any Visual Studio redistributable to work.
- Embree (Embree.dll) does NOT need any Visual Studio redistributable to work.
- REDFbx.dll requires the Visual Studio 2010 redistributable package to work.
So, REDsdk does not have any dependency over any software package except if .FBX files are to be loaded. In this case, the Visual Studio 2010 redistributable package is needed to operate the Autodesk .FBX library.
REDResources.red dependency
From the version 4.3 some features of REDsdk depend on a REDResources.red external file. This file is provided with REDsdk next to the executables in the "BuildImage/config/" directory. Current features in need of this file are:
- background clouds (Adding clouds to the sky texture).
The file should be placed next to the final executable. Otherwise, if a call to a function that uses it is done, an error will be thrown.
![]() | Error tracking![]() |