Comments (4)
It looks like modifying the bundled GLFW by adding platform-specific suffixes to the functions with conflicting names is an easier solution than removing rglfw.c
.
from raylib.
I am concerned that elimination of rglfw.c
may create difficulties for desktop builds that now include it without using Make or CMake. E.g., in raylib/projects/scripts
and elsewhere, including simple builds of examples.
from raylib.
I prefer to keep rglfw.c
, it amalgamates all GLFW into a single module and it simplifies a lot compilation process.
In any case, how does CMake/GLFW resolve this same issue? Because build process is also supposed to compile and link all those symbols with the same name.
from raylib.
When building with CMake, instead of using rglfw.c
, GLFW's CMakeLists.txt
is included along with raylib's own CMakeLists.txt
, as seen in https://github.com/raysan5/raylib/blob/master/cmake/GlfwImport.cmake.
Anyway, keeping rglfw.c
and just renaming GLFW's functions with conflicting names is indeed a simpler solution.
from raylib.
Related Issues (20)
- [build] Add an option to `build.zig` to support different `rcore` platforms HOT 2
- Debugger isn't working (mac, nvim) HOT 1
- [base] Add support for Meson Build System. HOT 6
- [raylib_parser] Segmentation fault HOT 1
- raylib Security Policy missing HOT 18
- [rcore] Incorrect line height when drawing text with line breaks HOT 1
- [rtexture] Drawing texture with negative width or height draws nothing HOT 1
- [rcore] Implement GetApplicationDirectory for FreeBSD
- [module] InitWindow( 0, 0, "Test"); crash on Samsung S24 dark mode (OK on Tablet S9+) HOT 14
- [rmodels] .mtl texture file does not automatically apply to .obj model file when displayed. HOT 5
- [rcore] Parser - invalid raylib_api.json HOT 11
- [rmodels] .obj file wont render in properly with the corresponding .mtl file. HOT 5
- [rmodels] GLB Animation plays incorrectly. HOT 5
- [rmodels] OBJ model texture not loaded HOT 3
- [rlgl] rlScalef with negative parameter disappears everything except lines HOT 2
- [rlgl] `glVertexAttribPointer()` error client-side with WebGL 2.0 (OpenGL ES 3.0) HOT 4
- [RCORE] makedir does not compile on linux. HOT 3
- [rcore] GIF recording depends on GetFrameTime() HOT 1
- Camera2D zoom not 1.0f by default HOT 1
- [rmodels] Inconsistent MAX_MESH_VERTEX_BUFFERS causes crash when unloading mesh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raylib.