-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime errors for testDomain, testDigitalSet on macos 10.7 #449
Comments
Hi, Could you check that it's ok for you? (except for the execution) |
Could you please try with changing the boost version given in the Ogre SDK ? (it's 1.49) It may help finding the problem |
I have updated boost. I confirm that boost 1.48 make these runtime error, 1.49 works (strangely not always, but I need to test more), 1.50 induces a dyld error. |
The 1.50 error is supposed to be fixed now ! |
Is is alright for you? |
Cleaning up... @JacquesOlivierLachaud is this bug still open ? |
1.50 now works on my MACOS. I close the issue. |
I think i've fixed it by adding liboost-thread while linking(not sure) ! Le 8 oct. 2012 à 10:35, Jacques-Olivier Lachaud a écrit :
|
No. It works now. On 05/10/2012 08:46, David Coeurjolly wrote:
|
With boost 1.48, macos 10.7.4, gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00), there are runtime errors when running OGRE examples :
./tests/io/viewers/OGRE/testDomain
dyld: Library not loaded: @executable_path/../Frameworks/Ogre.framework/Versions/1.8.0/Ogre
Referenced from: /Users/lachaud/GITHUB/DGtal/build-OGRE/./tests/io/viewers/OGRE/testDomain
Reason: image not found
Trace/BPT trap: 5
./tests/io/viewers/OGRE/testDomain.app/Contents/MacOS/testDomain
New Block [Testing adding DGtalSet for ViewerOgre3D]
2012-08-24 18:26:13.889 testDomain[13254:407] invalid drawable
Assertion failed: (!pthread_cond_wait(&cond,&m)), function lock, file /opt/local/include/boost/thread/pthread/recursive_mutex.hpp, line 133.
Abort trap: 6
Here is what I got when I configure with cmake (I add to do it as root):
$ sudo OGRE_HOME=/Applications/OgreSDK/ cmake ..
-- DGtal Version 0.6.devel
-- Source DIR is /Users/lachaud/GITHUB/DGtal
-- Binary/Build DIR is /Users/lachaud/GITHUB/DGtal/build-OGRE
-- Build type is
-- Installation prefix directory is /usr/local
-- Host system is Darwin-11.4.0 with processor i386
-- Target system is Darwin-11.4.0 with processor i386
-- dot found: /opt/local/bin/dot. Installing doc in /usr/local/doc/DGtal
-- configured /Users/lachaud/GITHUB/DGtal/doc/doxy.config.in --> /Users/lachaud/GITHUB/DGtal/build-OGRE/doxy.config
-- configured /Users/lachaud/GITHUB/DGtal/doc/doxy.config.Board.in --> /Users/lachaud/GITHUB/DGtal/build-OGRE/doxy.config.Board
-- Boost and boost_program_options found.
-- DGtal Library optional configuration:
-- (to change these values, use ccmake, a graphical
-- cmake frontend, or define cmake commandline variables
-- -e.g. '-DWITH_GMP:string=true'-, cf documentation)
-- WITH_C11 false
-- WITH_OGRE true
-- WITH_GMP false
-- WITH_ITK false
-- WITH_CAIRO false
-- WITH_COIN3D-SOQT false
-- WITH_QGLVIEWER false
-- WITH_MAGICK false
-- Checking the dependencies:
-- [objc] is supported
-- Looking for OGRE...
-- checking for module 'OGRE'
-- package 'OGRE' not found
-- Found Ogre Byatis (1.8.0)
-- Found OGRE: -framework OGRE
-- Looking for OGRE_Paging...
-- Found OGRE_Paging: /Applications/OgreSDK/lib/libOgrePaging.dylib
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: /Applications/OgreSDK/lib/libOgreTerrain.dylib
-- Looking for OGRE_Property...
-- Found OGRE_Property: /Applications/OgreSDK/lib/libOgreProperty.dylib
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: /Applications/OgreSDK/lib/libOgreRTShaderSystem.dylib
-- Looking for OIS...
-- checking for module 'OIS'
-- package 'OIS' not found
-- Found OIS: /Applications/OgreSDK/lib/release/libOIS.a
-- libOgre found.
-- Build test files enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/lachaud/GITHUB/DGtal/build-OGRE
Here is what I get when I configure with cmake without being root:
...
-- Build test files enabled
CMake Error: Could not open file for write in copy operation /usr/local/include/DGtal/io/viewers/OGRE/Ressources/plugins.cfg.tmp
CMake Error: : System Error: Permission denied
CMake Error at cmake/Install.cmake:27 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:61 (INCLUDE)
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered: