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

MacOSX 11 build #25

Open
robotaiguy opened this issue Jun 18, 2021 · 2 comments
Open

MacOSX 11 build #25

robotaiguy opened this issue Jun 18, 2021 · 2 comments

Comments

@robotaiguy
Copy link

Has anyone gotten this to work on OSX 11? I get to the cmake .. step. Anybody have any idea?

(base) suneberg@Robobook build % cmake ..
Program version not specified, using git description.
QArv version: '4466049'
-- Checking for one of the modules 'aravis-0.8;aravis-0.6;aravis-0.4;aravis-0.2;aravis'
CMake Error at /usr/local/Cellar/cmake/3.20.3/share/cmake/Modules/FindPkgConfig.cmake:843 (message):
None of the required 'aravis-0.8;aravis-0.6;aravis-0.4;aravis-0.2;aravis'
found
Call Stack (most recent call first):
CMakeLists.txt:46 (pkg_search_module)

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring incomplete, errors occurred!
See also "/Users/suneberg/Git/qarv/build/CMakeFiles/CMakeOutput.log".
See also "/Users/suneberg/Git/qarv/build/CMakeFiles/CMakeError.log".

From CmakeError.log:
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags:

The output was:
1
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags:

The output was:
1
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@exzombie
Copy link
Member

exzombie commented Jul 4, 2021

Personally, I never used OSX, and I have no experience with XCode toolchain. How did you install Aravis? Apparently, pkg_config can't find it. Or anything else, for that matter.

@shrx any ideas? Could homebrew help?

@shrx
Copy link

shrx commented Jul 5, 2021

Yeah, it looks like the aravis libraries are not found. homebrew has an aravis formula, so I'd try using that and compiling with homebrew-provided gcc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants