View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003212 | Slicer4 | Core: CLI infrastructure | public | 2013-07-09 14:15 | 2014-03-06 09:39 |
Reporter | sbengali | Assigned To | millerjv | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0003212: Model Maker CLI Crashes | ||||
Description | I have Slicer nightly built on my machine, which is Mac OS X 10.6.8. If I try to run the Model Maker executable from the command line, it crashes with this error message: dyld: Library not loaded: libarchive.12.dylib However, the module runs fine from the Slicer GUI. | ||||
Tags | No tags attached. | ||||
Are you using the Slicer launcher to run the ModelMaker CLI? In other words, is this a path issue? |
|
The CLI runs if I use the Slicer launcher with the command: ./Slicer-build/Slicer --launch ./Slicer-build/lib/Slicer-4.2/cli-modules/ModelMaker |
|
This is "expected". The Slicer launcher configures the paths so that programs like ModelMaker (and Slicer-real itself) can locate the run-time libraries they depend on. If you don't want to use the launcher to run the CLIs, then you will need to manually configure the search paths. You can run ./Slicer-build/Slicer --xterm on Linux to see how the path is configured, or ./Slicer-build/Slicer --cmd on Windows. You'd have to run ./Slicer-build/Slicer --help on the Mac to see what the equivalent "launch a shell" would be. Though I expect something like ./Slicer-build/Slicer --launch bash -c 'echo $PATH' will print out the path needed for Slicer. |
|
I see. I'll run the module by using the launcher from now onwards. Thanks for your help! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2013-07-09 14:15 | sbengali | New Issue | |
2013-07-09 14:15 | sbengali | Status | new => assigned |
2013-07-09 14:15 | sbengali | Assigned To | => millerjv |
2013-08-27 11:48 | pieper | Relationship added | duplicate of 0003189 |
2013-08-27 11:51 | millerjv | Note Added: 0009637 | |
2013-08-29 08:27 | sbengali | Note Added: 0009699 | |
2013-08-29 09:12 | millerjv | Note Added: 0009700 | |
2013-09-03 12:16 | sbengali | Note Added: 0009860 | |
2014-03-06 09:39 | pieper | Status | assigned => closed |
2014-03-06 09:39 | pieper | Resolution | open => no change required |