Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent compile error on Mac #27

Open
fcontijoch opened this issue May 14, 2018 · 9 comments
Open

Recent compile error on Mac #27

fcontijoch opened this issue May 14, 2018 · 9 comments

Comments

@fcontijoch
Copy link
Contributor

fcontijoch commented May 14, 2018

When running dv-change-labels, I get a library error (Library not loaded: @rpath/libclang_rt.asan_osx_dynamic.dylib)

Exact code is below:
'~/Documents/dv-commandline-utils/dv-change-labels --input-image 4.nii.gz --output-image prep_seg.nii.gz --label-map 6 2 7 2 8 2 9 2 3 2 4 1 5 1 11 10 12 10 13 10
dyld: Library not loaded: @rpath/libclang_rt.asan_osx_dynamic.dylib
Referenced from: /Users/bowmore1/Documents/dv-commandline-utils/dv-change-labels
Reason: image not found
Trace/BPT trap: 5`

@sudomakeinstall
Copy link
Owner

Just to be clear: it sounds like you've recompiled dv-commandline-utils on your Mac, and then got the above error at run time--is that correct?

Three things:

  1. When re-compiling dv-commandline-utils, were there any errors or warnings during the build?
  2. If you try to run the same code, but using the binaries downloaded from github, do you get the same error or does it work?
  3. How did you install Boost? Did you build from source or use macports? If you built from source, did you build static or dynamic libs?

@sudomakeinstall
Copy link
Owner

Also, I'm 99.9% sure that "image" in the error message is referring to the library image--but juuuust in case...are the paths to the images correct?

@fcontijoch
Copy link
Contributor Author

I didn't compile. I used your precompiled files. The image paths are correct (i just abbreviated them for clarity)

@sudomakeinstall
Copy link
Owner

Oh I see--I didn't realize you were using my binaries. I probably screwed up the compilation--I'll play with it and re-upload when I find something.

@sudomakeinstall
Copy link
Owner

Is this a problem with all the binaries from this release, or just this one?

@fcontijoch
Copy link
Contributor Author

Tried visualize meshes and got the same error. Not sure about ALL but those 2 for sure. Would all of them use it that library?

@sudomakeinstall
Copy link
Owner

I use boost to parse the commandline arguments, so that would make it fail for all the binaries, I think. (There may be one or two where I haven't converted to Boost yet.)

@sudomakeinstall
Copy link
Owner

I must not have compiled Boost correctly (i.e., I must have compiled dynamic instead of static).

@fcontijoch
Copy link
Contributor Author

fcontijoch commented May 31, 2018

Any chance you took another stab at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants