Moderator: Moderators
divVerent wrote:BTW, would there be a way to run graphical applications for testing this on your build machine? I have no idea if there is something similar to remote desktop for OS X. X11 forwarding does work, but is no option, as it is awfully slow and applications often misdraw OpenGL stuff when using it (like, it takes some minutes to start up radiant, and the whole 2D view is awfully blurred - might be a problem between nvidia linux driver and OS X OpenGL libraries).
Checking for GL/gl.h (mesa-common-dev (or another OpenGL library))... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
make: *** [dependencies-check] Error 1
apt-get install mesa-common-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
mesa-common-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
airscout wrote:divVerent wrote:Can anyone try to compile the current source on OS X and run it in X11?
Make sure to use fink and have the following packages installed ...
At least with my PowerPC machine, NetRadiant (1.5.0svn168) seems to build on OS X without any problems. I've seen only one serious issue with usability: attempting to place a MD3 model in a map or opening a map with a model already in it will crash the application.
# fink -k install atk1 atk1-shlibs gettext gettext-bin gettext-dev glib glib-shlibs glib2 glib2-dev glib2-shlibs gtk+2 gtk+2-dev gtk+2-shlibs gtkglext1 gtkglext1-shlibs libgettext3-shlibs libiconv libiconv-bin libiconv-dev libxml2 libxml2-bin libxml2-shlibs make pango1-dev pango1-shlibs pango1-xft2 pango1-xft2-dev pango1-xft2-shlibs pkgconfig svn
# fink -k rebuild atk1 atk1-shlibs gettext gettext-bin gettext-dev glib glib-shlibs glib2 glib2-dev glib2-shlibs gtk+2 gtk+2-dev gtk+2-shlibs gtkglext1 gtkglext1-shlibs libgettext3-shlibs libiconv libiconv-bin libiconv-dev libxml2 libxml2-bin libxml2-shlibs make pango1-dev pango1-shlibs pango1-xft2 pango1-xft2-dev pango1-xft2-shlibs pkgconfig svn
$MY_DIRECTORY/Contents/MacOS/install/radiant.ppc
Lixi wrote:Also, quick tip, div: 10.5 has gotten rid of the /usr/bin/open-x11 script. It's automatically launched from within launchd, so just using:
- Code: Select all
$MY_DIRECTORY/Contents/MacOS/install/radiant.ppc
Works on 10.5. Your other method works just fine in 10.4, but it won't work in 10.5.
#!/bin/bash
# Determine where we are
MY_DIRECTORY="${0%/*}" # cut off the script name
cd "$MY_DIRECTORY/install"
# 10.4 uses Darwin 8.x.x. 10.5 uses 9.x.x
OSrelease=$(uname -r | sed 's,\([0-9]*\)\(.*\),\1,g') # cut off sub versions
OSlimit=9
if [ $OSrelease -lt $OSlimit ] # Is our version less than 9?
then
# Run on 10.4... and below?
exec /usr/bin/open-x11 ./radiant.ppc
else
# Run on 10.5
# exec ./radiant.ppc # This works, but seems to hang the launcher application on 10.5.
screen -d -m -S netradiant ./radiant.ppc # Using screen is probably more flexible anyway.
fi
divVerent wrote:As for the icon - I simply have no application to make .icns files. Thanks for the file.
divVerent wrote:Can you try ./radiant.ppc & instead?
Return to NetRadiant - General Discussion
Users browsing this forum: No registered users and 1 guest