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

Build Issue with cmake #6

Open
Centural-US opened this issue Feb 4, 2019 · 0 comments
Open

Build Issue with cmake #6

Centural-US opened this issue Feb 4, 2019 · 0 comments

Comments

@Centural-US
Copy link

Centural-US commented Feb 4, 2019

It may just be a user error on my part but here is the output. I will keep looking into it until I manage to get past the issue.

Iv tried at both /usr/local/bin/gcc and /usr/local/bin/gcc8 as well as 7 and 6 (Iv removed all versions as well and only tested on 8 with same error)

Cloning dependencies...
fatal: destination path 'lwjgl3' already exists and is not an empty directory.
fatal: destination path 'openal-soft' already exists and is not an empty directory.
fatal: destination path 'glfw' already exists and is not an empty directory.
fatal: destination path 'bgfx' already exists and is not an empty directory.
fatal: destination path 'bimg' already exists and is not an empty directory.
fatal: destination path 'bx' already exists and is not an empty directory.
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/local/bin/gcc8
-- Check for working C compiler: /usr/local/bin/gcc8 -- broken
CMake Error at /usr/local/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "/usr/local/bin/gcc8"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /usr/home/acg/Downloads/minecraft-client-1.13/openal-soft/build/CMakeFiles/CMakeTmp

    Run Build Command:"/usr/local/bin/gmake" "cmTC_ac3ee/fast"
    /usr/local/bin/gmake -f CMakeFiles/cmTC_ac3ee.dir/build.make CMakeFiles/cmTC_ac3ee.dir/build
    gmake[1]: Entering directory '/usr/home/acg/Downloads/minecraft-client-1.13/openal-soft/build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_ac3ee.dir/testCCompiler.c.o
    /usr/local/bin/gcc8   -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0    -o CMakeFiles/cmTC_ac3ee.dir/testCCompiler.c.o   -c /usr/home/acg/Downloads/minecraft-client-1.13/openal-soft/build/CMakeFiles/CMakeTmp/testCCompiler.c
    Linking C executable cmTC_ac3ee
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ac3ee.dir/link.txt --verbose=1
    /usr/local/bin/gcc8 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0     CMakeFiles/cmTC_ac3ee.dir/testCCompiler.c.o  -o cmTC_ac3ee
    /usr/local/bin/ld: cannot find -lc
    collect2: error: ld returned 1 exit status
    gmake[1]: *** [CMakeFiles/cmTC_ac3ee.dir/build.make:87: cmTC_ac3ee] Error 1
    gmake[1]: Leaving directory '/usr/home/acg/Downloads/minecraft-client-1.13/openal-soft/build/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:121: cmTC_ac3ee/fast] Error 2




  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (PROJECT)


-- Configuring incomplete, errors occurred!
See also "/usr/home/acg/Downloads/minecraft-client-1.13/openal-soft/build/CMakeFiles/CMakeOutput.log".
See also "/usr/home/acg/Downloads/minecraft-client-1.13/openal-soft/build/CMakeFiles/CMakeError.log".

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

0 participants