Giter Club home page Giter Club logo

bots2d's People

Contributors

niklasab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bots2d's Issues

CMake error

CMake error on Ubuntu 20.04

CMake Error at CMakeLists.txt:53 (add_executable):
  Cannot find source file:

    controllers/NsumoController/nsumo/drive.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

Compilation error in Ubuntu 20

Compilation error in Ubuntu 20 + gcc 7.5 :

/home/xxx/bots2d/src/renderer/ImGuiOverlay.cpp: In static member function ‘static void ImGuiOverlay::text(std::__cxx11::string)’:
/home/xxx/bots2d/src/renderer/ImGuiOverlay.cpp:62:29: error: format not a string literal and no format arguments [-Werror=format-security]
     ImGui::Text(text.c_str());
                             ^
cc1plus: all warnings being treated as errors

Replacing

 ImGui::Text(text.c_str()); 

by

 ImGui::TextUnformatted(text.c_str());

seems to be the solution.

Shader error on Mac OS

Hi,

This looks like a really cool and useful project! I'm trying to evaluate whether it could be adopted for swarm robotics research. However, I'm on a Mac and got the following error when trying to execute bots2dtest:

4.1 ATI-4.8.15
Failed to compile vertex
ERROR: 0:11: ';' : syntax error: syntax error

Failed to compile fragment
ERROR: 0:11: ';' : syntax error: syntax error

/Users/av/Downloads/bots2d/src/renderer/Shader.cpp 171 glAttachShader(program, vs) [OpenGL errer]: 1281
Assertion failed: (false), function GLLogCall, file /Users/av/Downloads/bots2d/src/renderer/GLError.cpp, line 15.
Abort trap: 6

I understand that this may be an OS-specific issue. But maybe someone has some advice?

CMake Error

Error

  The source directory

    /home/omega/bots2d/external/glfw

  does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:83 (add_subdirectory):
  add_subdirectory given source "external/Box2D/src" which is not an existing
  directory.


-- Configuring incomplete, errors occurred!

Commands

cmake CMakeLists.txt

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.