Ok making a bit of a headway. I created x64 project using VS 2017, and the only flag I chose (aside from 3 default flags) was double precision (I need double precision). I am getting errors in ndBrainLayer.cpp:
- Code: Select all
6>ndBrainLayer.cpp
6>C:\newton-dynamics-master\newton-4.00\thirdParty\brain\ndBrainLayer.cpp(169): error C2664: 'void xmlGetFloatArray(const nd::TiXmlNode *const ,const char *const ,ndArray<ndFloat32> &)': cannot convert argument 3 from 'ndArray<ndReal>' to 'ndArray<ndFloat32> &'
6>C:\newton-dynamics-master\newton-4.00\thirdParty\brain\ndBrainLayer.cpp(175): error C2664: 'void xmlGetFloatArray(const nd::TiXmlNode *const ,const char *const ,ndArray<ndFloat32> &)': cannot convert argument 3 from 'ndArray<ndReal>' to 'ndArray<ndFloat32> &'
6>C:\newton-dynamics-master\newton-4.00\thirdParty\brain\ndBrainLayer.cpp(210): error C2665: 'xmlSaveParam': none of the 9 overloads could convert all the argument types
6>C:\newton-dynamics-master\newton-4.00\sdk\dCore\ndTinyXmlGlue.h(39): note: could be 'void xmlSaveParam(nd::TiXmlElement *const ,const char *const ,ndInt32,const ndBigVector *const )'
6>C:\newton-dynamics-master\newton-4.00\sdk\dCore\ndTinyXmlGlue.h(38): note: or 'void xmlSaveParam(nd::TiXmlElement *const ,const char *const ,ndInt32,const ndFloat32 *const )'
6>C:\newton-dynamics-master\newton-4.00\sdk\dCore\ndTinyXmlGlue.h(31): note: or 'void xmlSaveParam(nd::TiXmlElement *const ,const char *const ,const char *const ,const char *const )'
6>C:\newton-dynamics-master\newton-4.00\thirdParty\brain\ndBrainLayer.cpp(210): note: while trying to match the argument list '(nd::TiXmlElement *const , const char [12], ndInt32, const T *)'
6> with
6> [
6> T=ndReal
6> ]
6>C:\newton-dynamics-master\newton-4.00\thirdParty\brain\ndBrainLayer.cpp(218): error C2665: 'xmlSaveParam': none of the 9 overloads could convert all the argument types
6>C:\newton-dynamics-master\newton-4.00\sdk\dCore\ndTinyXmlGlue.h(39): note: could be 'void xmlSaveParam(nd::TiXmlElement *const ,const char *const ,ndInt32,const ndBigVector *const )'
6>C:\newton-dynamics-master\newton-4.00\sdk\dCore\ndTinyXmlGlue.h(38): note: or 'void xmlSaveParam(nd::TiXmlElement *const ,const char *const ,ndInt32,const ndFloat32 *const )'
6>C:\newton-dynamics-master\newton-4.00\sdk\dCore\ndTinyXmlGlue.h(31): note: or 'void xmlSaveParam(nd::TiXmlElement *const ,const char *const ,const char *const ,const char *const )'
6>C:\newton-dynamics-master\newton-4.00\thirdParty\brain\ndBrainLayer.cpp(218): note: while trying to match the argument list '(nd::TiXmlElement *const , char [256], ndInt32, const T *)'
6> with
6> [
6> T=ndReal
6> ]