It is currently Sat Aug 22, 2020 4:53 am


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: ConvertToVDB - fixed-path bug (?)
PostPosted: Thu Aug 28, 2014 7:32 pm 

Joined: Thu Aug 28, 2014 7:21 pm
Posts: 1
Hi there! I tried to use the ConvertToVDB tool (on Mac OS) in order to turn the given sample set of PNGs into a VDB file but didn't succeed. Here's the console dialogue. I'd appreciate your feedback!

--

basti$ ./ConvertToVDB -i /Users/basti/Desktop/volumesoffun-cubiquity-for-unity3d-021bc5bdecf7/Assets/Cubiquity/Examples/VolumeData/VoxeliensLevel3 -o output.vdb
dyld: Library not loaded: /Users/david/cubiquity/build/Wrappers/C/libCubiquityC.dylib
Referenced from: /Users/basti/Desktop/volumesoffun-cubiquity-for-unity3d-021bc5bdecf7/Assets/StreamingAssets/Cubiquity/SDK/./ConvertToVDB
Reason: image not found
Trace/BPT trap: 5


Top
Offline Profile  
Reply with quote  
 Post subject: Re: ConvertToVDB - fixed-path bug (?)
PostPosted: Fri Aug 29, 2014 6:31 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Sorry about this, it looks like the path to the library is hard-coded into the OS X executable. Coming from a Windows background this library/executable relationship is a little unexpected to me. I have seen it in the past and thought I had resolved it with the 'macdylibbundler' tool tool as follows:
Code:
dylibbundler -d . -p . -x ConvertToVDB

But apparently I either forgot to run this tool, used the wrong parameters, or misunderstood what it was doing. At any rate further investigation is needed.

Unfortunately I'm not going to have access to my OS X machine for the next two weeks so I can't check this immediately. In the mean time there are a few things you could try:

  • You could try creating the expected path on your machine. You probably don't even need a user called 'david', just manually create a 'david/cubiquity/build/Wrappers/C/' folder in '/Users/' and place the library in it (I hope OS X doesn't mind this).
  • You could try the Windows version of the converter. The output voxel database should be compatible.
  • You could try executing the 'dylibbundler' bundler command above and maybe that way you can fix the excutable locally. You'd have to build the tool from source though so maybe that's too much effort.

I've logged the issue here and will try to investigate further in a couple of weeks.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: ConvertToVDB - fixed-path bug (?)
PostPosted: Tue Sep 09, 2014 9:36 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
I have reproduced this problem using an old version of Cubiquity for Unity3d (version 1.0.0) but the problems appears to be resolved in the latest version (1.1.3). However, I now realize that it is very easy for people to accidentally download an old version from the Git repository, as the master branch is set to ver1.0.0 while all development is being performed on the develop branch.

In other words, the issue is resolved but I need to tidy the Git repo to stop this mistake happening again. In the mean time you might want to download the .unitypackage file from our latest blog post.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net