Replies: 4 comments 1 reply
-
https://github.com/raysan5/raylib/tree/master/projects/VS2019 |
Beta Was this translation helpful? Give feedback.
-
@Latorius There are good reasons for compiling library .obj files from source, including getting the compilation options to line up (as well as x64 versus x86 versus ...). I think there is confusion about the general notion of a library and an API for it as opposed to a "shared library" or a "linker library" or a DLL. Ray gets to choose. We can always contribute something we find missing. With regard to all the VS library dependencies, there might be some help in getting the *.obj files that you need to pass into the I also notice (but have not tested) that you can do something similar with VS 2022 by working in a folder directly and not going the project/solution route. And of course you can create a Visual Studio project to do the job. Then you can have debug and release builds, etc. My experience so far is that the 'build_windows.bat` scheme works just fine to have a compiled cache and a linking pass at the end of compiling your own source. I like that so much I have made my own derivative as part of encouraging beginners to make raylib projects of their own. It will look unfamiliar. It is a very compact way to work on making raylib apps. (There is no debug option though, and link-time code generation is used all the time.) |
Beta Was this translation helpful? Give feedback.
-
A good place to see a refactoring of Looking at it this way, I don't see much difference between caching and reusing the raylib One thing I have neglected is having debug vs. release builds. |
Beta Was this translation helpful? Give feedback.
-
That is what I do. I install raylib from a release .zip just for stability in my raylib-based projects. That is rather than forking and cloning it (which I also do when monkeying with raylib itself). Either way, it is all source code and the only reason for precompiling the 8 standard raylib *.obj files is to save on recompiling and linking time when working on my own source code. Is that what you (@Latorius) have in mind? In Visual Studio, I think a Make setup could accomplish the same thing. The script I adapted is for command-line builds under a command prompt like the "x64 Native Tools Command Prompt for VS 2022" (or 2019). My |
Beta Was this translation helpful? Give feedback.
-
I've been trying to put together this damn library all day for VS2019 Windows.
Could you make building the library a little more difficult?
If this is an open source library, why do you need to build it at all?
PS:Boost is an true open source library and you don't need to build anything there - just include the header files that represent the open source implementation.
Beta Was this translation helpful? Give feedback.
All reactions