From: 潘嘉荔 <car...@12...> - 2016-11-26 06:48:02
|
hello, i'm tring to run sdl-viewer in vs2010 in debugging mode. I haved complied the OpenVRML 0.18.9 solution successfully in vs 2010 with debugging mode. but when I run the sdl-viewer, it will report error like: "Unhandled exception at 0x761fa6f2 in sdl-viewer.exe: Microsoft C++ exception: std::out_of_range at memory location 0x00efea58" it will announce this error in script.cpp's function "openvrml_get_script_factory" calling dl::open(): openvrml::local::dl::open(const std::string & filename) { # ifdef _WIN32 std::string::size_type last_dot_index = filename.find_last_of('.'); if (filename.substr(last_dot_index) != ".dll") { return 0; } return LoadLibrary(filename.c_str()); # else return lt_dlopenext(filename.c_str()); # endif } and when it excute filename.substr(last_dot_index) with filename="D:\openvrml-master\src\script\java" and last_dot_index=4294967295, it report this error. and can it work without javascript node?How can I do to run it without javascript node? thank you! ----------------------------------- 潘嘉荔 tel:18868103727/761415 e-mail:car...@12... |