[vtkusers] Status of VTK+MinGW cmake error [WAS: compile VTK with msys + mingw]
Adalberto Castelo
castelo at qiwi.es.dupont.com
Mon Feb 7 10:19:47 EST 2005
I have the same problem as the original poster (find original message quoted
at the bottom), except no msys here: I start cmakesetup from a cmd shell with
the path fully defined to include the mingw tools. The full error message is:
"CMakeError: Error in cmake code at <path to vtk44
source>/CMake/vtkLoadCMakeExtensions.cmake:7:
LOAD_COMMAND Attempt to load command failed from file : cmVTK_WRAP_TCL2.dll"
What is the status on this problem? I'm including my CMakeError.log and
CMakeOutput.log below. Pardon me if I missed any responses to the OP.
TIA,
Adalberto
CMake 2.0 patch 5
MinGW 3.1.0-1
mingw32-make 3.80.0-3
ActiveState Tcl Dev Kit 3.1.1
MS Windows 2000
VTK 4.4 (also happens with vtk 4.2)
vanilla dell laptop
************* CMakeError.log:
Determining if the include file sys/prctl.h exists failed with the following
output:
"Building object file CheckIncludeFile.o..."
gcc.exe -o CheckIncludeFile.o -c
C:/VTK/CMakeTmp/CheckIncludeFile.c
C:/VTK/CMakeTmp/CheckIncludeFile.c:1:23: sys/prctl.h: No such file or
directory
make.exe: *** [CheckIncludeFile.o] Error 1
Determining if the include file pthread.h exists failed with the following
output:
"Building object file CheckIncludeFile.o..."
gcc.exe -o CheckIncludeFile.o -c
C:/VTK/CMakeTmp/CheckIncludeFile.c
C:/VTK/CMakeTmp/CheckIncludeFile.c:1:21: pthread.h: No such file or directory
make.exe: *** [CheckIncludeFile.o] Error 1
Determining the endianes of the system passed. The system is little endianTest
produced following output:
"Building object file TestBigEndian.o..."
gcc.exe -o TestBigEndian.o -c
C:/PROGRA~1/CMake20/Modules/TestBigEndian.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe TestBigEndian.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
************************************************************
************* CMakeOutput.log:
The system is: Windows - 5.0 - x86
Determining if the C compiler is GNU succeeded with the following output:
# 1 "C:/PROGRA~1/CMake20/Modules/CMakeTestGNU.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "C:/PROGRA~1/CMake20/Modules/CMakeTestGNU.c"
void THIS_IS_GNU();
void THIS_IS_MINGW();
Determining if the C++ compiler is GNU succeeded with the following output:
# 1 "C:/PROGRA~1/CMake20/Modules/CMakeTestGNU.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "C:/PROGRA~1/CMake20/Modules/CMakeTestGNU.c"
void THIS_IS_GNU();
void THIS_IS_MINGW();
Determining if the C compiler works passed with the following output:
"Building object file testCCompiler.o..."
gcc.exe -o testCCompiler.o -c C:/VTK/CMakeTmp/testCCompiler.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe testCCompiler.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining if the CXX compiler works passed with the following output:
"Building object file testCXXCompiler.o..."
c++.exe -o testCXXCompiler.o -c
C:/VTK/CMakeTmp/testCXXCompiler.cxx
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
c++.exe -fPIC testCXXCompiler.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining size of int passed with the following output:
"Building object file CheckTypeSize.o..."
gcc.exe -o CheckTypeSize.o -DCHECK_TYPE_SIZE_TYPE="int" -c
C:/PROGRA~1/CMake20/Modules/CheckTypeSize.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe -DCHECK_TYPE_SIZE_TYPE="int" CheckTypeSize.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining size of long passed with the following output:
"Building object file CheckTypeSize.o..."
gcc.exe -o CheckTypeSize.o -DCHECK_TYPE_SIZE_TYPE="long" -c
C:/PROGRA~1/CMake20/Modules/CheckTypeSize.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe -DCHECK_TYPE_SIZE_TYPE="long" CheckTypeSize.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining size of void* passed with the following output:
"Building object file CheckTypeSize.o..."
gcc.exe -o CheckTypeSize.o -DCHECK_TYPE_SIZE_TYPE="void*" -c
C:/PROGRA~1/CMake20/Modules/CheckTypeSize.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe -DCHECK_TYPE_SIZE_TYPE="void*" CheckTypeSize.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining size of char passed with the following output:
"Building object file CheckTypeSize.o..."
gcc.exe -o CheckTypeSize.o -DCHECK_TYPE_SIZE_TYPE="char" -c
C:/PROGRA~1/CMake20/Modules/CheckTypeSize.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe -DCHECK_TYPE_SIZE_TYPE="char" CheckTypeSize.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining size of short passed with the following output:
"Building object file CheckTypeSize.o..."
gcc.exe -o CheckTypeSize.o -DCHECK_TYPE_SIZE_TYPE="short" -c
C:/PROGRA~1/CMake20/Modules/CheckTypeSize.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe -DCHECK_TYPE_SIZE_TYPE="short" CheckTypeSize.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining size of float passed with the following output:
"Building object file CheckTypeSize.o..."
gcc.exe -o CheckTypeSize.o -DCHECK_TYPE_SIZE_TYPE="float" -c
C:/PROGRA~1/CMake20/Modules/CheckTypeSize.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe -DCHECK_TYPE_SIZE_TYPE="float" CheckTypeSize.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining size of double passed with the following output:
"Building object file CheckTypeSize.o..."
gcc.exe -o CheckTypeSize.o -DCHECK_TYPE_SIZE_TYPE="double" -c
C:/PROGRA~1/CMake20/Modules/CheckTypeSize.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe -DCHECK_TYPE_SIZE_TYPE="double" CheckTypeSize.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining if the include file limits.h exists passed with the following
output:
"Building object file CheckIncludeFile.o..."
gcc.exe -o CheckIncludeFile.o -c
C:/VTK/CMakeTmp/CheckIncludeFile.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe CheckIncludeFile.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining if the include file unistd.h exists passed with the following
output:
"Building object file CheckIncludeFile.o..."
gcc.exe -o CheckIncludeFile.o -c
C:/VTK/CMakeTmp/CheckIncludeFile.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe CheckIncludeFile.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining if the include file iostream exists passed with the following
output:
"Building object file CheckIncludeFile.o..."
c++.exe -o CheckIncludeFile.o -c
C:/VTK/CMakeTmp/CheckIncludeFile.cxx
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
c++.exe -fPIC CheckIncludeFile.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining if the CXX compiler has std namespace passed with the following
output:
"Building object file TestForSTDNamespace.o..."
c++.exe -o TestForSTDNamespace.o -c
C:/PROGRA~1/CMake20/Modules/TestForSTDNamespace.cxx
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
c++.exe -fPIC TestForSTDNamespace.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining if the CXX compiler understands ansi for scopes passed with the
following output:
"Building object file TestForAnsiForScope.o..."
c++.exe -o TestForAnsiForScope.o -c
C:/PROGRA~1/CMake20/Modules/TestForAnsiForScope.cxx
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
c++.exe -fPIC TestForAnsiForScope.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining if the include file sstream exists passed with the following
output:
"Building object file CheckIncludeFile.o..."
c++.exe -o CheckIncludeFile.o -c
C:/VTK/CMakeTmp/CheckIncludeFile.cxx
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
c++.exe -fPIC CheckIncludeFile.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
Determining size of long long passed with the following output:
"Building object file CheckTypeSize.o..."
gcc.exe -o CheckTypeSize.o -DCHECK_TYPE_SIZE_TYPE="long long" -c
C:/PROGRA~1/CMake20/Modules/CheckTypeSize.c
"Building executable C:/VTK/CMakeTmp/cmTryCompileExec.exe..."
gcc.exe -DCHECK_TYPE_SIZE_TYPE="long long" CheckTypeSize.o -o
C:/VTK/CMakeTmp/cmTryCompileExec.exe
On Friday 21 January 2005 09:02, William A. Hoffman wrote:
> Can you send CMakeError.log and CMakeOutput.log?
>
> At 05:15 AM 1/21/2005, Axel Steuwer wrote:
> >Dear All,
> >
> >I have a problem when trying to compile the VTK (4.4)
> >with mingw and msys (latest version). I open
> >an msys terminal, start 'cmakesetup' (version 2 patch 5)
> >and select the Unix Makefiles build.
> >During configuring, I always get an error
> >'LOAD_COMMAND Attempt to load command failed from
> >file: cmVTK_WRAP_TCL2.dll'. The system I use is a
> >dual AMD opteron with XP SP2.
> >Any help appreciated.
> >
> >Axel
> >
This communication is for use by the intended recipient and contains
information that may be privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender
by return e-mail and delete this e-mail from your system. Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer. This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.
Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean
http://www.DuPont.com/corp/email_disclaimer.html
More information about the vtkusers
mailing list