Help installing OpenRAVE on Mac OSX

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Help installing OpenRAVE on Mac OSX

Kim Jackson
Hi,

I'm trying to install OpenRAVE on a Macbook running OS 10.5.8.  The build has now failed twice. I fixed the first error by changing "include malloc.h" to include "malloc/malloc.h" in NvSimpleTypes.h. I'm having trouble with the second error. The end of the install log is below. The CMakeError.log flie is also attached. Any advice? If there's other information I can provide let me know.

Thanks,

Kim


2nd Error (end of install log)

...
[ 88%] Building CXX object 3rdparty/convexdecomposition/CMakeFiles/convexdecomposition.dir/NvThreadConfig.o
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.h:80: warning: ‘class CONVEX_DECOMPOSITION::ThreadMutex’ has virtual functions but non-virtual destructor
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.h:92: warning: ‘class CONVEX_DECOMPOSITION::ThreadInterface’ has virtual functions but non-virtual destructor
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.h:106: warning: ‘class CONVEX_DECOMPOSITION::ThreadEvent’ has virtual functions but non-virtual destructor
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In function ‘NxU32 CONVEX_DECOMPOSITION::tc_timeGetTime()’:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:103: error: ‘timeGetTime’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In function ‘void CONVEX_DECOMPOSITION::tc_sleep(NxU32)’:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:112: error: ‘Sleep’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In function ‘void CONVEX_DECOMPOSITION::tc_spinloop()’:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:121: error: asm blocks not enabled, use `-fasm-blocks'
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:121: error: ‘pause’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:121: error: expected `;' before ‘}’ token
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In function ‘void CONVEX_DECOMPOSITION::tc_interlockedExchange(void*, int64_t)’:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:132: error: asm blocks not enabled, use `-fasm-blocks'
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:134: error: ‘mov’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:134: error: expected `;' before ‘ebx’
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In function ‘NxI32 CONVEX_DECOMPOSITION::tc_interlockedCompareExchange(void*, NxI32, NxI32)’:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:160: error: asm blocks not enabled, use `-fasm-blocks'
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:162: error: ‘mov’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:162: error: expected `;' before ‘edx’
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In function ‘NxI32 CONVEX_DECOMPOSITION::tc_interlockedCompareExchange(void*, NxI32, NxI32, NxI32, NxI32)’:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:188: error: asm blocks not enabled, use `-fasm-blocks'
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:190: error: ‘mov’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:190: error: expected `;' before ‘ebx’
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: At global scope:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:205: warning: ‘class CONVEX_DECOMPOSITION::MyThreadMutex’ has virtual functions but non-virtual destructor
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In constructor ‘CONVEX_DECOMPOSITION::MyThreadMutex::MyThreadMutex()’:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:214: error: ‘PTHREAD_MUTEX_RECURSIVE_NP’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: At global scope:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:350: warning: ‘class CONVEX_DECOMPOSITION::MyThreadEvent’ has virtual functions but non-virtual destructor
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In constructor ‘CONVEX_DECOMPOSITION::MyThreadEvent::MyThreadEvent()’:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:359: error: ‘PTHREAD_MUTEX_RECURSIVE_NP’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In member function ‘virtual void CONVEX_DECOMPOSITION::MyThreadEvent::waitForSingleObject(NxU32)’:
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:419: error: ‘CLOCK_REALTIME’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:419: error: ‘clock_gettime’ was not declared in this scope
/Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:424: error: ‘ETIMEDOUT’ was not declared in this scope
make[3]: *** [3rdparty/convexdecomposition/CMakeFiles/convexdecomposition.dir/NvThreadConfig.o] Error 1
make[2]: *** [3rdparty/convexdecomposition/CMakeFiles/convexdecomposition.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2


--
Kim Jackson

MIT Class of 2010
Department of Aeronautics and Astronautics
[hidden email]

------------------------------------------------------------------------------

_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users

CMakeError.log (44K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Help installing OpenRAVE on Mac OSX

Rosen Diankov
Administrator
hi Kim Jackson,

thank you for the bug report, they should be fixed by now. can you
update svn and try compiling again? (also remove your malloc.h change)

rosen,

2010/4/25 Kim Jackson <[hidden email]>:

> Hi,
>
> I'm trying to install OpenRAVE on a Macbook running OS 10.5.8.  The build
> has now failed twice. I fixed the first error by changing "include malloc.h"
> to include "malloc/malloc.h" in NvSimpleTypes.h. I'm having trouble with the
> second error. The end of the install log is below. The CMakeError.log flie
> is also attached. Any advice? If there's other information I can provide let
> me know.
>
> Thanks,
>
> Kim
>
>
> 2nd Error (end of install log)
>
> ...
> [ 88%] Building CXX object
> 3rdparty/convexdecomposition/CMakeFiles/convexdecomposition.dir/NvThreadConfig.o
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.h:80:
> warning: ‘class CONVEX_DECOMPOSITION::ThreadMutex’ has virtual functions but
> non-virtual destructor
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.h:92:
> warning: ‘class CONVEX_DECOMPOSITION::ThreadInterface’ has virtual functions
> but non-virtual destructor
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.h:106:
> warning: ‘class CONVEX_DECOMPOSITION::ThreadEvent’ has virtual functions but
> non-virtual destructor
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In
> function ‘NxU32 CONVEX_DECOMPOSITION::tc_timeGetTime()’:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:103:
> error: ‘timeGetTime’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In
> function ‘void CONVEX_DECOMPOSITION::tc_sleep(NxU32)’:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:112:
> error: ‘Sleep’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In
> function ‘void CONVEX_DECOMPOSITION::tc_spinloop()’:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:121:
> error: asm blocks not enabled, use `-fasm-blocks'
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:121:
> error: ‘pause’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:121:
> error: expected `;' before ‘}’ token
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In
> function ‘void CONVEX_DECOMPOSITION::tc_interlockedExchange(void*,
> int64_t)’:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:132:
> error: asm blocks not enabled, use `-fasm-blocks'
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:134:
> error: ‘mov’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:134:
> error: expected `;' before ‘ebx’
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In
> function ‘NxI32 CONVEX_DECOMPOSITION::tc_interlockedCompareExchange(void*,
> NxI32, NxI32)’:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:160:
> error: asm blocks not enabled, use `-fasm-blocks'
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:162:
> error: ‘mov’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:162:
> error: expected `;' before ‘edx’
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In
> function ‘NxI32 CONVEX_DECOMPOSITION::tc_interlockedCompareExchange(void*,
> NxI32, NxI32, NxI32, NxI32)’:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:188:
> error: asm blocks not enabled, use `-fasm-blocks'
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:190:
> error: ‘mov’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:190:
> error: expected `;' before ‘ebx’
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: At
> global scope:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:205:
> warning: ‘class CONVEX_DECOMPOSITION::MyThreadMutex’ has virtual functions
> but non-virtual destructor
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In
> constructor ‘CONVEX_DECOMPOSITION::MyThreadMutex::MyThreadMutex()’:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:214:
> error: ‘PTHREAD_MUTEX_RECURSIVE_NP’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: At
> global scope:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:350:
> warning: ‘class CONVEX_DECOMPOSITION::MyThreadEvent’ has virtual functions
> but non-virtual destructor
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In
> constructor ‘CONVEX_DECOMPOSITION::MyThreadEvent::MyThreadEvent()’:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:359:
> error: ‘PTHREAD_MUTEX_RECURSIVE_NP’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp: In
> member function ‘virtual void
> CONVEX_DECOMPOSITION::MyThreadEvent::waitForSingleObject(NxU32)’:
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:419:
> error: ‘CLOCK_REALTIME’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:419:
> error: ‘clock_gettime’ was not declared in this scope
> /Users/kim/openrave/3rdparty/convexdecomposition/NvThreadConfig.cpp:424:
> error: ‘ETIMEDOUT’ was not declared in this scope
> make[3]: ***
> [3rdparty/convexdecomposition/CMakeFiles/convexdecomposition.dir/NvThreadConfig.o]
> Error 1
> make[2]: ***
> [3rdparty/convexdecomposition/CMakeFiles/convexdecomposition.dir/all] Error
> 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
>
> --
> Kim Jackson
>
> MIT Class of 2010
> Department of Aeronautics and Astronautics
> [hidden email]
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users
>
>

------------------------------------------------------------------------------
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users