![]() |
Open Producer |
Open Producer Overview Prerequisites Download Install Documentation Related Links OpenGL OpenSceneGraph Andes Computer Engineering |
Compiling and Installing Open Producer On Windows The Windows build uses Microsoft Visual Studio 6. After downloading and upacking the source code the Visual Studio workspace file can be found at Producer/VC++6.0/Producer.dsw. Before building ensure that both pthreads and STLport have been installed. Within Visual Studio, select Tools->Options and click on Directories. Add the include directory for pthreads (for example C:\Program Files\Pthreads \include), and the include directory for STLport (for example C:\Program Files\STLport-4.5.3\include). Place the precedence for the STLport include directory at the top of the list. Ensure that the pthreads dlls are in your PATH. Select Build->Batch Build and click Build. This will build the debug and optimized version of the library and several test programs. On Linux and Unix (including Mac OS X). The build system for Unix variants is based on GNU make to make use of gmake conditionals. If your system does not come with gmake installed, you may get it from http://www.gnu.org/software/make/make.html To build Producer type 'gmake' in the top level directory. %cd Producer
%gmake To install Producer type % gmake install
By default, Producer installs the library and header files in /usr/local/lib/ and /usr/local/include respectively (Linux, IRIX, Mac OSX), or /opt/Producer/lib and /opt/Producer/include(Solaris). There are many optional builds the details of which are available by issuing: % gmake help
The tests are not built by default. To build the tests, issue 'gmake' in the Test subdirectory: % cd Test
% gmake There is a work-in-progress Tutorial, which has some example source code. These programs may be built in the doc/Tutorial/Source code directory by issuing 'gmake' there. % cd doc/Tutorial/SourceCode
% gmake |