Giter VIP home page Giter VIP logo

Comments (10)

Garux avatar Garux commented on August 16, 2024

Hi.
This has not been tested in mac for a long time, it would be cool to get some working build.
Recent commit ought to deal with named issues, though idk if this will burn well

#if defined __linux__
#define stricmp strcasecmp
#endif

from netradiant-custom.

cu-kai avatar cu-kai commented on August 16, 2024

Hi Garux, thanks.

It's still failing to build with the same error.

from netradiant-custom.

cu-kai avatar cu-kai commented on August 16, 2024

I looked further at this, did you not mean #if defined __APPLE__ instead?

I tried changing the code and now instead get this error:

radiant/mainframe.cpp:684:67: error: use of undeclared identifier 'environ'

from netradiant-custom.

Garux avatar Garux commented on August 16, 2024

Googled and added 'environ' workaround.

from netradiant-custom.

cu-kai avatar cu-kai commented on August 16, 2024

We're getting there. Now running into the error I remember from trying to compile this years ago, and I don't remember how it was fixed. I have gtkglext.

radiant/qgl.cpp:58:10: fatal error: 'gdk/gdkx.h' file not found

from netradiant-custom.

Garux avatar Garux commented on August 16, 2024

Here are related discussions
https://gitlab.com/xonotic/netradiant/-/issues/97
https://gitlab.com/xonotic/netradiant/-/issues/49

All related commits which i can find just remove this inclusion.

from netradiant-custom.

cu-kai avatar cu-kai commented on August 16, 2024

Yes, sadly that particular repo no longer builds properly on macOS and this is the only one I remember being able to build in recent months.

It's rather frustrating, however I have now managed to build this repo with an install of MacPorts, although this is not an ideal situation as everything else I use requires brew. On a side note, is there something I'm missing to fix these characters not showing?

From previous discussions with @illwieckz it looks like brew's gtkglext is still incomplete.

It may, in which case, be worth notice in COMPILING that the homebrew method is likely to fail.

I suppose, in this case, it may be worth closing this issue unless you really want brew builds fixed. I did build netradiant from xonotic's repo a few days ago but there were massive issues with the UI (see: https://cdn.discordapp.com/attachments/487358377333358612/694210639790604439/unknown.png) hence why I came back here to try and get this working.

from netradiant-custom.

Garux avatar Garux commented on August 16, 2024

I'm up to fixing, what is possible, let's get in touch in discord for faster communication (niger#7855).

from netradiant-custom.

Garux avatar Garux commented on August 16, 2024

COMPILING info is updated, font issue was solved by providing configs to fontconfig library.

from netradiant-custom.

illwieckz avatar illwieckz commented on August 16, 2024

For more information and after some tests with cu-kai, it looks like the only validated way to build netradiant and run it today successfully is to build it with macports and xquartz.

Building with homebrew and without xquartz will provide this visual garbage (previous screenshot by cu-kai) because the non-Xquartz GtkGlExt is incomplete:

netradiant gtkglext mistake

It exists some patch for GtkGlExt but while netradiant may display things right, crashes are experienced on some input, making it unuseable. A port to GTK3 with GtkGlArea may make life easier for anyone.

from netradiant-custom.

Related Issues (20)

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.