TTimo / GtkRadiant

The open source, cross platform level editor for idtech games
http://icculus.org/gtkradiant/
Other
588 stars 155 forks source link

Missing Icons on OSX? #244

Open Snipeye opened 10 years ago

Snipeye commented 10 years ago

I'm on Mac 10.9, and all the bitmaps at the top (flip brush or rotate brush on x y or z, etc etc) are all missing - everything on that row. I have all those icons on the row beneath, and I just the package contents and I can SEE the images (pngs) but they show up as the broken image picture.

-- UPDATE jdolan: The current workaround is to install gtkglext through Macports. The issue seems to be an unconventional or runtime based loading of libpng in the gdk-pixbuf stack not jiving with how we bundle shared libraries (dylibbundler). Hoping to have this properly fixed in 1.6.5.

jdolan commented 10 years ago

You found a friend who was also on 10.9 and did not have this issue, correct? Were you able to discern anything interesting about your two environments?

I'll be getting a new machine next month with 10.9, so at the very latest, I can address this then.

0bsidian commented 10 years ago

I'm having the same issue, I don't think it's 10.9 specific since I had it when running 10.8 and now also with 10.9 (I have since upgraded). GtkRadiant 1.6.4- Oct 12 2013.

To be clear, only the PNG icons fail to appear, they look like an empty white file with X's in them. The BMP images in the plugin toolbar works fine.

Snipeye commented 10 years ago

I did indeed have somebody who happened to be in the openJK IRC at the time (mazter or something) check it out, and he sent back a screenshot of no issues, he said he was running 10.9. What 0bsidian has reported is identical to my case.

I also have another issue - possibly related, possibly not, but whenever I go to 'file, open' it crashes. Seems like any menu option that would open an external window doesn't want to work. Should I open a new issue for this?

Snipeye commented 10 years ago

Any update? I can give console logs or anything if people want them.

jdolan commented 10 years ago

Very busy right now. Might get a chance to look at this in a couple weeks. Sorry.

Snipeye commented 10 years ago

Of course - no worries! Just wondering what was going on. Thanks!

donatj commented 10 years ago

I am having the exact same issue on 10.9 as well.

0bsidian commented 10 years ago

Might this have something to do with X11?

My Mid-2012 Macbook Air shipped with Mountain Lion (10.8) and upgraded to Mavericks (10.9). Neither version comes with X11. I had to install XQuartz.

Is everyone here using XQuartz or some other version of X11?

jdolan commented 10 years ago

I'm using XQuartz, but what is more likely at play here is the X11 client stack, or even more likely, Gtk+, which both come from Macports for my GtkRadiant builds. Specifically, my hunch is that something is going wrong with gdk-pixbuff (the Gtk image loading framework) and / or libPNG. The bitmap icons load fine, right? It's just the .png ones that are hosed?

What would be really helpful is if someone with 10.9 and Macports could try building Radiant. It's actually very easy. Instructions are here:

https://github.com/TTimo/GtkRadiant/tree/master/apple

Snipeye commented 10 years ago

Doing it now.

Snipeye commented 10 years ago

OK, I installed macports, I installed all those dependencies, and then I navigated to my install folder, copied in the "scons config=debug ./install/radiant.bin &" to terminal, and it gave me this:

scons: *\ No SConstruct file found. File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.0/SCons/Script/Main.py", line 905, in _main

Trying to then hit enter on the ./install/radiant.bin & part gives me this:

[1] 11219 -bash: ./install/radiant.bin: No such file or directory

Am I doing something wrong?

TTimo commented 10 years ago

You ran scons from the wrong directory. You need to run it from the top of the GtkRadiant source tree. Probably easier if you pop on irc while either jdolan or me are around tbh. It's not a very difficult process but there's always a few snags, especially if you're not a mac developer.

Snipeye commented 10 years ago

Well, I'm giving it a shot now. Just running that scons config=debug command, it errored out - I got a bunch of clang warnings about unused '-fpermissive,' but the error itself was contrib/prtview/AboutDialog.cpp:43:9: error: cast from pointer to smaller type 'in' loses information (ret = (int) data;). If you need the whole log, let me know - I can copy it somewhere. scons ** [build/debug/shobjs/contrib/prtview/AboutDialog.os] Error 1 That's all I got.

TTimo commented 10 years ago

So it's probably hitting OSX's clang compiler, even though it's calling 'gcc', and not using macport's gcc. I'll compile a build on mine and see.

TTimo commented 10 years ago

I've updated the instructions: https://github.com/TTimo/GtkRadiant/tree/master/apple

And made a new .dmg on an OSX 10.9 machine. It shows icons and seems to work fine: https://s3.amazonaws.com/gtkradiant/GtkRadiant-1.6.4-20131228.dmg

donatj commented 10 years ago

@TTimo I downloaded your DMG and gave the included copy a try.

I am still getting missing images, see the attached screenshot.

screen shot 2014-01-06 at 13 14 25

TTimo commented 10 years ago

Attach a log file maybe. Probably some optional library that we are not including. Also at this point we don't have a test from someone who compiled their own build on this.

donatj commented 10 years ago
loading synapse XML config file '/Applications/GtkRadiant.app/Contents/Resources/install/installs/Q3Pack/game/synapse.config'
Synapse Scanning modules path: /Applications/GtkRadiant.app/Contents/Resources/install/modules/
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/bkgrnd2d.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/bkgrnd2d.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/bobtoolz.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/bobtoolz.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/camera.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/camera.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/entity.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/entity.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/fgd.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/fgd.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/gtkgensurf.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/gtkgensurf.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/hydratoolz.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/hydratoolz.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/image.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/image.so'
Dynamic APIs for client 'image formats JPG TGA PCX BMP module built Dec 28 2013 1.6.4'
1 dynamic interfaces parsed for 'image'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagehl.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagehl.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagem8.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagem8.so'
Dynamic APIs for client 'M8 M32 formats module built Dec 28 2013 1.6.4'
api: 'VFS' minor: 'pk3'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagepng.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagepng.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagewal.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagewal.so'
Dynamic APIs for client 'WAL formats module built Dec 28 2013 1.6.4'
1 dynamic interfaces parsed for 'image'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/map.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/map.so'
Dynamic APIs for client 'MAP format module built Dec 28 2013 1.6.4'
1 dynamic interfaces parsed for 'map'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/mapxml.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/mapxml.so'
Dynamic APIs for client 'XMAP module built Dec 28 2013 1.6.4'
1 dynamic interfaces parsed for 'xmap'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/model.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/model.so'
Dynamic APIs for client 'picomodel loader module built Dec 28 2013 1.6.4'
2 dynamic interfaces parsed for 'model'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/prtview.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/prtview.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/shaders.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/shaders.so'
Dynamic APIs for client 'Q3/Half-Life shaders module built Dec 28 2013 1.6.4'
2 dynamic interfaces parsed for 'shaders'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/spritemodel.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/spritemodel.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/surface.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/surface.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/surface_idtech2.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/surface_idtech2.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/textool.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/textool.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/vfspak.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/vfspak.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/vfspk3.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/vfspk3.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/vfsqlpk3.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/vfsqlpk3.so'
Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/vfswad.so'
Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/vfswad.so'
Synapse Scanning modules path: /Applications/GtkRadiant.app/Contents/Resources/install/plugins/
Synapse Scanning modules path: /Applications/GtkRadiant.app/Contents/Resources/install/installs/Q3Pack/game/modules/
Synapse Scanning modules path: /Applications/GtkRadiant.app/Contents/Resources/install/installs/Q3Pack/game/plugins/
Dynamic APIs for client 'Radiant - synapse core built Dec 28 2013 1.6.4'
5 dynamic interfaces parsed for 'core'
CSynapserServer::Resolve adding new client slot 'Radiant - synapse core built Dec 28 2013 1.6.4'
'PK3 VFS module built Dec 28 2013 1.6.4' activated
'Q3/Half-Life shaders module built Dec 28 2013 1.6.4' activated
'picomodel loader module built Dec 28 2013 1.6.4' activated
checking if we have a single active client for major "shaders"
  found in Q3/Half-Life shaders module built Dec 28 2013 1.6.4
'Sprite Model module built Dec 28 2013 1.6.4' activated
'Entity module built Dec 28 2013 1.6.4' activated
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
'2d Background plugin built Dec 28 2013 1.6.4' activated
checking if we have a single active client for major "shaders"
  found in Q3/Half-Life shaders module built Dec 28 2013 1.6.4
'bobToolz module built Dec 28 2013 1.6.4' activated
'Camera plugin v1.0 - Arnout van Meer - built Dec 28 2013 1.6.4' activated
'GtkGenSurf - built Dec 28 2013 1.6.4' activated
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
'HydraToolz plugin built Dec 28 2013 1.6.4' activated
'PrtView module built Dec 28 2013 1.6.4' activated
'Texture Tools plugin built Dec 28 2013 1.6.4' activated
'image formats JPG TGA PCX BMP module built Dec 28 2013 1.6.4' activated
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
'PNG loader module built Dec 28 2013 1.6.4' activated
'XMAP module built Dec 28 2013 1.6.4' activated
checking if we have a single active client for major "shaders"
  found in Q3/Half-Life shaders module built Dec 28 2013 1.6.4
'Surface Dialog (Quake 3) module built Dec 28 2013 1.6.4' activated
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
'Builtin .def module built Dec 28 2013 1.6.4' activated
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
checking if we have a single active client for major "VFS"
  found in PK3 VFS module built Dec 28 2013 1.6.4
'MAP format module built Dec 28 2013 1.6.4' activated
Unloading an unused module: 'WAD VFS module built Dec 28 2013 1.6.4'
dlclose 'WAD VFS module built Dec 28 2013 1.6.4'
Unloading an unused module: 'Quake Live PK3 VFS module built Dec 28 2013 1.6.4'
dlclose 'Quake Live PK3 VFS module built Dec 28 2013 1.6.4'
Unloading an unused module: 'PAK VFS module built Dec 28 2013 1.6.4'
dlclose 'PAK VFS module built Dec 28 2013 1.6.4'
Unloading an unused module: 'Surface Dialog (idTech2) module built Dec 28 2013 1.6.4'
dlclose 'Surface Dialog (idTech2) module built Dec 28 2013 1.6.4'
Unloading an unused module: 'WAL formats module built Dec 28 2013 1.6.4'
dlclose 'WAL formats module built Dec 28 2013 1.6.4'
Unloading an unused module: 'M8 M32 formats module built Dec 28 2013 1.6.4'
dlclose 'M8 M32 formats module built Dec 28 2013 1.6.4'
Unloading an unused module: 'imagehl formats module built Dec 28 2013 1.6.4'
dlclose 'imagehl formats module built Dec 28 2013 1.6.4'
Unloading an unused module: '.fgd eclass module built Dec 28 2013 1.6.4'
dlclose '.fgd eclass module built Dec 28 2013 1.6.4'
Scanning template version in /Applications/Quake3/baseq3/scripts/default_project.proj
Loading project file: "/Applications/Quake3/testFun/scripts/testFun.proj"
basepath    : /Applications/Quake3/
entitypath  : /Applications/GtkRadiant.app/Contents/Resources/install/installs/Q3Pack/game/baseq3/scripts/entities.def
Setting current project in prefs to "/Applications/Quake3/testFun/scripts/testFun.proj"
Wrote XML property file '/Users/jdonat/.radiant/1.6.4/global.pref'
Wrote XML property file '/Users/jdonat/.radiant/1.6.4/q3.game/local.pref'
vfs directory: /Users/jdonat/.q3a/testFun
vfs directory: /Applications/Quake3/testFun
vfs directory: /Users/jdonat/.q3a/baseq3
vfs directory: /Applications/Quake3/baseq3
  pak file: /Applications/Quake3/baseq3/pak8.pk3
  pak file: /Applications/Quake3/baseq3/pak7.pk3
  pak file: /Applications/Quake3/baseq3/pak6.pk3
  pak file: /Applications/Quake3/baseq3/pak5.pk3
  pak file: /Applications/Quake3/baseq3/pak4.pk3
  pak file: /Applications/Quake3/baseq3/pak3.pk3
  pak file: /Applications/Quake3/baseq3/pak2.pk3
  pak file: /Applications/Quake3/baseq3/pak1.pk3
  pak file: /Applications/Quake3/baseq3/PAK0.PK3
  pak file: /Applications/Quake3/baseq3/curry.pk3
  pak file: /Applications/Quake3/baseq3/common-spog.pk3
  pak file: /Applications/Quake3/baseq3/common-q3map2.pk3
ScanFile: /Applications/Quake3/baseq3/scripts/entities.def
Searching VFS for files in sprites/*.* that match entity names...
Searching for sprite for fixed-size entity _skybox...not found
Searching for sprite for fixed-size entity func_timer...not found
Searching for sprite for fixed-size entity info_camp...not found
Searching for sprite for fixed-size entity info_notnull...not found
Searching for sprite for fixed-size entity info_null...not found
Searching for sprite for fixed-size entity info_player_deathmatch...not found
Searching for sprite for fixed-size entity info_player_intermission...not found
Searching for sprite for fixed-size entity info_player_start...not found
Searching for sprite for fixed-size entity item_botroam...not found
Searching for sprite for fixed-size entity light...not found
Searching for sprite for fixed-size entity lightJunior...not found
Searching for sprite for fixed-size entity misc_model...not found
Searching for sprite for fixed-size entity misc_portal_camera...not found
Searching for sprite for fixed-size entity misc_portal_surface...not found
Searching for sprite for fixed-size entity misc_teleporter_dest...not found
Searching for sprite for fixed-size entity path_corner...not found
Searching for sprite for fixed-size entity shooter_grenade...not found
Searching for sprite for fixed-size entity shooter_plasma...not found
Searching for sprite for fixed-size entity shooter_rocket...not found
Searching for sprite for fixed-size entity target_delay...not found
Searching for sprite for fixed-size entity target_give...not found
Searching for sprite for fixed-size entity target_kill...not found
Searching for sprite for fixed-size entity target_location...not found
Searching for sprite for fixed-size entity target_position...not found
Searching for sprite for fixed-size entity target_print...not found
Searching for sprite for fixed-size entity target_push...not found
Searching for sprite for fixed-size entity target_relay...not found
Searching for sprite for fixed-size entity target_remove_powerups...not found
Searching for sprite for fixed-size entity target_score...not found
Searching for sprite for fixed-size entity target_speaker...not found
Searching for sprite for fixed-size entity target_teleporter...not found
Searching for sprite for fixed-size entity team_CTF_blueplayer...not found
Searching for sprite for fixed-size entity team_CTF_bluespawn...not found
Searching for sprite for fixed-size entity team_CTF_redplayer...not found
Searching for sprite for fixed-size entity team_CTF_redspawn...not found
Searching for sprite for fixed-size entity trigger_always...not found
86 entities were scanned
35 entities that already had models/sprites were ignored
15 non-fixed-size entities were ignored
86 entities did not have matching sprite files
0 entities had sprite files and have been attached
Parsing shader files from /Applications/Quake3/baseq3/scripts/shaderlist.txt
Parsing shaderfile scripts/base_button.shader
Parsing shaderfile scripts/base_door.shader
Parsing shaderfile scripts/base_floor.shader
Parsing shaderfile scripts/base_light.shader
Parsing shaderfile scripts/base_object.shader
Parsing shaderfile scripts/base_support.shader
Parsing shaderfile scripts/base_trim.shader
Parsing shaderfile scripts/base_wall.shader
Parsing shaderfile scripts/common.shader
Parsing shaderfile scripts/ctf.shader
Parsing shaderfile scripts/gothic_block.shader
Parsing shaderfile scripts/gothic_button.shader
Parsing shaderfile scripts/gothic_door.shader
Parsing shaderfile scripts/gothic_floor.shader
Parsing shaderfile scripts/gothic_light.shader
Parsing shaderfile scripts/gothic_trim.shader
Parsing shaderfile scripts/gothic_wall.shader
Parsing shaderfile scripts/liquids.shader
Parsing shaderfile scripts/organics.shader
Parsing shaderfile scripts/sfx.shader
Parsing shaderfile scripts/skin.shader
Parsing shaderfile scripts/skies.shader
Following shader files are not referenced in shaderlist.txt:
lightningnew.shader
explode1.shader
gfx.shader
tim.shader
base.shader
eerie.shader
hell.shader
liquid.shader
menu.shader
models.shader
shrine.shader
sky.shader
test.shader
museum.shader
terrademoq3.shader
Failed to load icon: Couldn't recognize the image file format for file '/Applications/GtkRadiant.app/Contents/Resources/install/bitmaps/icon.png'
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: AMD Radeon HD 6750M OpenGL Engine
GL_VERSION: 2.1 ATI-1.14.21
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_APPLE_aux_depth_stencil GL_APPLE_client_storage GL_APPLE_element_array GL_APPLE_fence GL_APPLE_float_pixels GL_APPLE_flush_buffer_range GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_APPLE_pixel_buffer GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_specular_vector GL_APPLE_texture_range GL_APPLE_transform_hint GL_APPLE_vertex_array_object GL_APPLE_vertex_array_range GL_APPLE_vertex_point_size GL_APPLE_vertex_program_evaluators GL_APPLE_ycbcr_422 GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_barrier GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod 
Checking for extension 'GL_ARB_texture_compression'...Found
Checking for extension 'GL_EXT_texture_compression_s3tc'...Found
OpenGL texture compression enabled
ATI bug workaround disabled
Warning: OpenGL Error GL_INVALID_VALUE - A numeric argument is out of range.
Warning: OpenGL Error GL_INVALID_VALUE - A numeric argument is out of range.
LOADED: textures/radiant/notex
Looked for a '/Users/jdonat/.radiant/1.6.4/q3.game/shortcuts.ini' keyboard shortcuts file, not found
Entering message loop
Map_New
Radiant - synapse core built Dec 28 2013 1.6.4
Builtin .def module built Dec 28 2013 1.6.4
PK3 VFS module built Dec 28 2013 1.6.4
Texture Tools plugin built Dec 28 2013 1.6.4
Surface Dialog (Quake 3) module built Dec 28 2013 1.6.4
Sprite Model module built Dec 28 2013 1.6.4
Q3/Half-Life shaders module built Dec 28 2013 1.6.4
PrtView module built Dec 28 2013 1.6.4
picomodel loader module built Dec 28 2013 1.6.4
XMAP module built Dec 28 2013 1.6.4
MAP format module built Dec 28 2013 1.6.4
PNG loader module built Dec 28 2013 1.6.4
image formats JPG TGA PCX BMP module built Dec 28 2013 1.6.4
HydraToolz plugin built Dec 28 2013 1.6.4
GtkGenSurf - built Dec 28 2013 1.6.4
Entity module built Dec 28 2013 1.6.4
Camera plugin v1.0 - Arnout van Meer - built Dec 28 2013 1.6.4
bobToolz module built Dec 28 2013 1.6.4
2d Background plugin built Dec 28 2013 1.6.4
TTimo commented 10 years ago

Failed to load icon: Couldn't recognize the image file format for file '/Applications/GtkRadiant.app/Contents/Resources/install/bitmaps/icon.png'

It did load the png module though: Found '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagepng.so' Enumerate interfaces on '/Applications/GtkRadiant.app/Contents/Resources/install/modules/imagepng.so'

donatj commented 10 years ago

It only errored on the one icon though, not all of them. icon

0bsidian commented 10 years ago

I was having this problem with the latest stable release of GtkRadiant 1.6.4 compiled by jdolan. I seem to have fixed the problem on my system. I still think this has something to do with missing deps.

I installed MacPorts, then installed deps with: sudo port install dylibbundler gcc48 gtkglext scons

Started GtkRadiant, lo and behold, icons work fine.

Did not need to compile GtkRadiant myself or anything. It must have installed a missing dep.

jdolan commented 10 years ago

Not terribly surprising. Gtkglext would pull in all of Gtk+ (including gdkpixbuf).

iynque commented 10 years ago

0bsidian's solution worked for me:

"I installed MacPorts, then installed deps with: sudo port install dylibbundler gcc48 gtkglext scons"

Radiant (1.6.4) now has icons. :D

LanGun commented 10 years ago

I am sorry I know this might be a simple thing but when I try to run the "sudo port install dylibbundler gcc48 gtkglext scons" line in terminal as 0bsidlan suggested I get

sudo: port: command not found

Am I doing something wrong?

TTimo commented 10 years ago

Yeah the 'port' command means you need to have macports installed. See http://www.macports.org/

TTimo

On Sun, Mar 9, 2014 at 2:45 PM, LanGun notifications@github.com wrote:

I am sorry I know this might be a simple thing but when I try to run the "sudo port install dylibbundler gcc48 gtkglext scons" line in terminal as 0bsidlan suggested I get

sudo: port: command not found

Am I doing something wrong?

Reply to this email directly or view it on GitHubhttps://github.com/TTimo/GtkRadiant/issues/244#issuecomment-37136615 .

LanGun commented 10 years ago

OK, its installed so do I enter the string into Mac OSX terminal exactly as shown below?

sudo port install dylibbundler gcc48 gtkglext scons

Any help would be appreciated, Thanks.

LanGun commented 10 years ago

OK I entered it in as shown above and it ran through some code in terminal, but when I luanch Radiant I still don't get the icons, what am I missing?

iynque commented 10 years ago

When I ran that command, it took a long time. Since your two posts were about 2 minutes apart, I'm going to guess something went wrong. Did you get any errors?

TTimo commented 10 years ago

It should work if that executed correctly, or at least that's the workaround/fix that has been reported. It's very inefficient to try and work this over email though, you should try to get on irc and ask us directly.

On Sun, Mar 9, 2014 at 4:47 PM, LanGun notifications@github.com wrote:

OK I entered it in as shown above and it ran through some code in terminal, but when I luanch Radiant I still don't get the icons, what am I missing?

Reply to this email directly or view it on GitHubhttps://github.com/TTimo/GtkRadiant/issues/244#issuecomment-37140850 .

LanGun commented 10 years ago

I am trying it now and it seams to be hanging

Last login: Sun Mar 9 17:55:53 on ttys000 Username-MacBook-Pro:~ Username$ sudo port install dylibbundler gcc48 gtkglext scons Waiting for lock on /opt/local/var/macports/registry/.registry.lock

LanGun commented 10 years ago

I think you are right am being impatient, its still running, sorry

LanGun commented 10 years ago

Yup, that worked good advice guys, thanks.

vikbez commented 8 years ago

I'm using brew instead of macports, installed the packages but this does not fix the problem. Is there any alternative ?

Thanks

TTimo commented 8 years ago

@jdolan are you still interested in the Mac port maintenance, or we should drop Mac from our platforms?

donatj commented 8 years ago

I personally think it would be foolish not to support the Mac platform as popular as it is, particularly in the United States

LanGun commented 8 years ago

I agree, I personally have moved on to other things but Mac culture is huge, keep it in.

Lance Gunter

On May 7, 2016, at 1:13 PM, Jesse Donat notifications@github.com wrote:

I personally think it would be foolish not to support the Mac platform as popular as it is, particularly in the United States

— You are receiving this because you commented. Reply to this email directly or view it on GitHub

jdolan commented 8 years ago

@TTimo Yes, absolutely. I can cut the Mac builds when 1.6.5 is ready. I'm still puttering around with Quetoo and GtkRadiant and NetRadiant ;)

TTimo commented 8 years ago

@jdolan I'm thinking it could be a good exercise to produce a binary of the current 1.6.5 code on OSX, so we can sanity check it.

I have 10.9 VM that I use for OSX builds with other projects that could be useful to rely on for producing builds.

TTimo commented 8 years ago

Is this still an issue or maybe the latest builds are no longer affected?

jdolan commented 8 years ago

Almost certainly still an issue. As I mentioned over IRC, I'd like to take a crack at an Xcode project for GtkRadiant. Doing so should allow me to statically link everything fairly easily, which might fix gdk-pixbuf's lameness.

TTimo commented 8 years ago

That's fine with me. You could statically link using scons just the same. The Gtk libraries you are working against coming from macports may be the bigger problem here.

jdolan commented 8 years ago

I could try adding --static to the few places in config.py where we farm out to pkg-config and similar programs. But honestly, I've found you can't even always trust those when trying to statically link. Xcode would almost certainly be the easier way to trial-and-error my way through that process.

Macports typically installs both static and dynamic libraries for most packages, as long as the package itself supports it. I don't think Macports itself is to blame here. I think gdk-pixbuf doesn't like, or doesn't lend itself to, macdylibbundler.

kingthrillgore commented 7 years ago

Confirming the issue as well on 10.13 with version 1.6.5, with dependencies I installed via Homebrew over MacPorts (that shouldn't be a factor however).

jdolan commented 7 years ago

@Pan7 committed some fixes that may have affected this. If you do not have the previously required dependencies installed via MacPorts, could you please try this build and report if the icons issue is resolved:

http://quetoo.org/files/GtkRadiant-1.6.6.dmg

Thanks!

TTimo commented 7 years ago

Do we know if this was fixed?

jdolan commented 7 years ago

We need someone without MacPorts installed to verify @Pan7 's fix.

Here's a build cut this morning from master:

http://quetoo.org/files/GtkRadiant-1.6.6.dmg

@ghostfreeman @vikbez @LanGun Would you mind giving this build a spin?

vikbez commented 7 years ago

works for me with http://quetoo.org/files/GtkRadiant-1.6.6.dmg !

jdolan commented 7 years ago

💥

jdolan commented 7 years ago

Thank you again, @Pan7

0bsidian commented 7 years ago

Just to confirm (for website instructions) Macports is still required but no special dependencies? Or is Macports now not required at all?