Comments (11)
what kind of contribution?
from openjk.
Fixed code, in the sense that it compiles with GCC and probably at least an initial linux port. I just read the other ticket and am moving my changes to the codebase in the jedi outcast archive. I also started a cmake based build system.
from openjk.
I'm sadly no cpp or c guy, but a linux one. I would help out testing once it compiles.
from openjk.
Great, but we're not there yet. ;)
from openjk.
Got a lot of the code to compile (50% of the files included in the project file, which is about 80% of the code). Issues were: function pointer default args, "or" as identifier, MSVC specific (string) functions, include path issues (case, slashes), alignment specifications, inline assembler, c/c++ mixups and some others. Remaining issue is mostly c code including c++ headers which I'll probably fix on the weekend. This may require a rework of the GL stuff. I haven't had a close look at it, and don't know the state of the GLX support, but I'd move context creation to SDL and use glew to handle OpenGL extensions if it's not workable. There currently custom code for that, maybe a solution from another quake based project could be integrated.
from openjk.
Fixed, see my fork. (The function pointer default args are fixed, that is)
from openjk.
I assume it's still loading OpenGL dynamically, but if you need something to handle extensions like GLEW, just use this instead:
https://gist.github.com/flibitijibibo/5270425
For platform-specific GL, you'll probably get more mileage out of SDL2. SDL2 adds a few GL context management functions that would otherwise require some #ifdef hell to get working on all desktop platforms.
On a similar topic, you might also make maintenance/portability easier by replacing the libpng/libjpeg/zlib with stb_image. Updates and knocks out three dependencies in one go.
from openjk.
Can this issue be closed now?
from openjk.
Go ahead.
Sent from my Windows Phone
From: Alex Lomailto:[email protected]
Sent: 4/15/2013 6:27 AM
To: Razish/OpenJKmailto:[email protected]
Cc: eezstreetmailto:[email protected]
Subject: Re: [OpenJK] Make the code base compile with a modern GCC (#3)
Can this issue be closed now?
Reply to this email directly or view it on GitHub:
#3 (comment)
from openjk.
MP code builds under GCC; still working on SP.
from openjk.
Code compiles under gcc and clang now :)
from openjk.
Related Issues (20)
- Included gsl-lite fails to compile with g++-13 13.2.0 HOT 3
- [OpenJK] Dynamic Glow broken? HOT 17
- UBSAN multiplayer
- ASAN/UBSAN single player
- Replace SP cvars with XCVAR method HOT 1
- Rend2 out-of-bounds write while outside the map in the negative direction. HOT 1
- Error "Could not open string package 'CON_TEXT'" HOT 1
- Problem with cmake -DCMAKE_INSTALL_PREFIX=/path/to/GameData .. HOT 2
- Script to download and build Star Wars Jedi Knight II: Jedi Outcast Demo on Mac , Linux or FreeBSD
- Traditional Chinese language support issue of OpenJO (Jedi Outcast) HOT 1
- Please tell me how to install Jedi Outcast (Ubuntu arm64) HOT 4
- Failed to load renderer HOT 2
- Rend2 is not correctly building when cross compiling using mingw from Linux to Windows x64 due to compact_glsl issues
- OpenJK SP interacting with UI/menu breaks sound HOT 6
- Enabling lightsaber only and disable force in multiplayer doesn't work HOT 3
- Question regarding modelscale in Multiplayer
- Oversized fonts in game menu HOT 4
- JO: key to bypass cinematic HOT 2
- Can't build openjk/codemp/rd-rend2/tr_bsp.cpp in Alpine Linux aarch64
- 1Missing text in menu HOT 12
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 openjk.