Giter Club home page Giter Club logo

Comments (3)

efa avatar efa commented on May 15, 2024 1

OK thank you, now work well:

The-Great-Escape-in-C/build/platform/generic$ TheGreatEscapeApp 
THE GREAT ESCAPE
================
Initialising...
Running setup 1...
Running menu...
(ran 2 iterations)
Running setup 2...
Running game...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
100000 iterations in 385ms = 259740.26iters/sec
(quit)

from the-great-escape-in-c.

efa avatar efa commented on May 15, 2024

hello Spectrum enthusiast.
On first try on Linux Debian, I got this error:

efa@08i7-2500:~/c/The-Great-Escape-in-C$ build.sh 
Configuring...
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at platform/generic/CMakeLists.txt:3 (add_executable):
  add_executable cannot create target "TheGreatEscape" because another target
  with the same name already exists.  The existing target is a static library
  created in source directory
  "/home/efa/c/The-Great-Escape-in-C/libraries/TheGreatEscape".  See
  documentation for policy CMP0002 for more details.

-- Configuring incomplete, errors occurred!
See also "/home/efa/c/The-Great-Escape-in-C/build/CMakeFiles/CMakeOutput.log".

I cannot identify what is the "existing target is a static library", there is only directories in /libraries

from the-great-escape-in-c.

dpt avatar dpt commented on May 15, 2024

There's a clash between library and executable in that build. I've pushed a fix which renames the executable.

from the-great-escape-in-c.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.