Difference between revisions of "Configure PLplot for Borland CXX 5.5 (free command line tools)"
From PLplotWiki
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | You need a working | + | You need a working Borland C++ 5.5 free command line tool installation. Start the command line interface and issue the following commands: |
cd plplot | cd plplot | ||
− | mkdir | + | mkdir buildbcc |
− | cd | + | cd buildbcc |
− | cmake -DCMAKE_INSTALL_PREFIX=install .. | + | cmake -G "Borland Makefiles" -DCMAKE_INSTALL_PREFIX=install .. |
make | make | ||
make install | make install | ||
− | This will build a shared plplot library and install all files into the directory <tt>plplot\ | + | This will build a shared plplot library and install all files into the directory <tt>plplot\buildbcc\install</tt>. The following options are available for cmake: |
* <tt>-DBUILD_SHARED_LIBS=OFF</tt>: static build of plplot | * <tt>-DBUILD_SHARED_LIBS=OFF</tt>: static build of plplot | ||
* <tt>-DCMAKE_VERBOSE_MAKEFILE=ON</tt>: makefiles provide verbose informations | * <tt>-DCMAKE_VERBOSE_MAKEFILE=ON</tt>: makefiles provide verbose informations | ||
* <tt>-DBUILD_TEST=ON</tt>: all examples will be built also (for test purposes) | * <tt>-DBUILD_TEST=ON</tt>: all examples will be built also (for test purposes) | ||
+ | * [[Configuration of wxWidgets driver]] | ||
If you used the <tt>-DBUILD_TEST=ON</tt> option, you need to copy some files in order to run the examples: | If you used the <tt>-DBUILD_TEST=ON</tt> option, you need to copy some files in order to run the examples: | ||
Line 18: | Line 19: | ||
cd examples\c | cd examples\c | ||
copy ..\..\..\data\*.fnt . | copy ..\..\..\data\*.fnt . | ||
+ | |||
+ | and additionally some dlls for a shared plplot built: | ||
+ | |||
+ | copy ..\..\src\libplplotd.dll . | ||
+ | copy "..\..\bindings\c++\libplplotcxxd.dll" . (for c++ examples) | ||
+ | copy ..\..\lib\csa\libcsirocsa.dll . (if library as built) | ||
+ | |||
+ | and for the wxWidgets driver (if wxWidgets library is shared): | ||
+ | |||
+ | copy %WXWIN%\lib\gcc_dll\wxmsw26d_bcc_custom.dll . | ||
+ | |||
+ | if this dll is not in the path. |
Latest revision as of 01:59, 13 September 2006
You need a working Borland C++ 5.5 free command line tool installation. Start the command line interface and issue the following commands:
cd plplot mkdir buildbcc cd buildbcc cmake -G "Borland Makefiles" -DCMAKE_INSTALL_PREFIX=install .. make make install
This will build a shared plplot library and install all files into the directory plplot\buildbcc\install. The following options are available for cmake:
- -DBUILD_SHARED_LIBS=OFF: static build of plplot
- -DCMAKE_VERBOSE_MAKEFILE=ON: makefiles provide verbose informations
- -DBUILD_TEST=ON: all examples will be built also (for test purposes)
- Configuration of wxWidgets driver
If you used the -DBUILD_TEST=ON option, you need to copy some files in order to run the examples:
cd examples\c copy ..\..\..\data\*.fnt .
and additionally some dlls for a shared plplot built:
copy ..\..\src\libplplotd.dll . copy "..\..\bindings\c++\libplplotcxxd.dll" . (for c++ examples) copy ..\..\lib\csa\libcsirocsa.dll . (if library as built)
and for the wxWidgets driver (if wxWidgets library is shared):
copy %WXWIN%\lib\gcc_dll\wxmsw26d_bcc_custom.dll .
if this dll is not in the path.