Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

os x configure - missing deps (non-CUDA) #2

Closed
jm3 opened this issue Sep 26, 2018 · 5 comments
Closed

os x configure - missing deps (non-CUDA) #2

jm3 opened this issue Sep 26, 2018 · 5 comments

Comments

@jm3
Copy link

jm3 commented Sep 26, 2018

uncertain if any of the missing deps complained about (Ghostscript, GLPK, ILOG, COIN, SOPLEX) are formulae that should be added as dependencies to the tap, or is this is just the normal ending state when trying to compile without a CUDA GPU.

I know that Ghostscript is a brew formula (but maybe it wasn't strictly a required dependency).

(full build log)

-- Found Ghostscript: /usr/local/bin/gs
-- Found GLPK: /usr/local/lib/libglpk.dylib (Required is at least version "4.33")
-- Could NOT find ILOG (missing: ILOG_CPLEX_LIBRARY ILOG_CPLEX_INCLUDE_DIR)
-- Could NOT find COIN (missing: COIN_INCLUDE_DIR COIN_CBC_LIBRARY COIN_CBC_SOLVER_LIBRARY COIN_CGL_LIBRARY COIN_CLP_LIBRARY COIN_COIN_UTILS_LIBRARY COIN_OSI_LIBRARY COIN_OSI_CBC_LIBRARY COIN_OSI_CLP_LIBRARY)
-- Could NOT find SOPLEX (missing: SOPLEX_LIBRARY SOPLEX_INCLUDE_DIR)
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long long
-- Check size of long long - done
-- Configuring incomplete, errors occurred!
@ryanfb
Copy link
Owner

ryanfb commented Oct 3, 2018

Thanks for the report - I think I'd need the full log from the AliceVision build step, e.g.

See also "/tmp/alicevision-20180926-72616-pkpqce/AliceVision-2.0.0/build/CMakeFiles/CMakeOutput.log".

Since the output at the top level is truncated (Last 15 lines from /Users/jm3/Library/Logs/Homebrew/alicevision/01.cmake:).

If you're trying to build without CUDA installed, the failure is likely earlier up in the log due to the absence of CUDA.

@jm3
Copy link
Author

jm3 commented Oct 3, 2018

@ryanfb understood. I didn't include CMakeOutput.log only because, while I did see that message, the file didn't exist, at least not at that path.

@ryanfb
Copy link
Owner

ryanfb commented Oct 3, 2018

You may need to try with brew install -vd ryanfb/alicevision/alicevision. This should both enable verbose output, and drop you into the appropriate temp directory on a build error.

@jm3
Copy link
Author

jm3 commented Oct 3, 2018

cool, thanks, didn't know that trick! re-ran and added the complete build output and contents of CMakeOutput.log to the linked gist, and now, further back up the log, I see:

OpenMP not found.
-- BUILD_SHARED_LIBS ON
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE 
   CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.0")
CMake Error at src/CMakeLists.txt:676 (message):
  Failed to find CUDA (>= 7.0).

So that makes a little more sense. I'll close this!

@jm3 jm3 closed this as completed Oct 3, 2018
@ryanfb
Copy link
Owner

ryanfb commented Oct 4, 2018

Thanks - just to leave a signpost for others coming across this issue, the upstream issue for a non-CUDA-dependent AliceVision is alicevision/AliceVision#439.

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

No branches or pull requests

2 participants