Coder Social home page Coder Social logo

missing sdl headers about makma HOT 3 CLOSED

malytomas avatar malytomas commented on May 28, 2024
missing sdl headers

from makma.

Comments (3)

janhsimon avatar janhsimon commented on May 28, 2024

Oops, good catch. SDL2.dll (and assimp.dll) shouldn't be part of the repository. The project needs to be built against SDL, assimp and the Vulkan SDK.

I could copy SDL and assimp headers into the project but that seems bad form, and doing the same for the Vulkan SDK is not exactly an option... The other dependencies were on GitHub already so I could add them as external submodules, which seems to be the most elegant option.

So, either I add the SDL and assimp headers to the project so it's set up to work out of the box BUT then you still need to add the Vulkan SDK. Or I remove the SDL2.dll and assimp.dll files.

Any preferences?

from makma.

malytomas avatar malytomas commented on May 28, 2024

If you were using cmake, it would be easy to integrate them as submodules.
SDL is available at https://github.com/spurious/SDL-mirror (that is what I use).
Assimp: https://github.com/assimp/assimp.git
Is it difficult to inject cmake dependencies into meson?

Either way, the dlls should probably be removed. They may be incompatible based on build settings.

from makma.

janhsimon avatar janhsimon commented on May 28, 2024

I don't use meson, that was added by a Linux user (and the script is now outdated), I'm just on Visual Studio. For now I've added the DLLs and added a big red note to the readme that mentions the necessity to build the project against SDL, assimp and the LunarG Vulkan SDK (to make the necessary local changes to the Visual Studio project and copy the two DLLs).

This is the best I can do for now, so I'm going to close the issue. But further input/discussion is always welcome!

from makma.

Related Issues (5)

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.