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

CMake chokes on Doxygen (?) - string sub-command FIND requires 3 or 4 parameters. #257

Open
jeffhammond opened this issue Dec 29, 2015 · 3 comments

Comments

@jeffhammond
Copy link

I cannot diagnose what the issue is here, but my guess is that the version of Doxygen I have installed on this machine is too old.

How do I disable documentation building? I have no need for that on this system.

[jrhammon@esgmonster build]$ rm -rf *
[jrhammon@esgmonster build]$     cmake ..              -DCMAKE_CC_COMPILER="$PRK_CC"              -DCMAKE_CXX_COMPILER="$PRK_CXX"              -DMPI_C_COMPILER="\"MPICH_CC=$PRK_CC $MPI_ROOT/bin/mpicc\""              -DMPI_C_LINK_FLAGS="-L$MPI_ROOT/lib"              -DMPI_C_LIBRARIES="-lmpi"              -DMPI_C_INCLUDE_PATH="$MPI_ROOT/include"              -DMPI_CXX_COMPILER="\"MPICH_CXX=$PRK_CXX $MPI_ROOT/bin/mpicxx\""              -DMPI_CXX_LINK_FLAGS="-L$MPI_ROOT/lib"              -DMPI_CXX_LIBRARIES="-lmpicxx -lmpi"              -DMPI_CXX_INCLUDE_PATH="$MPI_ROOT/include"              -DGRAPPA_INSTALL_PREFIX=/tmp/grappa
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is Intel 16.0.0.20150815
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /opt/intel/compilers_and_libraries_2016.0.109/linux/bin/intel64/icpc
-- Check for working CXX compiler: /opt/intel/compilers_and_libraries_2016.0.109/linux/bin/intel64/icpc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Warning at CMakeLists.txt:44 (message):
  You are using an unsupported compiler! Compilation has only been tested
  with Clang and GCC.


-- Found MPI_C: -lmpi  
-- Found MPI_CXX: -lmpicxx -lmpi  
-- Boost found:  1.55.0 -- 
-- Downloading third-party dependences from the web.
-- Using {,} to build third-party dependencies (if needed).
     boost: /usr/local/include and /usr/local/lib
    gflags: <building>
      glog: <building>
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Found Doxygen: /usr/bin/doxygen (found version "1.6.1") 
CMake Error at CMakeLists.txt:524 (string):
  string sub-command FIND requires 3 or 4 parameters.


CMake Error at CMakeLists.txt:525 (string):
  string sub-command FIND requires 3 or 4 parameters.


-- Configuring incomplete, errors occurred!
See also "/home/jrhammon/Work/PGAS/GRAPPA/github/build/CMakeFiles/CMakeOutput.log".
@jeffhammond
Copy link
Author

My version of CMake is sufficient for Grappa, according to the documentation:

[jrhammon@esgmonster build]$ cmake --version
cmake version 2.8.12.2

@nelsonje
Copy link
Member

Looks like you have empty variables in a couple places we didn't expect. Pull request #258 should take care of these errors, but we may find more.

@nelsonje
Copy link
Member

Okay, master is updated with a fix for this. See if it works for you.

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

2 participants