Comments (4)
Proposed fix is to convert the rootFilePath
to a proper URI before passing it to the daeURI constructor:
diff --git a/dom/src/dae/daeIOPluginCommon.cpp b/dom/src/dae/daeIOPluginCommon.cpp
index 1553454..b18555f 100644
--- a/dom/src/dae/daeIOPluginCommon.cpp
+++ b/dom/src/dae/daeIOPluginCommon.cpp
@@ -92,7 +92,7 @@ daeInt daeIOPluginCommon::read(const daeURI& uri, daeString docBuffer)
if (zaeHandler.isZipFile())
{
string rootFilePath = zaeHandler.obtainRootFilePath();
- daeURI rootFileURI(*fileURI.getDAE(), rootFilePath);
+ daeURI rootFileURI(*fileURI.getDAE(),cdom::nativePathToUri(rootFilePath));
domObject = readFromFile(rootFileURI);
if (!domObject)
{
After this fix, the tutorial_ik5d example (and others) work as expected
from collada-dom.
it must have been an adventure getting windows to work. thanks for the patch ;0)
from collada-dom.
Hi Rosen.
Thank you.
Please let me know if you are interested in the patches I had to make to the OpenRave master as well. I compiled with Boost 1.46.1, using Python 2.6 and had to do quite a few changes to the Openrave libraries in order to make it compile and run.
Regards,
Per
From: Rosen Diankov [mailto:[email protected]]
Sent: 8. september 2014 15:07
To: rdiankov/collada-dom
Cc: Per Sandved Hustad
Subject: Re: [collada-dom] Openrave crashes reading Collada zae on Windows 7 due to invalid URI in daeIOPluginCommon.cpp (#8)
it must have been an adventure getting windows to work. thanks for the patch ;0)
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-54814224.
from collada-dom.
sure! please send them.
from collada-dom.
Related Issues (20)
- Request for release new version HOT 8
- Mixed lineends in many source files HOT 1
- Many non-free test files included in codebase HOT 7
- Are the Releases on GitHub official production releases? HOT 1
- could not install both sp and dp HOT 5
- build fails with GCC 6.0 HOT 2
- How to use colladadom in multithread to read dae files HOT 2
- Where to specify COLLADA_DOM_USING_150? HOT 1
- ROS Lunar version conflict with Ubuntu 16.04LTS - libcollida-dom2 HOT 1
- Collada Build VS2017
- Please tag release 2.5 HOT 2
- domNode->getAttribute returns strings cut by whitespace HOT 4
- Build error on std::max under Windows
- Using libpcre2-dev, libpcre3-dev or liburiparser-dev
- Support for C++17,20 (std::auto_ptr)
- Build failure with Boost 1.85.0
- Run-time error R6034
- Using COLLADA 1.4.1 DAE::open always returns NULL HOT 5
- Trying to load an invalid COLLADA version for this DOM build only on 13.10 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collada-dom.