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

Running ospStudio fails, if built in Debug - dyld[47071]: Library not loaded: @rpath/libtbb_debug.12.dylib #2

Open
ghost opened this issue Jan 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jan 22, 2023

jnam@jnam-mbp22 debug % ./ospStudio 
dyld[47071]: Library not loaded: @rpath/libtbb_debug.12.dylib
  Referenced from: <55CBA426-09B8-36E0-BE78-D3AA93D0B9B9> /Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/ospStudio
  Reason: tried: 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/libtbb_debug.12.dylib' (no such file),
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/lib/libtbb_debug.12.dylib' (no such file),
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/install/lib/libtbb_debug.12.dylib' (no such file), 
'/System/Volumes/Preboot/Cryptexes/OS/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/install/lib/libtbb_debug.12.dylib' (no such file), 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/libtbb_debug.12.dylib' (no such file), 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/lib/libtbb_debug.12.dylib' (no such file), 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/install/lib/libtbb_debug.12.dylib' (no such file), 
'/System/Volumes/Preboot/Cryptexes/OS/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/install/lib/libtbb_debug.12.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/libtbb_debug.12.dylib' (no such file), 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/libtbb_debug.12.dylib' (no such file), 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/lib/libtbb_debug.12.dylib' (no such file), 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/install/lib/libtbb_debug.12.dylib' (no such file), 
'/System/Volumes/Preboot/Cryptexes/OS/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/install/lib/libtbb_debug.12.dylib' (no such file), 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/libtbb_debug.12.dylib' (no such file), 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/lib/libtbb_debug.12.dylib' (no such file), 
'/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/install/lib/libtbb_debug.12.dylib' (no such file), 
'/System/Volumes/Preboot/Cryptexes/OS/Users/jnam/Documents/2022/OSPRayIntegration/ospray_studio/build/debug/install/lib/libtbb_debug.12.dylib' (no such file), 
'/usr/local/lib/libtbb_debug.12.dylib' (no such file), 
'/usr/lib/libtbb_debug.12.dylib' (no such file, not in dyld cache)
zsh: abort      ./ospStudio

It builds without errors in both Release and Debug modes. However, running ospStudio after building it in Debug fails. But, the program runs fine if it was built in Release mode.

Version: ospray_studio-0.11.1
macOS Ventura 13.0.1
Apple clang version 14.0.0 (clang-1400.0.29.202)

@ghost ghost added the bug Something isn't working label Jan 22, 2023
ghost pushed a commit that referenced this issue Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants