12/19/2023 0 Comments Macos cmakeMy main question is now: Is this intended or a bug? If it's a bug, how to proceed? It seems I cannot open an issue in the bug tracker, so I hope somebody could pick this up. So there are indeed "hardcoded" versions for libtbb and libtbbmalloc. INTERFACE_LINK_LIBRARIES "TKernel /usr/local/opt/tbb/lib/libtbb.12.8.dylib /usr/local/opt/tbb/lib/libtbbmalloc.2.8.dylib" But if TBB has been updated to a later version in the mean time, the CMake files of OpenCASCADE will be broken because the referenced TBB version does not exist on the system anymore.Īfter a quick look, I found these lines in /usr/local/opt/opencascade/lib/cmake/opencascade/OpenCASCADEFoundationClassesTargets.cmake: set_target_properties(TKernel PROPERTIES It seems that the installed CMake files of OpenCASCADE depend on a very specific TBB version, probably the TBB version installed while building OpenCASCADE(?). But then make fails because libtbb.12.8.dylib does not exist: make: *** No rule to make target `/usr/local/opt/tbb/lib/libtbb.12.8.dylib', needed by `apps/librepcb-cli/librepcb-cli.app/Contents/MacOS/librepcb-cli'. OpenCascade is then found by CMake when building LibrePCB. On macOS therefore I installed OpenCASCADE with Homebrew, which automatically installs the dependency tbb as well: brew install opencascade Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/libs/juce/modules/juce_gui_basics/juce_gui_basics.I want to compile an application ( LibrePCB) which depends on OpenCascade. Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/libs/juce/modules/juce_gui_basics/menus/juce_PopupMenu.h:302:62: note: in instantiation of member function ‘std::unique_ptr juce::Drawable::~unique_ptr’ requested here _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/_memory/unique_ptr.h:263:75: note: in instantiation of member function ‘std::unique_ptr juce::AccessibilityHandler::reset’ requested here Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/_memory/unique_ptr.h:297:7: note: in instantiation of member function ‘std::default_delete juce::AccessibilityHandler::operator()’ requested here Static_assert(sizeof(_Tp) >= 0, “cannot delete an incomplete type”) Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/_memory/unique_ptr.h:63:19: error: invalid application of ‘sizeof’ to an incomplete type ‘juce::AccessibilityHandler’ In file included from /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/_algorithm/inplace_merge.h:28: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/algorithm:1747: In file included from /Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/libs/juce/modules/juce_core/system/juce_StandardHeader.h:50: In file included from /Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/libs/juce/modules/juce_core/juce_core.h:204: In file included from /Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/libs/juce/modules/juce_graphics/juce_graphics.h:58: In file included from /Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/libs/juce/modules/juce_gui_basics/juce_gui_basics.h:60: In file included from /Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/libs/juce/modules/juce_audio_processors/juce_audio_processors.h:57: In file included from /Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/plugin/include/YourPluginName/PluginProcessor.h:3: In file included from /Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/plugin/source/PluginEditor.cpp:1: Building CXX object plugin/CMakeFiles/AudioPlugin.dir/source/ – Build files have been written to: /Users/sameer/WPI/SENIOR_YEAR/MQP/CODE/vscode-vst-test/build Vscode-vst-test sameer$ cmake -build build When building, getting 2 errors related to unique_ptr.hįirst one with juce::AccessibilityHandler Beginner to JUCE tried following this video: The CMake tool is used to both to generate projects for your plug-ins and.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |