Code Monkey home page Code Monkey logo

Comments (2)

sosh avatar sosh commented on August 29, 2024

Field3D uses boost thread library and it requires boost to be built with
threading on. From your error message below it looks like the installed
boost version on your platform doesn't support threads.

On Sat, Jun 2, 2012 at 12:03 PM, panamala <
[email protected]

wrote:

from /data/imageworks-Field3D-94d1bf3/export/ClassFactory.h:50,
from
/data/imageworks-Field3D-94d1bf3/src/ClassFactory.cpp:44:
/usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error
"Sorry, no boost threads are available for this platform."In file included
from /data/imageworks-Field3D-94d1bf3/export/Field.h:53:0,
from /data/imageworks-Field3D-94d1bf3/src/Field.cpp:44:
/usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost
threads unavailable on this platform"

In file included from /data/imageworks-Field3D-94d1bf3/export/Field.h:53:0,
from
/data/imageworks-Field3D-94d1bf3/export/ClassFactory.h:50,
from
/data/imageworks-Field3D-94d1bf3/src/ClassFactory.cpp:44:
/usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost
threads unavailable on this platform"
le export/FieldMapping.h...
Generating code for file export/FieldMappingIO.h...
Generating code for file export/FieldMetadata.h...
Generating code for file export/Hdf5Util.h...
Generating code for file export/InitIO.h...
Generating code for file export/Log.h...
Generating code for file export/MACField.h...
Generating code for file export/MACFieldIO.h...
Generating code for file export/MACFieldUtil.h...
Generating code for file export/ns.h...
Generating code for file export/PluginLoader.h...
Generating code for file export/ProceduralField.h...
Generating code for file export/RefCount.h...
Generating code for file export/SparseDataReader.h...
Generating code for file export/SparseField.h...
Generating code for file export/SparseFieldIO.h...
Generating code for file export/SparseFile.h...
Generating code for file export/SpiMathLib.h...
Generating code for file export/StdMathLib.h...
Generating code for file export/Traits.h...
Generating code for file export/Types.h...
Generating code for file src/ClassFactory.cpIn file included from
/usr/local/include/boost/thread/detail/platform.hpp:17:0,
from /usr/local/include/boost/thread/mutex.hpp:12,
from /data/imageworks-Field3D-94d1bf3/export/Field.h:53,
from
/data/imageworks-Field3D-94d1bf3/export/EmptyField.h:51,
from
/data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:60,
from
/data/imageworks-Field3D-94d1bf3/src/Field3DFile.cpp:54:
/usr/local/include/boost/config/requires_threads.hpp:47:5: error: #error
"Compiler threading support is not turned on. Please set the correct
command line options for threading: -pthread (Linux), -pthreads (Solaris)
or -mthreads (Mingw32)"
In file included from /usr/local/include/boost/thread/mutex.hpp:12:0,
from /data/imageworks-Field3D-94d1bf3/export/Field.h:53,
from
/data/imageworks-Field3D-94d1bf3/export/EmptyField.h:51,
from
/data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:60,
from
/data/imageworks-Field3D-94d1bf3/src/Field3DFile.cpp:54:
/usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error
"Sorry, no boost threads are available for this platform."
In file included from /data/imageworks-Field3D-94d1bf3/export/Field.h:53:0,
from
/data/imageworks-Field3D-94d1bf3/export/EmptyField.h:51,
from
/data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:60,
from
/data/imageworks-Field3D-94d1bf3/src/Field3DFile.cpp:54:
/usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost
threads unavailable on this platform"
In file included from
/usr/local/include/boost/thread/detail/platform.hpp:17:0,
from /usr/local/include/boost/thread/mutex.hpp:12,
from /data/imageworks-Field3D-94d1bf3/export/Field.h:53,
from
/data/imageworks-Field3D-94d1bf3/export/DenseField.h:51,
from
/data/imageworks-Field3D-94d1bf3/export/DenseFieldIO.h:55,
from
/data/imageworks-Field3D-94d1bf3/src/DenseFieldIO.cpp:44:
/usr/local/include/boost/config/requires_threads.hpp:47:5: error: #error
"Compiler threading support is not turned on. Please set the correct
command line options for threading: -pthread (Linux), -pthreads (Solaris)
or -mthreads (Mingw32)"
In file included from /usr/local/include/boost/thread/mutex.hpp:12:0,
from /data/imageworks-Field3D-94d1bf3/export/Field.h:53,
from
/data/imageworks-Field3D-94d1bf3/export/DenseField.h:51,
from
/data/imageworks-Field3D-94d1bf3/export/DenseFieldIO.h:55,
from
/data/imageworks-Field3D-94d1bf3/src/DenseFieldIO.cpp:44:
/usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error
"Sorry, no boost threads are available for this platform."
In file included from /data/imageworks-Field3D-94d1bf3/export/Field.h:53:0,
from
/data/imageworks-Field3D-94d1bf3/export/DenseField.h:51,
from
/data/imageworks-Field3D-94d1bf3/export/DenseFieldIO.h:55,
from
/data/imageworks-Field3D-94d1bf3/src/DenseFieldIO.cpp:44:
/usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost
threads unavailable on this platform"
p...
Generating code for file src/DenseFieldIO.cpp...
Generating code for file src/Field.cpp...
Generating code for file src/Field3DFile.cpp...
Generating code for file src/FieldInterp.cpp...
Generating code for file src/FieldMapping.cpp...
Generating code for file src/FieldMappingIO.cpp...
Generating code for file src/Hdf5Util.cpp...
Generating code for file src/InitIO.cpp...
Generating code for file src/Log.cpp...
Generating code for file src/MACFieldIO.cpp...
Generating code for file src/PluginLoader.cpp...
Generating code for file src/SparseFieldIO.cpp...
Generating code for file src/SparseFile.cpp...
Generating file documentation...
Generating docs for file export/ClassFactory.h...
Generating docs for file export/Curve.h...
Generating docs for file export/DenseField.h...
Generating docs for file export/DenseFieldIO.h...
Generating docs for file export/Documentation.h...
Generating docs for file export/EmptyField.h...
Generating docs for file export/Exception.h...
Generating docs for file
export/Field.h../data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:420:
warning: unable to resolve reference to using_files' for \ref command . Generating docs for file export/Field3DFile.h... Generating docs for file export/FieldInterp.h... Generating docs for file export/FieldIO.h... Generating docs for file export/FieldMapping.h... Generating docs for file export/FieldMappingIO.h... Generating docs for file export/FieldMetadata.h... Generating docs for file export/Hdf5Util.h... Generating docs for file export/InitIO.h... Generating docs for file export/Log.h... Generating docs for file export/MACField.h... Generating docs for file export/MACFieldIO.h... Generating docs for file export/MACFieldUtil.h... Generating docs for file export/ns.h... Generating docs for file export/PluginLoader.h... Generating docs for file export/ProceduralField.h... Generating docs for file export/RefCount.h... Generating docs for file export/SparseDataReader.h... Generating docs for file export/SparseField.h... Generating docs for file export/SparseFieldIO.h... Generating docs for file export/SparseFile.h... Generating docs for file export/SpiMathLib.h... Generating d/data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:420: warning: unable to resolve reference tousing_files' for \ref command
ocs for file export/StdMathLib.h...
Generating docs for file export/Traits.h...
Generating docs for file export/Types.h...
Generating docs for file src/ClassFactory.cpp...
Generating docs for file src/DenseFieldIO.cpp...
Generating docs for file src/Field.cpp...
Generating docs for file src/Field3DFile.cpp...
Generating docs for file src/FieldInterp.cpp...
Generating docs for file src/FieldMapping.cpp...
Generating docs for file src/FieldMappingIO.cpp...
Generating docs for file src/Hdf5Util.cpp...
Generating docs for file src/InitIO.cpp...
Generating docs for file src/Log.cpp...
Generating docs for file src/MACFieldIO.cpp...
Generating docs for file src/PluginLoader.cpp...
Generating docs for file src/SparseFieldIO.cpp...
Generating docs for file src/SparseFile.cpp...
Generating page documentation...
Generating docs for page todo...
Generating group documentation...
Generating class documentation...
Generating docs for compound ClassFactory...
Generating docs for compound CubicFieldInterp...
Generating docs /data/imageworks-Field3D-94d1bf3/export/DenseField.h:74:
warning: unable to resolve reference to using_fields' for \ref command /data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:420: warning: unable to resolve reference tousing_files' for \ref command
/data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:420: warning: unable
to resolve reference to using_files' for \ref command /data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:510: warning: argument 'name' of command @param is not found in the argument list of Field3DInputFile::readProxyLayer(const std::string &partitionName, const std::string &layerName, bool isVectorLayer) const /data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:510: warning: The following parameters of Field3DInputFile::readProxyLayer(const std::string &partitionName, const std::string &layerName, bool isVectorLayer) const are not documented: parameter 'partitionName' parameter 'layerName' parameter 'isVectorLayer' /data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:613: warning: unable to resolve reference tousing_files' for \ref command
gmake[2]: *** [CMakeFiles/Field3D.dir/src/ClassFactory.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
for compound CubicGenericFieldInterp...
Generating docs for compound CubicMACFieldInterp...
Generating docs for compound Curve...
Generating docs for nested compound Curve::CheckTEqual...
Generating docs for nested compound Curve::CheckTGreaterThan...
Generating docs for compound DataTypeTraits...
Generating docs for compound DenseField...
Generating docs for nested compound DenseField::const_iterator...
Generating docs for nested compound DenseField::iterator...
Generating docs for compound DenseFieldIO...
Generating docs for compound EmptyField...
Generating docs for compound Field...
Generating docs for nested compound Field::const_iterator...
Generating docs for compound Field3DFileBase...
Generating docs for nested compound Field3DFileBase::LayerInfo...
Generating docs for compound Field3DInputFile...
Generating docs for compound Field3DOutputFile...
Generating docs for compound FieldBase...
Generating docs for compound FieldInterp...
Generating docs for compound FieldIO...
Generating docs for compound
F/data/imageworks-Field3D-94d1bf3/export/FieldMapping.h:69: warning: unable
to resolve reference to using_mappings' for \ref command gmake[2]: *** [CMakeFiles/Field3D.dir/src/Field3DFile.cpp.o] Error 1 /data/imageworks-Field3D-94d1bf3/export/FieldMapping.h:511: warning: unable to resolve reference tousing_mappings' for \ref command
/data/imageworks-Field3D-94d1bf3/export/FieldMapping.h:593: warning: The
following parameters of FrustumFieldMapping::setTransforms(float t, const
M44d &ssToWs, const M44d &csToWs) are not documented:
parameter 't'
gmake[2]: *** [CMakeFiles/Field3D.dir/src/Field.cpp.o] Error 1
/data/imageworks-Field3D-94d1bf3/export/FieldMapping.h:303: warning:
unable to resolve reference to using_mappings' for \ref command /data/imageworks-Field3D-94d1bf3/export/FieldMapping.h:210: warning: unable to resolve reference tousing_mappings' for \ref command
gmake[2]: *** [CMakeFiles/Field3D.dir/src/DenseFieldIO.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Field3D.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
ieldMapping...
Generating docs for compound FieldMappingIO...
Generating docs for compound FieldMetadata...
Generating docs for compound FieldRes...
Generating docs for compound FieldTraits...
Generating docs for compound FrustumFieldMapping...
Generating docs for compound FrustumFieldMappingIO...
Generating docs for compound LinearFieldInterp...
Generating docs for compound LinearGenericFieldInterp...
Generating docs for compound LinearMACFieldInterp...
Generating docs for compound MACField...
Generating docs for nested compound MACField::const_mac_comp_iterator...
Generating docs for nested compound MACField::mac_comp_iterator...
Generating docs for compound MACFieldIO...
Generating docs for compound MatrixFieldMapping...
Generating docs for compound MatrixFieldMappingIO...
Generating docs for compound NullFieldMapping...
Generating docs for compound NullFieldMappingIO...
Generating docs for compound PluginLoader...
Generating docs for compound ProceduralField...
Generating docs for compound
ProceduralField/data/imageworks-Field3D-94d1bf3/export/SparseField.h:150:
warning: unable to resolve reference to using_fields' for \ref command Lookup... Generating docs for compound RefBase... Generating docs for compound ResizableField... Generating docs for compound SparseDataReader... Generating docs for compound SparseField... Generating docs for nested compound SparseField::block_iterator... Generating docs for nested compound SparseField::const_iterator... Generating docs for nested compound SparseField::iterator... Generating docs for compound SparseFieldIO... Generating docs for compound SparseFileManager... Generating docs for compound TemplatedFieldType... Generating docs for compound WritableField... Generating docs for nested compound WritableField::iterator... Generating namespace index... Generating docs for namespace Exc Generating docs for compound Exc::Exception... Generating docs for namespace FIELD3D_NAMESPACE_OPEN Generating docs for namespace File Generating docs for compound File::Layer... Generating docs for compound File::Partition... Generating docs for namespace Hdf5Util Generating docs for compound Hdf5Util::H5Base... Generating docs for compound Hdf5Util::H5ScopedAget_space... Generating docs for compound Hdf5Util::H5ScopedAget_type... Generating docs for compound Hdf5Util::H5ScopedAopen... Generating docs for compound Hdf5Util::H5ScopedAopenIdx... Generating docs for compound Hdf5Util::H5ScopedDcreate... Generating docs for compound Hdf5Util::H5ScopedDget_space... Generating docs for compound Hdf5Util::H5ScopedDget_type... Generating docs for compound Hdf5Util::H5ScopedDopen... Generating docs for compound Hdf5Util::H5ScopedGcreate... Generating docs for compound Hdf5Util::H5ScopedGopen... Generating docs for compound Hdf5Util::H5ScopedScreate... Generating docs for compound Hdf5Util::H5ScopedTget_native_type... Generating docs for namespace InputFile Generating docs for compound InputFile::ParseLayersInfo... Generating docs for namespace MACFieldUtil Generating docs for namespace Msg Generating docs for namespace Sparse Generating docs for compound Sparse::CheckAllEqual... Generating docs for compound Sparse::CheckMaxAbs.../data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:420: warning: unable to resolve reference tousing_files' for \ref command
/data/imageworks-Field3D-94d1bf3/export/Field3DFile.h:420: warning: unable
to resolve reference to `using_files' for \ref command

Generating docs for compound Sparse::SparseBlock...
Generating docs for namespace SparseFile
Generating docs for compound SparseFile::CacheBlock...
Generating docs for compound SparseFile::FileReferences...
Generating docs for compound SparseFile::Reference...
Generating graph info page...
Generating directory documentation...
Generating index page...
Generating page index...
Generating module index...
Generating namespace index...
Generating namespace member index...
Generating annotated compound index...
Generating alphabetical compound index...
Generating hierarchical class index...
Generating member index...
Generating file index...
Generating file member index...
Generating example index...
finalizing index lists...
symbol cache used 4589/65536 hits=537297 misses=4589
lookup cache used 4679/65536 hits=39400 misses=4786
finished...
[ 20%] Built target doc
gmake: *** [all] Error 2


Reply to this email directly or view it on GitHub:
#48

from field3d.

panamala avatar panamala commented on August 29, 2024

i solved the error by defining cmake variable as CMAKE_CXX_FLAGS:STRING=-pthreads
boost is already treading enabled , it's just while compiling in solaris it uses the wrong option.Using above option it uses the right flag .

from field3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.