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

CMakeLists.txt #110

Open
oki-miyuki opened this issue May 26, 2018 · 2 comments
Open

CMakeLists.txt #110

oki-miyuki opened this issue May 26, 2018 · 2 comments

Comments

@oki-miyuki
Copy link

I could't build this project on my mac.
So, I made CMakeLists.txt for this project.

Only tested with mac(apple) environment.

mkdir build
cd build
cmake ..
make

That's OK,
But
cmake .. -DCMAKE_BUILD_TYPE=Release
make
Causes SIGSEGV.

https://github.com/oki-miyuki/cmake_for_x3f

Thank you for Greate Project!

@rolkar
Copy link
Contributor

rolkar commented May 29, 2018

Thanks for the information. We usually build the Mac binaries in a Linux container.

@Alex-Vasile
Copy link

I found that I needed to add the following line:
set(CMAKE_CXX_FLAGS -L/opt/homebrew/Cellar/libtiff/4.4.0_1/lib)

Change (to get rid of warnings)

  • FIND_PACKAGE(OPENCV REQUIRED) to FIND_PACKAGE(OpenCV REQUIRED)
  • FIND_PACKAGE(ICONV REQUIRED) to FIND_PACKAGE(Iconv REQUIRED)

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