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

clang: error: no such file or directory: 'NOTFOUND' #10

Open
philleer opened this issue May 9, 2020 · 0 comments
Open

clang: error: no such file or directory: 'NOTFOUND' #10

philleer opened this issue May 9, 2020 · 0 comments

Comments

@philleer
Copy link

philleer commented May 9, 2020

Hi, I am try to use it in my project, but I can not compile the code.

Here is the make error info

Scanning dependencies of target Intrinsic3D
[  2%] Building CXX object libintrinsic3d/CMakeFiles/Intrinsic3D.dir/src/camera.cpp.o
clang: error: no such file or directory: 'NOTFOUND'
make[2]: *** [libintrinsic3d/CMakeFiles/Intrinsic3D.dir/src/camera.cpp.o] Error 1
make[1]: *** [libintrinsic3d/CMakeFiles/Intrinsic3D.dir/all] Error 2
make: *** [all] Error 2

I have alreay followed your instructions in the Dependencies and Build part in the README.

While cmake process seems no problem and here is the output

-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at /usr/local/lib/cmake/boost_filesystem-1.72.0/libboost_filesystem-variant-shared.cmake:64 (message):
  Target Boost::filesystem already has an imported location
  '/usr/local/lib/libboost_filesystem-mt.dylib', which will be overwritten
  with '/usr/local/lib/libboost_filesystem.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_filesystem-1.72.0/boost_filesystem-config.cmake:57 (include)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/local/Cellar/cmake/3.16.4/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  CMakeLists.txt:68 (FIND_PACKAGE)


CMake Warning at /usr/local/lib/cmake/boost_graph-1.72.0/libboost_graph-variant-shared.cmake:64 (message):
  Target Boost::graph already has an imported location
  '/usr/local/lib/libboost_graph-mt.dylib', which will be overwritten with
  '/usr/local/lib/libboost_graph.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_graph-1.72.0/boost_graph-config.cmake:57 (include)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/local/Cellar/cmake/3.16.4/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  CMakeLists.txt:68 (FIND_PACKAGE)


CMake Warning at /usr/local/lib/cmake/boost_regex-1.72.0/libboost_regex-variant-shared.cmake:64 (message):
  Target Boost::regex already has an imported location
  '/usr/local/lib/libboost_regex-mt.dylib', which will be overwritten with
  '/usr/local/lib/libboost_regex.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_regex-1.72.0/boost_regex-config.cmake:57 (include)
  /usr/local/lib/cmake/boost_graph-1.72.0/boost_graph-config.cmake:105 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/local/Cellar/cmake/3.16.4/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  CMakeLists.txt:68 (FIND_PACKAGE)


CMake Warning at /usr/local/lib/cmake/boost_system-1.72.0/libboost_system-variant-shared.cmake:64 (message):
  Target Boost::system already has an imported location
  '/usr/local/lib/libboost_system-mt.dylib', which will be overwritten with
  '/usr/local/lib/libboost_system.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_system-1.72.0/boost_system-config.cmake:57 (include)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/local/Cellar/cmake/3.16.4/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  CMakeLists.txt:68 (FIND_PACKAGE)


-- Found Boost: /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found version "1.72.0") found components: filesystem graph system 
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.7
-- Found Eigen: /usr/local/Cellar/eigen/3.3.7/include/eigen3  
-- Eigen found (include: /usr/local/Cellar/eigen/3.3.7/include/eigen3)
-- Found OpenCV: /usr/local/Cellar/opencv/4.1.2 (found version "4.1.2") found components: core highgui imgproc imgcodecs 
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found required Ceres dependency: Eigen version 3.3.7 in /usr/local/include/eigen3
-- Detected Homebrew with install prefix: /usr/local, adding to CMake search paths.
-- Found installed version of glog: /usr/local/lib/cmake/glog
-- Detected glog version: 0.4.0
-- Found required Ceres dependency: glog
-- Found required Ceres dependency: gflags
-- Found Ceres version: 2.0.0 installed in: /Users/phillee/ceres-solver/ceres-bin with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SuiteSparse, CXSparse, AccelerateSparse, SchurSpecializations]
-- Ceres found (include: , libs: ceres)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/phillee/intrinsic3d/build

Now I have no idea about the problem, any advice would be appriciated.

p.s. my system is macOS Majave 10.14.6.

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

1 participant