Quantcast

OpenRave 0.9. Windows compile error

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

OpenRave 0.9. Windows compile error

softy
Hello,
im trying to compile/install openrave on windows (new fresh copy from svn).
I've got errors like:
C:\openravesource\include\openrave/openrave.h(2557) : error C2065: 'OPENRAVE_CONTROLLER_HASH' : undeclared identifier
C:\openravesource\include\openrave/openrave.h(2558) : error C2065: 'OPENRAVE_MODULE_HASH' : undeclared identifier
C:\openravesource\include\openrave/openrave.h(2559) : error C2065: 'OPENRAVE_IKSOLVER_HASH' : undeclared identifier
C:\openravesource\include\openrave/openrave.h(2560) : error C2065: 'OPENRAVE_KINBODY_HASH' : undeclared identifier
...
So i look at file interfacehashes.h and it's empty.

It is some bug on windows or I'm missing something?
I use Windows XP and MV 2008 (and is no difference between WXP or W7 or W8.1 and MV2010/2013). MV solution is generated by CMake (as manual says at http://openrave.org/docs/latest_stable/coreapihtml/installation_windows.html).

Thanks for help.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OpenRave 0.9. Windows compile error

softy
Update:
Module responsible for generating md5 hashes is called cpp-gen-md5. So i try to compile it first. I've got one error:
error C2064: term does not evaluate to a function taking 0 arguments	C:\openrave_source\msvc_boost\boost\spirit\home\classic\iterator\multi_pass.hpp	739	1	cpp-gen-md5

Error is on this line:
bool input_at_eof() const
        {
#ifdef _MSC_VER // TEMP_SPIRIT_HACK
            return !curtok || *curtok == ftor->eof();
#else
            return !curtok || *curtok == ftor->eof;
#endif
        }
So i change it to:
return !curtok || *curtok == ftor->eof;
Then I build "ALL_BUILD", interfacehashes.h contains hashes. Hooray!

Now I had "only" 44 errors:
16	error C2065: 'M_PI' : undeclared identifier	C:\openrave_source\src\libopenrave\robotmanipulator.cpp	831	1	libopenrave
17	error C2780: 'OpenRAVE::geometry::RaveVector<T> OpenRAVE::geometry::quatFromAxisAngle(const OpenRAVE::geometry::RaveVector<T> &)' : expects 1 arguments - 2 provided	C:\openrave_source\src\libopenrave\robotmanipulator.cpp	831	1	libopenrave
34	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\pqprave\LINK	pqprave
35	error LNK1104: cannot open file 'RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\src\libopenrave\LINK	libopenrave_c
38	error C1083: Cannot open include file: 'pcrecpp.h': No such file or directory	c:\openrave_source\src\libopenrave-core\environment-core.h	26	1	libopenrave-core
44	error C2039: 'isfinite' : is not a member of 'std'	C:\openrave_source\python\ikfast.h	202	1	ikfastsolvers
45	error C3861: 'isfinite': identifier not found	C:\openrave_source\python\ikfast.h	202	1	ikfastsolvers
47	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\textserver\LINK	textserver
52	error C2678: binary '>>' : no operator found which takes a left-hand operand of type 'std::istream' (or there is no acceptable conversion)	C:\openrave_source\plugins\ikfastsolvers\ikfastsolver.cpp	114	1	ikfastsolvers
55	error C1083: Cannot open include file: 'boost/pool/pool.hpp': No such file or directory	c:\openrave_source\plugins\configurationcache\configurationcachetree.h	20	1	configurationcache
58	error C1083: Cannot open include file: 'boost/pool/pool.hpp': No such file or directory	c:\openrave_source\plugins\configurationcache\configurationcachetree.h	20	1	configurationcache
65	error C1083: Cannot open include file: 'boost/pool/pool.hpp': No such file or directory	c:\openrave_source\plugins\configurationcache\configurationcachetree.h	20	1	configurationcache
66	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\grasper\LINK	grasper
70	error C1083: Cannot open include file: 'boost/pool/pool.hpp': No such file or directory	c:\openrave_source\plugins\configurationcache\configurationcachetree.h	20	1	configurationcache
74	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\basesensors\LINK	basesensors
76	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\basesamplers\LINK	basesamplers
78	error C2065: 'M_PI' : undeclared identifier	C:\openrave_source\src\libopenrave-core\colladaparser\colladareader.cpp	647	1	libopenrave-core
91	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\baserobots\LINK	baserobots
93	error C2065: 'M_PI' : undeclared identifier	C:\openrave_source\src\libopenrave-core\colladaparser\colladawriter.cpp	632	1	libopenrave-core
94	error C2065: 'M_PI' : undeclared identifier	C:\openrave_source\src\libopenrave-core\colladaparser\colladawriter.cpp	868	1	libopenrave-core
95	error C2065: 'M_PI' : undeclared identifier	C:\openrave_source\src\libopenrave-core\colladaparser\colladawriter.cpp	962	1	libopenrave-core
96	error C2065: 'M_PI' : undeclared identifier	C:\openrave_source\src\libopenrave-core\colladaparser\colladawriter.cpp	1063	1	libopenrave-core
98	error C2440: 'initializing' : cannot convert from 'std::_Vector_const_iterator<_Myvec>' to 'std::_Vector_iterator<_Myvec>'	C:\openrave_source\plugins\rplanners\constraintparabolicsmoother.cpp	190	1	rplanners
99	error C2440: 'initializing' : cannot convert from 'std::_List_const_iterator<_Mylist>' to 'std::_List_iterator<_Mylist>'	C:\openrave_source\plugins\rplanners\constraintparabolicsmoother.cpp	562	1	rplanners
101	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\oderave\LINK	oderave
102	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\rmanipulation\LINK	rmanipulation
105	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\basecontrollers\LINK	basecontrollers
106	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\dualmanipulation\LINK	dualmanipulation
108	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\qtcoinrave\LINK	qtcoinrave
112	error LNK1104: cannot open file '..\..\src\libopenrave\RelWithDebInfo\openrave0.9-vc100-mt.lib'	C:\openrave_build\plugins\logging\LINK	logging
114	error C2440: 'initializing' : cannot convert from 'std::_List_const_iterator<_Mylist>' to 'std::_List_iterator<_Mylist>'	C:\openrave_source\plugins\rplanners\mergewaypoints.cpp	514	1	rplanners
115	error C2440: 'initializing' : cannot convert from 'std::_List_const_iterator<_Mylist>' to 'std::_List_iterator<_Mylist>'	C:\openrave_source\plugins\rplanners\mergewaypoints.cpp	545	1	rplanners
123	error C2440: 'initializing' : cannot convert from 'std::_List_const_iterator<_Mylist>' to 'std::_List_iterator<_Mylist>'	C:\openrave_source\plugins\rplanners\mergewaypoints.cpp	1320	1	rplanners
124	error C2440: 'initializing' : cannot convert from 'std::_List_const_iterator<_Mylist>' to 'std::_List_iterator<_Mylist>'	C:\openrave_source\plugins\rplanners\mergewaypoints.cpp	1331	1	rplanners
127	error C2440: 'initializing' : cannot convert from 'std::_Vector_const_iterator<_Myvec>' to 'std::_Vector_iterator<_Myvec>'	C:\openrave_source\plugins\rplanners\parabolicsmoother.cpp	248	1	rplanners
128	error C2440: 'initializing' : cannot convert from 'std::_List_const_iterator<_Mylist>' to 'std::_List_iterator<_Mylist>'	C:\openrave_source\plugins\rplanners\parabolicsmoother.cpp	1202	1	rplanners
130	error C3892: 'it' : you cannot assign to a variable that is const	C:\openrave_source\plugins\rplanners\linearshortcutadvanced.cpp	248	1	rplanners
133	error C1083: Cannot open include file: 'boost/pool/pool.hpp': No such file or directory	c:\openrave_source\plugins\rplanners\rplanners.h	22	1	rplanners
138	error LNK1104: cannot open file 'RelWithDebInfo\openrave0.9-vc100-mt-core.lib'	C:\openrave_build\src\libopenrave-core\LINK	libopenrave-core_c
140	error C2440: 'initializing' : cannot convert from 'std::_Vector_const_iterator<_Myvec>' to 'std::_Vector_iterator<_Myvec>'	C:\openrave_source\python\bindings\openravepy_kinbody.cpp	244	1	openravepy_int
141	error LNK1104: cannot open file 'libopenrave-core\RelWithDebInfo\openrave0.9-vc100-mt-core.lib'	C:\openrave_build\src\LINK	openrave
	165	IntelliSense: cannot open source file "boost/pool/pool.hpp"	c:\openrave_source\plugins\configurationcache\configurationcachetree.h	20	1	
	166	IntelliSense: namespace "boost" has no member "pool"	c:\openrave_source\plugins\configurationcache\configurationcachetree.h	326	30	
	167	IntelliSense: expected a '>'	c:\openrave_source\plugins\configurationcache\configurationcachetree.h	326	34	
	168	IntelliSense: expected an identifier	c:\openrave_source\plugins\configurationcache\configurationcachetree.h	326	37	

Someone to help ?
Loading...