artfulbytes / bots2d Goto Github PK
View Code? Open in Web Editor NEWBots2D is a C++ framework for simulating robotics in 2D that provides boilerplate code and robotics assets to help you quickly get started.
License: MIT License
Bots2D is a C++ framework for simulating robotics in 2D that provides boilerplate code and robotics assets to help you quickly get started.
License: MIT License
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 + 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.
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.