Unable to build a project with visp installed with brew #5853
Unanswered
fspindle
asked this question in
Writing Formulae/Casks
Replies: 1 comment
-
That'll be because we don't have a macOS 15 bottle for this yet: https://github.com/Homebrew/homebrew-core/blob/4cfcf247356632cec65981550ec479a5c379df1a/Formula/v/visp.rb#L15 Ideally it wouldn't make any reference to any SDK at all, but there are some that do anyway for one reason or another. Will need to dig deeper into where it comes from and see if we can remove it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
On my Apple M1Pro running Sequoia 15.2 after
brew upgrade && brew reinstall visp
I have:that brings ViSP CMake material in
/opt/homebrew/Cellar/visp/3.6.0_10/lib/cmake/visp
(VISPConfig.cmake
andVISPModules.cmake
).I have also:
Now when I try to build a simple project with
CMakeLists.txt
file content:and
test-opencv.cpp
file content:I got the following build issues:
I found that in
VISPConfig.cmake
andVISPModules.cmake
there are references toMacOSX14.sdk
.The fix I found is to replace in these 2 files
MacOSX14.sdk
byMacOSX15.sdk
.I don't know if this is something that comes from the way visp bottle is build or if this is related on how visp exports the 3rdparties in
VISPConfig.cmake
andVISPModules.cmake
?Beta Was this translation helpful? Give feedback.
All reactions