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

OSX Build fails #3

Open
bisegni opened this issue Jan 1, 2020 · 2 comments
Open

OSX Build fails #3

bisegni opened this issue Jan 1, 2020 · 2 comments

Comments

@bisegni
Copy link

bisegni commented Jan 1, 2020

ON os I have downloaded the git repository the make. command goes well but man give this error:

Scanning dependencies of target antlr4cpp
[ 10%] Creating directories for 'antlr4cpp'
[ 20%] Performing download step (verify and extract) for 'antlr4cpp'
-- antlr4cpp download command succeeded.  See also /Users/bisegni/sources/greeshift/antlr-4.7-cpp-cmake-base/locals/antlr4cpp/src/antlr4cpp-stamp/antlr4cpp-download-*.log
[ 30%] No patch step for 'antlr4cpp'
[ 40%] No update step for 'antlr4cpp'
[ 50%] Performing configure step for 'antlr4cpp'
-- antlr4cpp configure command succeeded.  See also /Users/bisegni/sources/greeshift/antlr-4.7-cpp-cmake-base/locals/antlr4cpp/src/antlr4cpp-stamp/antlr4cpp-configure-*.log
[ 60%] Performing build step for 'antlr4cpp'
CMake Error at /Users/bisegni/sources/greeshift/antlr-4.7-cpp-cmake-base/locals/antlr4cpp/src/antlr4cpp-stamp/antlr4cpp-build-.cmake:49 (message):
  Command failed: 2

   '/Library/Developer/CommandLineTools/usr/bin/make'

  See also

    /Users/bisegni/sources/greeshift/antlr-4.7-cpp-cmake-base/locals/antlr4cpp/src/antlr4cpp-stamp/antlr4cpp-build-*.log


make[2]: *** [locals/antlr4cpp/src/antlr4cpp-stamp/antlr4cpp-build] Error 1
make[1]: *** [CMakeFiles/antlr4cpp.dir/all] Error 2
make: *** [all] Error 2

the error in log file is:

==> /Users/bisegni/sources/greeshift/antlr-4.7-cpp-cmake-base/locals/antlr4cpp/src/antlr4cpp-stamp/antlr4cpp-build-err.log <==
make[3]: *** No targets specified and no makefile found. Stop.

==> /Users/bisegni/sources/greeshift/antlr-4.7-cpp-cmake-base/locals/antlr4cpp/src/antlr4cpp-stamp/antlr4cpp-build-out.log <==

@cliid
Copy link

cliid commented Sep 29, 2020

Did you solve the problem? Because I have the same problem.

@cliid
Copy link

cliid commented Sep 30, 2020

Oh, I found the solution: Just simply change the ExternalAntlr4Cpp.cmake file at CONFIGURE_COMMAND -BUILD_TESTS=OFF to -DBUILD_TESTS=OFF. Just one character, D. 👍🏻

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