Giter Club home page Giter Club logo

Comments (3)

fallahn avatar fallahn commented on July 26, 2024

I've never used CLion but according to this post it uses CMake files directly. In which case you can use the included example CMake files as a basis for adding tmxlite to your project:

https://github.com/fallahn/tmxlite/blob/master/SFMLExample/CMakeLists.txt#L25 for SFML projects or
https://github.com/fallahn/tmxlite/blob/master/OpenGLExample/CMakeLists.txt#L24 for SDL2 projects

from tmxlite.

SenhorLime avatar SenhorLime commented on July 26, 2024

I cloned the repository and tried to open the SFML Example in CLion, but it returned the following error:

CMake Error at C:/Program Files/JetBrains/CLion 2023.2/bin/cmake/win/x64/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find tmxlite (missing: TMXLITE_LIBRARIES)
Call Stack (most recent call first):
  C:/Program Files/JetBrains/CLion 2023.2/bin/cmake/win/x64/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindTMXLITE.cmake:10 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:26 (find_package)

from tmxlite.

fallahn avatar fallahn commented on July 26, 2024

You need to build the tmxlite library first and install it somewhere that CMake can find it. You can do this with the CMake file in the tmxlite directory.

from tmxlite.

Related Issues (20)

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.