Skip to content

why can't c++ Open3D Application “find resource directory”? #7000

Answered by ssheorey
cwreynolds asked this question in Q&A
Discussion options

You must be logged in to vote

examples/cpp/Draw.cpp uses a simplified interface over O3DVIsualizer and may be sufficient for your purpose.
Open3DViewer_mac.mm is the right example for Apple. Thanks for catching that its commented out in the C++ code. The build system directly builds that now, instead of going through Open3DVIewer.cpp for macOS. (cpp/apps/CMakeLists.txt)

The "resources not found" error is since we use some heuristics to locate the resource directory. See the function FindResourcePath() in cpp/open3d/visualization/gui/Application.cpp.

Ideally this would be relative to the executable location. [Looking for cross-platform PRs here :-) ]

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@cwreynolds
Comment options

@cwreynolds
Comment options

@cwreynolds
Comment options

Answer selected by cwreynolds
Comment options

You must be logged in to vote
1 reply
@cwreynolds
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants