GithubHelp home page GithubHelp logo

thephysicsguys / physics3d Goto Github PK

View Code? Open in Web Editor NEW
299.0 18.0 32.0 78.13 MB

A 3D physics engine

License: MIT License

C++ 95.96% GLSL 2.92% C 0.38% CMake 0.55% Shell 0.14% Batchfile 0.05%
physics simulation 3d-physics-engine glew engine cpp shader glfw opengl rendering-3d-graphics rendering physics-engine graphics

physics3d's Issues

Build fail on Zorin OS [`explicit specialization in non-namespace scope`]

Describe the bug
I'm trying to build the application demo on Zorin. After executing the setup shell script, I tried to build using make -j, but I get these errors related to the ECS:

In file included from /home/mm/Desktop/Physics3D/benchmarks/ecsBenchmark.cpp:2:
/home/mm/Desktop/Physics3D/benchmarks/../engine/ecs/registry.h:207:13: error: explicit specialization in non-namespace scope ‘struct P3D::Engine::Registry<Entity>::only<Component>’
  207 |   template <>
      |             ^

Any ideas how to fix this?

To Reproduce
Steps to reproduce the behavior:

  1. git clone recursive
  2. follow build instructions here
  3. enter build folder and run make -j
  4. Error

Expected behavior
Expected to build

Screenshots

Additional context
GCC v 9.3.0

can't launch application.exe

in the file tickerthread.h line 19 there is something wrong when launching from Visual Studio
it's killing me, launching the exe either debug/release x64 from folder nothing happens .

link to the error
https://imgur.com/u4yH7Cz

so any help, or should I abandon, struggling.

Please support MSYS2 MINGW64

Currently the project depends on vcpkg, the dependencies instead of being fetched by vcpkg could be fetched using cmake.

Visual Studio Project Build Fail

Installed packages from vcpkg like glfw.h are not referenced in Visual Studio Project. Hence the build is failing using current .sln.

To reproduce-

  1. Clone the project
  2. Run installation setups from the Readme.md
  3. Run command./vcpkg integrate install
  4. Reopen project sln in Visual Studio 2019
  5. Build x86 Debug

Few errors for missing headers

  • Error C1083 Cannot open include file: 'core.h': No such file or directory application Physics3D\application\picker\ray.cpp
  • Error (active) E1696 cannot open source file "GLFW/glfw3.h" graphics Physics3D\include\imgui\imgui_impl_glfw.cpp

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.