Hi Ayla,
this is good to know since my gcc -V tells me 3.4.3
ChrisOn Wed, Apr 18, 2012 at 11:38 PM, Ayla Khan <ayla@sci.utah.edu> wrote:
Hi Chris,According to this page (http://www.boost.org/doc/libs/1_46_1/libs/msm/doc/HTML/ch04s03.html), the boost library we ship with Seg3D2 (1.46.1) supports g++ 4.0.1 and higher.AylaOn Apr 14, 2012, at 4:36 PM, Chris Arthur wrote:I'll try it. Also I am trying to install a new version of gcc just to see if mine is too old for boost..some solaris systems seem to suffer this way.
Thanks,
ChrisOn Thu, Apr 5, 2012 at 12:21 AM, Ayla Khan <ayla@sci.utah.edu> wrote:
Hi Chris,I think there's a problem with the macro BOOST_PYTHON_OFFSETOF in src/Externals/boost/boost/python/detail/config.hpp and the BOOST_STATIC_CONSTANT in src/Externals/boost//boost/config/suffix.hpp - you may have to experiment a bit to see which macro is being enabled.If this gets to be too difficult, the Windows version works well on Windows XP - we test on both Windows XP 32-bit and 64-bit platforms.AylaOn Apr 4, 2012, at 11:50 AM, Chris Arthur wrote:Lots of progress...
make is in 70% or so... using a soft link ln -s , I just put the X11 directory into the src/.../glew directory, and that was good. Later with another tool...gdcm...one file has a SunOs preprocessor statement that had been removed. Now I'm stuck at boost/python.
... from /export/home/chris/Seg3D2/src/Externals/boost/libs/python/src/numeric.cpp:6:
/export/home/chris/Seg3D2/src/Externals/boost/boost/python/object/instance.hpp:44: error: a casts to a type other than an integral or enumeration type cannot appear in a constant-_expression_
/export/home/chris/Seg3D2/src/Externals/boost/boost/python/object/instance.hpp:44: error: '->' cannot appear in a constant-_expression_
/export/home/chris/Seg3D
...
ChrisOn Tue, Apr 3, 2012 at 11:32 AM, Chris Arthur <chris.arthur1@gmail.com> wrote:Now it with progress to 10%, but here's the next error...not finding the include files...although it's odd., cmake -i asked for the path and the full path didn't change this problem
Chris
Perhaps it's going to be too tough and I should try XP...
....
make[2]: Leaving directory `/export/home/chris/Seg3D2/bin'
make -f Externals/glew/CMakeFiles/glew.dir/build.make Externals/glew/CMakeFiles/glew.dir/build
make[2]: Entering directory `/export/home/chris/Seg3D2/bin'
/usr/local/bin/cmake -E cmake_progress_report /export/home/chris/Seg3D2/bin/CMakeFiles
[ 11%] Building C object Externals/glew/CMakeFiles/glew.dir/glew.c.o
cd /export/home/chris/Seg3D2/bin/Externals/glew && /usr/bin/gcc -DSCI_32BITS -DGLEW_STATIC -DTEEM_STATIC -DLIBXML_STATIC -DTINYXML_STATIC -DBOOST_ALL_NO_LIB -DQT_NO_KEYWORDS -DTIXML_USE_STL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DBUILD_WITH_PYTHON -DPy_NO_ENABLE_SHARED -DBOOST_PYTHON_STATIC_MODULE -DBOOST_PYTHON_STATIC_LIB -DGLEW_STATIC -DQT_NO_DEBUG -O3 -DNDEBUG -I/usr/local/Trolltech/Qt-4.7.4/include -I/usr/local/Trolltech/Qt-4.7.4/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.7.4/include/QtGui -I/usr/local/Trolltech/Qt-4.7.4/include/QtCore -I/export/home/chris/Seg3D2/src/Externals/glew/include -Wno-deprecated-declarations -o CMakeFiles/glew.dir/glew.c.o -c /export/home/chris/Seg3D2/src/Externals/glew/glew.c
In file included from /export/home/chris/Seg3D2/src/Externals/glew/glew.c:36:
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:66:22: X11/Xlib.h: Ce fichier ou ce répertoire n'existe pas
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:67:23: X11/Xutil.h: Ce fichier ou ce répertoire n'existe pas
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:68:21: X11/Xmd.h: Ce fichier ou ce répertoire n'existe pas
In file included from /export/home/chris/Seg3D2/src/Externals/glew/glew.c:36:
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:105: error: syntax error before "GLXDrawable"
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:105: warning: data definition has no type or storage class
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:106: error: syntax error before "GLXPixmap"
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:106: warning: data definition has no type or storage class
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:113: error: syntax error before "glXQueryExtension"
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:113: error: syntax error before '*' token
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:113: warning: data definition has no type or storage class
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:114: error: syntax error before "glXQueryVersion"
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:114: error: syntax error before '*' token
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:114: warning: data definition has no type or storage class
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:115: error: syntax error before '*' token
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:116: error: syntax error before '*' token
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:116: error: syntax error before '*' token
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:116: warning: data definition has no type or storage class
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:117: error: syntax error before "glXCreateGLXPixmap"
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:117: error: syntax error before '*' token
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:117: warning: data definition has no type or storage class
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:118: error: syntax error before '*' token
/export/home/chris/Seg3D2/src/Externals/glew/include/GL/glxew.h:119: error: syntax error before '*' token
/export/home/chris/Seg3D2/src/Externals/glewOn Tue, Apr 3, 2012 at 10:33 AM, Chris Arthur <chris.arthur1@gmail.com> wrote:
Thanks. I found that the typedef modification improved the compilation. There is now no error, but instead an (unrelated) issue is that in making, the Xlib files are not found, so presently I am using cmake -i with the "advanced options" to give full paths to all the X-files ;-), and it's a bit tricky.
ChrisOn Tue, Mar 27, 2012 at 6:16 PM, Ayla Khan <ayla@sci.utah.edu> wrote:
Hi Chris,I've generated a patch for your code, which should define the missing symbol for you using uint32_t (it looks like u_int32_t is an old BSD type).Save the patch file to your Seg3D2 directory and use patch level -p0 or --strip=0 to apply the patch. If this works for you, I'll add the fix to the Subversion repository and make it available in the next release.AylaOn Mar 27, 2012, at 9:25 AM, Chris Arthur wrote:Hi Ayla,
Here is what I discovered in CMakeCache and the man pages for types.h and types32.h,
CMakeCache:
//Have include sys/types.h
HAVE_SYS_TYPES_H:INTERNAL=1
I found not a listing for u_int32_t in the header files but similar things, i.e., uint32_t or uint_t....
NAME
types32.h, types32 - fixed-width data types
SYNOPSIS
#include <sys/types32.h>
...
typedef uint32_t ino32_t
typedef int32_t key32_t
typedef uint32_t major32_t
typedef uint32_t minor32_t
typedef uint32_t mode32_t
Thanks,
Chris....
----------------------------------------------------------------------------------------------
NAME
types32.h, types32 - fixed-width data types
SYNOPSIS
#include <sys/types32.h>
DESCRIPTION
The following fixed-width data types defined in
<sys/types32.h> correspond to the sign and sizes of types in
the 32-bit environment that can be used for compatibility
and interoperability purposes in either the 32-bit or 64-bit
environment.
typedef int32_t blkcnt32_t
typedef uint32_t caddr32_t
typedef int32_t clock32_t
typedef int32_t daddr32_t
typedef uint32_t dev32_t
typedef uint32_t fsblkcnt32_t
typedef uint32_t fsfilcnt32_t
typedef int32_t gid32_t
typedef int32_t id32_t
typedef uint32_t ino32_t
typedef int32_t key32_t
typedef uint32_t major32_t
typedef uint32_t minor32_t
typedef uint32_t mode32_t
typedef uint32_t nlink32_t
typedef int32_t pid32_t
typedef uint32_t rlim32_t
typedef uint32_t size32_t
typedef int32_t ssize32_t
typedef time32_t int32_t
typedef uid32_t int32_t
SunOS 5.11 Last change: 30 Oct 1997 1On Mon, Mar 26, 2012 at 11:02 PM, Ayla Khan <ayla@sci.utah.edu> wrote:Hi Chris,The missing type u_int32_t is defined in a types.h header file on Linux and OS X - frequently either in sys/types.h or in an architecture-specific types.h header included in sys/types.h. If the header has been found, you will find an entry in the Seg3d2 bin/CMakeCache.txt file that will look something like://Have include sys/types.hHAVE_SYS_TYPES_H:INTERNAL=1Please check your bin/CMakeCache.txt file and let me know what HAVE_SYS_TYPES_H is set to. Also, if sys/types.h has been detected, please check the appropriate types.h header(s) to see if u_int32_t is typedef'd or defined.Thanks,AylaOn Mar 25, 2012, at 2:01 PM, Chris Arthur wrote:Hello, Ayla,
Here is info for Seg3d on Solaris.
By the way, I am curious for Seg3D because I have an x-ray of my body in DICOM and I have some experience in geometry so to know better.
This is OpenSolaris installed in 2007 approximately
chris@alcestis:~/Seg3D_2.1.3-code/bin$ uname -a
SunOS alcestis 5.11 snv_111b i86pc i386 i86pc Solaris
(nevada) I think.
chris@alcestis:~/Seg3D_2.1.3-code/bin$ which make
/usr/gnu/bin/make
chris@alcestis:~/Seg3D_2.1.3-code/bin$ cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ../src
-- Configuring RPATH settings
-- Configuring External Packages
-- Configuring zlib
-- Configuring MatlabIO
-- Configuring libpng
-- Configuring teem
-- Configuring glew
-- Configuring freetype
-- Configuring tinyxml
-- Configuring SQLite
-- Configuring GDCM
-- Configuring insight toolkit
CMake Warning (dev) at Externals/itk/CMakeLists.txt:147 (LINK_DIRECTORIES):
This command specifies the relative path
.
as a link directory.
Policy CMP0015 is not set: link_directories() treats paths relative to the
source dir. Run "cmake --help-policy CMP0015" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
Attention: You have chosen to use the new statistics framework instead of the existing framework. The statistics classes have been re-designed/refactored and in several cases do not conform to the API of the older framework. You may need to change your code to use the new API.
Attention: You have chosen to use the files in the Review directory. The Copyright of these files has not been cleared up, and the coding style and API of the classes in the Review directory may change drastically as it get code reviews from the developers. Please set ITK_USE_REVIEW to OFF if you don't want to use these files.
-- Configuring MRC2000
-- Configuring python
-- Python version 3.2.0
-- Using unsigned short for unicode
-- Adding _thread as static module
-- Adding _io as static module
-- Adding _multiprocessing as static module
-- Adding zlib as static module
-- Adding atexit as static module
-- Adding _pickle as static module
-- Adding array as static module
-- Adding binascii as static module
-- Adding cmath as static module
-- Adding errno as static module
-- Adding math as static module
-- Adding posix as static module
-- Adding operator as static module
-- Adding signal as static module
-- Adding _md5 as static module
-- Adding _sha1 as static module
-- Adding _sha256 as static module
-- Adding _sha512 as static module
-- Adding time as static module
-- Adding _locale as static module
-- Adding _codecs as static module
-- Adding _weakref as static module
-- Adding _random as static module
-- Adding _bisect as static module
-- Adding _heapq as static module
-- Adding _lsprof as static module
-- Adding itertools as static module
-- Adding _collections as static module
-- Adding _symtable as static module
-- Adding mmap as static module
-- Adding _csv as static module
-- Adding _sre as static module
-- Adding parser as static module
-- Adding _struct as static module
-- Adding _datetime as static module
-- Adding _functools as static module
-- Adding _json as static module
-- Adding xxsubtype as static module
-- Adding zipimport as static module
-- Adding select as static module
-- Adding pwd as static module
-- Adding _posixsubprocess as static module
-- Adding fcntl as static module
-- Adding grp as static module
-- Adding _multibytecodec as static module
-- Adding _codecs_cn as static module
-- Adding _codecs_hk as static module
-- Adding _codecs_iso2022 as static module
-- Adding _codecs_jp as static module
-- Adding _codecs_kr as static module
-- Adding _codecs_tw as static module
-- Adding _string as static module
-- Configuring boost
-- Configuring Seg3D2
-- Configuring Seg3D Core
-- Configuring Seg3D Application
-- Configuring Seg3D Interface
-- Configuring Seg3D Plugins
-- Configuring Seg3D Resources
-- Configuring Seg3D main
-- Configuring Seg3D registered functions
-- Configuring action python wrapper functions
-- Configuring Seg3D packaging
-- Configuring done
-- Generating done
-- Build files have been written to: /export/home/chris/Seg3D_2.1.3-code/bin
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
chris@alcestis:~/Seg3D_2.1.3-code/bin$ make
/usr/local/bin/cmake -H/export/home/chris/Seg3D_2.1.3-code/src -B/export/home/chris/Seg3D_2.1.3-code/bin --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/cmake -E cmake_progress_start /export/home/chris/Seg3D_2.1.3-code/bin/CMakeFiles /export/home/chris/Seg3D_2.1.3-code/bin/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/export/home/chris/Seg3D_2.1.3-code/bin'
make -f Externals/zlib/CMakeFiles/zlib.dir/build.make Externals/zlib/CMakeFiles/zlib.dir/depend
make[2]: Entering directory `/export/home/chris/Seg3D_2.1.3-code/bin'
cd /export/home/chris/Seg3D_2.1.3-code/bin && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /export/home/chris/Seg3D_2.1.3-code/src /export/home/chris/Seg3D_2.1.3-code/src/Externals/zlib /export/home/chris/Seg3D_2.1.3-code/bin /export/home/chris/Seg3D_2.1.3-code/bin/Externals/zlib /export/home/chris/Seg3D_2.1.3-code/bin/Externals/zlib/CMakeFiles/zlib.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/export/home/chris/Seg3D_2.1.3-code/bin'
make -f Externals/zlib/CMakeFiles/zlib.dir/build.make Externals/zlib/CMakeFiles/zlib.dir/build
make[2]: Entering directory `/export/home/chris/Seg3D_2.1.3-code/bin'
Linking C static library libzlib.a
cd /export/home/chris/Seg3D_2.1.3-code/bin/Externals/zlib && /usr/local/bin/cmake -P CMakeFiles/zlib.dir/cmake_clean_target.cmake
cd /export/home/chris/Seg3D_2.1.3-code/bin/Externals/zlib && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/zlib.dir/link.txt --verbose=1
/usr/bin/ar cr libzlib.a CMakeFiles/zlib.dir/adler32.c.o CMakeFiles/zlib.dir/compress.c.o CMakeFiles/zlib.dir/crc32.c.o CMakeFiles/zlib.dir/deflate.c.o CMakeFiles/zlib.dir/gzio.c.o CMakeFiles/zlib.dir/infback.c.o CMakeFiles/zlib.dir/inffast.c.o CMakeFiles/zlib.dir/inflate.c.o CMakeFiles/zlib.dir/inftrees.c.o CMakeFiles/zlib.dir/trees.c.o CMakeFiles/zlib.dir/uncompr.c.o CMakeFiles/zlib.dir/zutil.c.o
/usr/bin/ranlib libzlib.a
make[2]: Leaving directory `/export/home/chris/Seg3D_2.1.3-code/bin'
/usr/local/bin/cmake -E cmake_progress_report /export/home/chris/Seg3D_2.1.3-code/bin/CMakeFiles 100
[ 1%] Built target zlib
make -f Externals/MatlabIO/CMakeFiles/MatlabIO.dir/build.make Externals/MatlabIO/CMakeFiles/MatlabIO.dir/depend
make[2]: Entering directory `/export/home/chris/Seg3D_2.1.3-code/bin'
cd /export/home/chris/Seg3D_2.1.3-code/bin && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /export/home/chris/Seg3D_2.1.3-code/src /export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO /export/home/chris/Seg3D_2.1.3-code/bin /export/home/chris/Seg3D_2.1.3-code/bin/Externals/MatlabIO /export/home/chris/Seg3D_2.1.3-code/bin/Externals/MatlabIO/CMakeFiles/MatlabIO.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/export/home/chris/Seg3D_2.1.3-code/bin'
make -f Externals/MatlabIO/CMakeFiles/MatlabIO.dir/build.make Externals/MatlabIO/CMakeFiles/MatlabIO.dir/build
make[2]: Entering directory `/export/home/chris/Seg3D_2.1.3-code/bin'
/usr/local/bin/cmake -E cmake_progress_report /export/home/chris/Seg3D_2.1.3-code/bin/CMakeFiles
[ 1%] Building CXX object Externals/MatlabIO/CMakeFiles/MatlabIO.dir/matfile.cc.o
cd /export/home/chris/Seg3D_2.1.3-code/bin/Externals/MatlabIO && /usr/bin/c++ -DSCI_32BITS -DGLEW_STATIC -DTEEM_STATIC -DLIBXML_STATIC -DTINYXML_STATIC -DBOOST_ALL_NO_LIB -DQT_NO_KEYWORDS -DTIXML_USE_STL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DBUILD_WITH_PYTHON -DPy_NO_ENABLE_SHARED -DBOOST_PYTHON_STATIC_MODULE -DBOOST_PYTHON_STATIC_LIB -DZ_PREFIX -DQT_NO_DEBUG -O3 -DNDEBUG -I/usr/local/Trolltech/Qt-4.7.4/include -I/usr/local/Trolltech/Qt-4.7.4/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.7.4/include/QtGui -I/usr/local/Trolltech/Qt-4.7.4/include/QtCore -I/export/home/chris/Seg3D_2.1.3-code/src/Externals/zlib -o CMakeFiles/MatlabIO.dir/matfile.cc.o -c /export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfile.cc
In file included from /export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfile.h:92,
from /export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfile.cc:56:
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `void MatlabIO::matfiledata::getandcast(T*, int)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:270: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:270: error: (Each undeclared identifier is reported only once for each function it appears in.)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:270: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:270: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:270: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:270: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:270: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:270: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `void MatlabIO::matfiledata::getandcast(T**, int, int)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:342: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:342: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:342: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:342: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:342: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:342: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:342: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `void MatlabIO::matfiledata::getandcast(T***, int, int, int)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:422: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:422: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:422: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:422: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:422: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:422: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:422: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `void MatlabIO::matfiledata::getandcastvector(std::vector<T, std::allocator<_CharT> >&)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:488: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:488: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:488: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:488: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:488: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:488: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:488: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `T MatlabIO::matfiledata::getandcastvalue(int)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:541: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:541: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:541: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:541: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:541: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:541: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:541: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `void MatlabIO::matfiledata::putandcast(T*, int, MatlabIO::matfilebase::mitype)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:602: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:602: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:602: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:602: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:602: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:602: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:602: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:603: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `void MatlabIO::matfiledata::putandcast(T**, int, int, MatlabIO::matfilebase::mitype)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:668: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:668: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:668: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:668: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:668: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:668: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:668: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:670: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `void MatlabIO::matfiledata::putandcast(T***, int, int, int, MatlabIO::matfilebase::mitype)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:738: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:738: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:738: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:738: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:738: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:738: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:738: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:740: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `void MatlabIO::matfiledata::putandcastvector(std::vector<T, std::allocator<_CharT> >&, MatlabIO::matfilebase::mitype)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:802: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:802: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:802: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:802: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:802: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:802: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:802: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:803: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h: In member function `void MatlabIO::matfiledata::putandcastvalue(T, int)':
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:851: error: `u_int32_t' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:851: error: `ptr' undeclared (first use this function)
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:851: error: `u_int32_t' has not been declared
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:851: error: expected `>' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:851: error: expected `(' before '*' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:851: error: expected primary-_expression_ before '>' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:851: error: expected `)' before ';' token
/export/home/chris/Seg3D_2.1.3-code/src/Externals/MatlabIO/matfiledata.h:851: error: `u_int32_t' has not been declared
make[2]: *** [Externals/MatlabIO/CMakeFiles/MatlabIO.dir/matfile.cc.o] Error 1
make[2]: Leaving directory `/export/home/chris/Seg3D_2.1.3-code/bin'
make[1]: *** [Externals/MatlabIO/CMakeFiles/MatlabIO.dir/all] Error 2
make[1]: Leaving directory `/export/home/chris/Seg3D_2.1.3-code/bin'
make: *** [all] Error 2
chris@alcestis:~/Seg3D_2.1.3-code/bin$
On Fri, Mar 23, 2012 at 12:10 AM, Ayla Khan <ayla@sci.utah.edu> wrote:Hi Chris,
Can you please send the Seg3D version you are building, the OS version, the compiler output, compiler and version information? If there isn't much detail, you can enable verbose make output by configuring the make build again using cmake in the Seg3D bin directory:
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ../src
We don't have any Solaris machines here - we generally work with and test on Linux, Mac OS X and Windows, but given enough information about your system we may be able to figure out your build problem.
Thanks,
Ayla
On Mar 22, 2012, at 5:32 PM, Chris Arthur wrote:
> Hello Seg3d,
>
> Good progress installing Seg3d up to the make. CMake finished without problem, Qt also installed, but make doesn't complete. Any suggestions?
>
> Cheers,
>
> Chris
>
Archive powered by MHonArc 2.6.16.