[vtkusers] VTK binaries for Builder
William A. Hoffman
billlist at nycap.rr.com
Thu Feb 19 09:29:30 EST 2004
The source directory should be C:\VTK\VTK\ WITHOUT the CMake.
-Bill
At 09:07 AM 2/19/2004, =?iso-8859-2?B?UmFkaW0gS29s4fg=?= wrote:
>Hi all,
>I'm new in VTK and I have only little experiances with C++ Builder.
>
>I have problem with creating the DLL files from VTK source files.
>
>1. I've download the source files: VTK-4.2-LatestRelease.zip and unpacked it to c:\VTK\VTK
>2. I've install and run the Cmake.
>3. Set the directory for source code to C:\VTK\VTK\CMake
>4. Set the diractory for binaries to C:\VTK\binary
>5. Press configure and OK (but only some values are visible)
>6. The Makefile is generated
>7. Run make, BUT only these files were generated (DLL, TDS and LIB)
> cmVTK_WRAP_TCL2.dll
> cmVTK_WRAP_PYTHON2.dll
> cmVTK_WRAP_JAVA2.dll
> cmVTK_MAKE_INSTANTIATOR2.dll
> cmVTK_GENERATE_JAVA_DEPENDENCIES.dll
>
>Where is the problem please?
>Thanks,
> Radim
>Here is the Makefile
>
># CMAKE generated Makefile, DO NOT EDIT!
># Generated by "Borland Makefiles" Generator, CMake Version 1.8
># Generated from the following files:
># C:/VTK/binary/CMakeCache.txt
># C:/Program Files/CMake/Modules/CMakeDefaultMakeRuleVariables.cmake
># C:/Program Files/CMake/Modules/CMakeSystemSpecificInformation.cmake
># C:/Program Files/CMake/Modules/Platform/Windows-bcc32.cmake
># C:/Program Files/CMake/Modules/Platform/Windows.cmake
># C:/VTK/VTK/CMake/CMakeLists.txt
># C:/VTK/binary/CMakeCCompiler.cmake
># C:/VTK/binary/CMakeCXXCompiler.cmake
># C:/VTK/binary/CMakeSystem.cmake
>
>
># disable some common implicit rules to speed things up
>.SUFFIXES:
>.SUFFIXES:.hpuxmakemusthaverule
>CMAKE_MAKEFILE_SOURCES = "C:\Program Files\CMake\Modules\CMakeDefaultMakeRuleVariables.cmake" "C:\Program Files\CMake\Modules\CMakeSystemSpecificInformation.cmake" "C:\Program Files\CMake\Modules\Platform\Windows-bcc32.cmake" "C:\Program Files\CMake\Modules\Platform\Windows.cmake" C:\VTK\VTK\CMake\CMakeLists.txt C:\VTK\binary\CMakeCCompiler.cmake C:\VTK\binary\CMakeCXXCompiler.cmake C:\VTK\binary\CMakeSystem.cmake C:\VTK\binary\CMakeCache.txt
>
>
>!IF "$(OS)" == "Windows_NT"
>NULL=
>!ELSE
>NULL=nul
>!ENDIF
>CMAKE_COMMAND = C:\PROGRA~1\CMake\bin\cmake.exe
>RM = C:\PROGRA~1\CMake\bin\cmake.exe -E remove -f
>CMAKE_EDIT_COMMAND = C:\PROGRA~1\CMake\bin\CMAKES~1.EXE
>CMAKE_CURRENT_SOURCE = C:\VTK\VTK\CMake
>CMAKE_CURRENT_BINARY = C:\VTK\binary
>CMAKE_SOURCE_DIR = C:\VTK\VTK\CMake
>CMAKE_BINARY_DIR = C:\VTK\binary
>INCLUDE_FLAGS = -IC:\VTK\VTK\CMake -IC:\PROGRA~1\CMake\include -I"C:\Program Files\CMake\Source"
>
>#---------------------------------------------------------
># Default target executed when no arguments are given to make, first make sure cmake.depends exists, cmake.check_depends is up-to-date, check the sources, then build the all target
>#
>
>default_target: C:\VTK\binary\cmake.check_cache
> $(MAKE) $(MAKESILENT) cmake.depends
> $(MAKE) $(MAKESILENT) cmake.check_depends
> $(MAKE) $(MAKESILENT) -f cmake.check_depends
> $(MAKE) $(MAKESILENT) -$(MAKEFLAGS) all
>
># Suppresses display of executed commands
>$(VERBOSE).SILENT:
>
>help:
> @echo The following are some of the valid targets for this Makefile:
> @echo ... all (the default if no target is provided)
> @echo ... clean
> @echo ... depend
> @echo ... rebuild_cache
> @echo ... cmVTK_GENERATE_JAVA_DEPENDENCIES.dll
> @echo ... cmVTK_MAKE_INSTANTIATOR2.dll
> @echo ... cmVTK_WRAP_JAVA2.dll
> @echo ... cmVTK_WRAP_PYTHON2.dll
> @echo ... cmVTK_WRAP_TCL2.dll
>
>
>TARGETS = \
>cmVTK_GENERATE_JAVA_DEPENDENCIES.dll \
>cmVTK_MAKE_INSTANTIATOR2.dll \
>cmVTK_WRAP_JAVA2.dll \
>cmVTK_WRAP_PYTHON2.dll \
>cmVTK_WRAP_TCL2.dll
>
>cmVTK_GENERATE_JAV_SRC_OBJS0000 = \
>cmVTKGenerateJavaDependencies.obj
>
>cmVTK_GENER_SRC_OBJS_QUOTED0000 = \
>"cmVTKGenerateJavaDependencies.obj"
>
>cmVTK_MAKE_INSTANT_SRC_OBJS0000 = \
>cmVTKMakeInstantiator2Command.obj
>
>cmVTK_MAKE__SRC_OBJS_QUOTED0000 = \
>"cmVTKMakeInstantiator2Command.obj"
>
>cmVTK_WRAP_JAVA2_SRC_OBJS = \
>cmVTKWrapJava2Command.obj
>
>cmVTK_WRAP_JAVA2_SRC_OBJS_QUOTED = \
>"cmVTKWrapJava2Command.obj"
>
>cmVTK_WRAP_PYTHON2_SRC_OBJS = \
>cmVTKWrapPython2Command.obj
>
>cmVTK_WRAP__SRC_OBJS_QUOTED0000 = \
>"cmVTKWrapPython2Command.obj"
>
>cmVTK_WRAP_TCL2_SRC_OBJS = \
>cmVTKWrapTcl2Command.obj
>
>cmVTK_WRAP_TCL2_SRC_OBJS_QUOTED = \
>"cmVTKWrapTcl2Command.obj"
>
>CLEAN_OBJECT_FILES = $(cmVTK_GENERATE_JAV_SRC_OBJS0000) $(cmVTK_MAKE_INSTANT_SRC_OBJS0000) $(cmVTK_WRAP_JAVA2_SRC_OBJS) $(cmVTK_WRAP_PYTHON2_SRC_OBJS) $(cmVTK_WRAP_TCL2_SRC_OBJS)
>
>cmVTK_GENERATE__DEPEND_LIBS0000 =
>cmVTK_MAKE_INST_DEPEND_LIBS0000 =
>cmVTK_WRAP_JAVA2_DEPEND_LIBS =
>cmVTK_WRAP_PYTHON2_DEPEND_LIBS =
>cmVTK_WRAP_TCL2_DEPEND_LIBS =
>
>#---------------------------------------------------------
># shared module
>#
>
>cmVTK_GENERATE_JAVA_DEPENDENCIES.dll: $(cmVTK_GENERATE_JAV_SRC_OBJS0000) $(cmVTK_GENERATE__DEPEND_LIBS0000)
> @echo Building shared module cmVTK_GENERATE_JAVA_DEPENDENCIES.dll...
> $(RM) cmVTK_GENERATE_JAVA_DEPENDENCIES.dll
> bcc32 @&&|
>-ecmVTK_GENERATE_JAVA_DEPENDENCIES.dll -tWD -tWR import32.lib $(cmVTK_GENERATE_JAV_SRC_OBJS0000)
>|
> implib -w cmVTK_GENERATE_JAVA_DEPENDENCIES.lib cmVTK_GENERATE_JAVA_DEPENDENCIES.dll
>
>#---------------------------------------------------------
># shared module
>#
>
>cmVTK_MAKE_INSTANTIATOR2.dll: $(cmVTK_MAKE_INSTANT_SRC_OBJS0000) $(cmVTK_MAKE_INST_DEPEND_LIBS0000)
> @echo Building shared module cmVTK_MAKE_INSTANTIATOR2.dll...
> $(RM) cmVTK_MAKE_INSTANTIATOR2.dll
> bcc32 @&&|
>-ecmVTK_MAKE_INSTANTIATOR2.dll -tWD -tWR import32.lib $(cmVTK_MAKE_INSTANT_SRC_OBJS0000)
>|
> implib -w cmVTK_MAKE_INSTANTIATOR2.lib cmVTK_MAKE_INSTANTIATOR2.dll
>
>#---------------------------------------------------------
># shared module
>#
>
>cmVTK_WRAP_JAVA2.dll: $(cmVTK_WRAP_JAVA2_SRC_OBJS) $(cmVTK_WRAP_JAVA2_DEPEND_LIBS)
> @echo Building shared module cmVTK_WRAP_JAVA2.dll...
> $(RM) cmVTK_WRAP_JAVA2.dll
> bcc32 @&&|
>-ecmVTK_WRAP_JAVA2.dll -tWD -tWR import32.lib $(cmVTK_WRAP_JAVA2_SRC_OBJS)
>|
> implib -w cmVTK_WRAP_JAVA2.lib cmVTK_WRAP_JAVA2.dll
>
>#---------------------------------------------------------
># shared module
>#
>
>cmVTK_WRAP_PYTHON2.dll: $(cmVTK_WRAP_PYTHON2_SRC_OBJS) $(cmVTK_WRAP_PYTHON2_DEPEND_LIBS)
> @echo Building shared module cmVTK_WRAP_PYTHON2.dll...
> $(RM) cmVTK_WRAP_PYTHON2.dll
> bcc32 @&&|
>-ecmVTK_WRAP_PYTHON2.dll -tWD -tWR import32.lib $(cmVTK_WRAP_PYTHON2_SRC_OBJS)
>|
> implib -w cmVTK_WRAP_PYTHON2.lib cmVTK_WRAP_PYTHON2.dll
>
>#---------------------------------------------------------
># shared module
>#
>
>cmVTK_WRAP_TCL2.dll: $(cmVTK_WRAP_TCL2_SRC_OBJS) $(cmVTK_WRAP_TCL2_DEPEND_LIBS)
> @echo Building shared module cmVTK_WRAP_TCL2.dll...
> $(RM) cmVTK_WRAP_TCL2.dll
> bcc32 @&&|
>-ecmVTK_WRAP_TCL2.dll -tWD -tWR import32.lib $(cmVTK_WRAP_TCL2_SRC_OBJS)
>|
> implib -w cmVTK_WRAP_TCL2.lib cmVTK_WRAP_TCL2.dll
>
>#---------------------------------------------------------
># default build rule
>#
>
>all: cmake.depends $(TARGETS) $(SUBDIR_BUILD)
>
>#---------------------------------------------------------
># clean generated files
>#
>
>clean: $(SUBDIR_CLEAN)
> -@ $(RM) $(CLEAN_OBJECT_FILES) $(TARGETS) $(GENERATED_QT_FILES) $(GENERATED_FLTK_FILES)
>
>#---------------------------------------------------------
># dependencies.
>#
>
>cmake.depends: C:\VTK\binary\cmake.check_cache
>cmake.depends: $(CMAKE_MAKEFILE_SOURCES)
> @echo Building dependencies. cmake.depends...
> $(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
>
>#---------------------------------------------------------
># dependencies
>#
>
>cmake.check_depends: C:\VTK\VTK\CMake\cmVTKGenerateJavaDependencies.c
>cmake.check_depends: C:\VTK\VTK\CMake\cmVTKMakeInstantiator2Command.c
>cmake.check_depends: C:\VTK\VTK\CMake\cmVTKWrapJava2Command.c
>cmake.check_depends: C:\VTK\VTK\CMake\cmVTKWrapPython2Command.c
>cmake.check_depends: C:\VTK\VTK\CMake\cmVTKWrapTcl2Command.c
> @echo Building dependencies cmake.check_depends...
> $(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
>
>#---------------------------------------------------------
># dependencies
>#
>
>depend: $(SUBDIR_DEPEND)
> @echo Building dependencies depend...
> $(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
>
>#---------------------------------------------------------
># dependencies
>#
>
>dependlocal:
> @echo Building dependencies dependlocal...
> $(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
>
>#---------------------------------------------------------
># CMakeCache.txt
>#
>
>rebuild_cache: $(CMAKE_BINARY_DIR)/CMakeCache.txt
> @echo Building CMakeCache.txt rebuild_cache...
> $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
>
>#---------------------------------------------------------
># CMakeCache.txt because out-of-date:
>#
>
>C:\VTK\binary\cmake.check_cache: C:\VTK\binary\CMakeCache.txt
>C:\VTK\binary\cmake.check_cache: $(CMAKE_MAKEFILE_SOURCES)
> @echo Building CMakeCache.txt because out-of-date: C:\VTK\binary\cmake.check_cache...
> $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
>
>#---------------------------------------------------------
># edit CMakeCache.txt
>#
>
>edit_cache:
> @echo Building edit CMakeCache.txt edit_cache...
> $(CMAKE_EDIT_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
>
>#---------------------------------------------------------
># CMakeCache.txt
>#
>
>$(CMAKE_BINARY_DIR)\CMakeCache.txt:
> @echo Building CMakeCache.txt $(CMAKE_BINARY_DIR)/CMakeCache.txt...
> $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
>
>#---------------------------------------------------------
># Rule to keep make from removing Makefiles if control-C is hit during a run of cmake.
>#
>
>.PRECIOUS: Makefile cmake.depends
>
># Rules to build .obj files from their sources:
>#---------------------------------------------------------
># object file
>#
>
>cmVTKGenerateJavaDependencies.obj: C:\VTK\VTK\CMake\cmVTKGenerateJavaDependencies.c
> @echo Building object file cmVTKGenerateJavaDependencies.obj...
> bcc32 @&&|
>-DWIN32 -ocmVTKGenerateJavaDependencies.obj -DcmVTK_GENERATE_JAVA_DEPENDENCIES_EXPORTS -w- -whid -waus -tWM -Od -v $(INCLUDE_FLAGS) -c C:\VTK\VTK\CMake\cmVTKGenerateJavaDependencies.c
>|
>
>#---------------------------------------------------------
># object file
>#
>
>cmVTKMakeInstantiator2Command.obj: C:\VTK\VTK\CMake\cmVTKMakeInstantiator2Command.c
> @echo Building object file cmVTKMakeInstantiator2Command.obj...
> bcc32 @&&|
>-DWIN32 -ocmVTKMakeInstantiator2Command.obj -DcmVTK_MAKE_INSTANTIATOR2_EXPORTS -w- -whid -waus -tWM -Od -v $(INCLUDE_FLAGS) -c C:\VTK\VTK\CMake\cmVTKMakeInstantiator2Command.c
>|
>
>#---------------------------------------------------------
># object file
>#
>
>cmVTKWrapJava2Command.obj: C:\VTK\VTK\CMake\cmVTKWrapJava2Command.c
> @echo Building object file cmVTKWrapJava2Command.obj...
> bcc32 @&&|
>-DWIN32 -ocmVTKWrapJava2Command.obj -DcmVTK_WRAP_JAVA2_EXPORTS -w- -whid -waus -tWM -Od -v $(INCLUDE_FLAGS) -c C:\VTK\VTK\CMake\cmVTKWrapJava2Command.c
>|
>
>#---------------------------------------------------------
># object file
>#
>
>cmVTKWrapPython2Command.obj: C:\VTK\VTK\CMake\cmVTKWrapPython2Command.c
> @echo Building object file cmVTKWrapPython2Command.obj...
> bcc32 @&&|
>-DWIN32 -ocmVTKWrapPython2Command.obj -DcmVTK_WRAP_PYTHON2_EXPORTS -w- -whid -waus -tWM -Od -v $(INCLUDE_FLAGS) -c C:\VTK\VTK\CMake\cmVTKWrapPython2Command.c
>|
>
>#---------------------------------------------------------
># object file
>#
>
>cmVTKWrapTcl2Command.obj: C:\VTK\VTK\CMake\cmVTKWrapTcl2Command.c
> @echo Building object file cmVTKWrapTcl2Command.obj...
> bcc32 @&&|
>-DWIN32 -ocmVTKWrapTcl2Command.obj -DcmVTK_WRAP_TCL2_EXPORTS -w- -whid -waus -tWM -Od -v $(INCLUDE_FLAGS) -c C:\VTK\VTK\CMake\cmVTKWrapTcl2Command.c
>|
>
>ARGS=
>#---------------------------------------------------------
># tests
>#
>
>test:
> @echo Building tests test...
> C:\PROGRA~1\CMake\bin\ctest.exe $(ARGS)
>
>!include cmake.depends
>
>
>
>
>
>
>======================================================
>Department of Biomedical Engineering
>Faculty of Electrical Engineering and Communication
>Brno University of Technology
>Purkynova 118
>61200 Brno, Czech Republic
>tel: 541 149 551
>fax: 541 149 542
>mail: <mailto:kolarr at feec.vutbr.cz>kolarr at feec.vutbr.cz
>Visit BIOSIGNAL 2004 web site: <http://www.feec.vutbr.cz/UBMI/bs2004.html>http://www.feec.vutbr.cz/UBMI/bs2004.html
>======================================================
More information about the vtkusers
mailing list