Attempting to get 1.91 built on Mac

Discussion and announcements regarding the Mac port… er, original version of Oolite.

Moderators: winston, another_commander

User avatar
Cholmondely
Archivist
Archivist
Posts: 5344
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Attempting to get 1.91 built on Mac

Post by Cholmondely »

another_commander wrote: Thu Jun 27, 2024 8:25 pm
Log file?
But Oolite never started up! Nothing in the log file for almost a week, now...
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
MrFlibble
---- E L I T E ----
---- E L I T E ----
Posts: 321
Joined: Sun Feb 18, 2024 12:13 pm

Re: Attempting to get 1.91 built on Mac

Post by MrFlibble »

Cholmondely wrote: Thu Jun 27, 2024 7:46 pm
Downloaded.

Unzipped.

Clicked on the Oolite icon: "The application "Oolite" can't be opened".

No difference whether I held down the control button or not. But I did not get the usual greeting "Get lost - the developer of this game did not give us oodles of dosh and we refuse to let your computer do anything useful with it" (or words to that affect. This can usually be tamed by holding down the caontrol key while trying to open the application. Unusually, not needed here...).

AppleMac with Intel chip (1.1 GHz Dual-Core Intel Core i3) and thus slightly older Operating System (Catalina 10.15.3)
Open a terminal. Type cd (letter c, letter d, space) Drop the app on the terminal, you'll see something like:

Code: Select all

 cd /Users/cholmondely/Desktop/Mac_Oolite_1.91_ExperimentalBuild/Oolite.app/
Press return. Then (assuming that went quietly:-

Code: Select all

cd MacOS/Oolite
Type ls -al Oolite and hit return. This will show us the attributes of the executable phkb mentioned earlier.

Code: Select all

ls -al Oolite
-rw-r--r--@ 1 cholmondely  staff  8808848 27 Jun  2024 Oolite
Assuming you see -rw-r--r-- at the start of the response, that's the problem. It's not executable. Let's fix that

Code: Select all

chmod 755 Oolite
When you press return, not a lot will happen. So type ls -al and hit return again. This time the line should start with -rwxr-xr-x. It's ready to go. Now you can close the terminal.

For the first run, right click the application and select 'Open'. MacOS will trust it in future runs.

@phkb : Perhaps you should upload as zip (created on the Mac), so the attributes get preserved. Dropping the files on the up/down server loses all that.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5344
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Attempting to get 1.91 built on Mac

Post by Cholmondely »

Sir Flibble,

alas, it does not quite work the way you implied.

I eventually managed this to elicit this response:

Code: Select all

....-MacBook-Air ~ % cd /..../Desktop/Oolite/Oolite_1.91_ExperimentalBuild/Oolite.app
....-MacBook-Air Oolite.app % ls -al
total 0
drwxr-xr-x@ 3 ....  staff   96 27 Jun 20:25 .
drwxr-xr-x@ 5 ....  staff  160 27 Jun 20:44 ..
drwxrwxr-x@ 8 ....  staff  256 27 Jun 20:30 Contents
....-MacBook-Air Oolite.app % 
It looks quite fascinating - like some mystical rumination on the Pool of Perfect Pellucidity ....
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Attempting to get 1.91 built on Mac

Post by phkb »

I’ll try to post a better version tonight.
User avatar
MrFlibble
---- E L I T E ----
---- E L I T E ----
Posts: 321
Joined: Sun Feb 18, 2024 12:13 pm

Re: Attempting to get 1.91 built on Mac

Post by MrFlibble »

Cholmondely wrote: Thu Jun 27, 2024 9:52 pm
Sir Flibble,

alas, it does not quite work the way you implied.

I eventually managed this to elicit this response:

Code: Select all

....-MacBook-Air ~ % cd /..../Desktop/Oolite/Oolite_1.91_ExperimentalBuild/Oolite.app
....-MacBook-Air Oolite.app % ls -al
total 0
drwxr-xr-x@ 3 ....  staff   96 27 Jun 20:25 .
drwxr-xr-x@ 5 ....  staff  160 27 Jun 20:44 ..
drwxrwxr-x@ 8 ....  staff  256 27 Jun 20:30 Contents
....-MacBook-Air Oolite.app % 
It looks quite fascinating - like some mystical rumination on the Pool of Perfect Pellucidity ....
That's okay. Nearly there you were. So close!!! Here's a slightly more friendly way I should have offered at the outset.

Open a fresh terminal, type "chmod 755 " (sans quotes, including a space at the end), then back in Finder, right click the application and select "Show package contents". Then click your way through Contents, to MacOS.. and then you can see Oolite (the almost executable).. drop that on the terminal and you should see along the lines of:

Code: Select all

chmod 755 /home/cholmondely/Desktop/Oolite/Oolite_1.91_ExperimentalBuild/Oolite.app/Contents/MacOS/Oolite
Assuming you see effectively three atoms of wordage as above, (chmod 755 path-and-file-ending-Oolite), slap return, with gusto!!! Right click the app again, select "Open" and rejoice!! The magic is in your hands :)

'chmod' is an incantation for to "change the mode" (of a file). 755 is magic you need not worry about at this juncture, save to know that as an argument to 'chmod' it renders the target "executable/runnable". The rest is the address (path) and name, of the target file to be thus blessed.

If that still falls flat.. you'll have to await the next upload from kind Sir. phkb.
Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 675
Joined: Sat Aug 09, 2014 4:16 pm

Re: Attempting to get 1.91 built on Mac

Post by Commander_X »

Cholmondely wrote: Thu Jun 27, 2024 9:52 pm
[...]

Code: Select all

....-MacBook-Air ~ % cd /..../Desktop/Oolite/Oolite_1.91_ExperimentalBuild/Oolite.app
....-MacBook-Air Oolite.app % ls -al
total 0
drwxr-xr-x@ 3 ....  staff   96 27 Jun 20:25 .
drwxr-xr-x@ 5 ....  staff  160 27 Jun 20:44 ..
drwxrwxr-x@ 8 ....  staff  256 27 Jun 20:30 Contents
....-MacBook-Air Oolite.app % 
It looks quite fascinating - like some mystical rumination on the Pool of Perfect Pellucidity ....
If you can reproduce getting in "Oolite.app" folder (where you typed "ls -al"), you could try to type "chmod +x Contents/MacOS/Oolite" from that location, and that should do.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5344
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Attempting to get 1.91 built on Mac

Post by Cholmondely »

Done!

(Flibble method rather than Commander_X method): thanking you, gentlemen!




Message emblazoned across the front of the opening new version of Oolite:

Code: Select all

Oolite failed to start up, because an unhandled exception occurred.

An exception of type OoliteOpenGLTooOldException occurred. If this problem persists, please file a bug report.



Latest.log:

Code: Select all

Opening log for Oolite version 1.91 (x86-64 test release) under Mac OS X Version 10.15.3 (Build 19D2064) at 2024-06-28 05:50:41 +0000.
Machine type: MacBookAir9,1, 8192 MiB memory, 2 (4 logical) x x86 (family 0x38435547) @ 1100 MHz.
Build options: OpenAL, GLSL shaders, new planets, JavaScript console support, Debug plug-in support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

06:50:42.342 [oxp.versionMismatch] +[ResourceManager validateManifest:forOXP:] (ResourceManager.m:687): OXP /Users/accountname/Library/Application Support/Oolite/Managed AddOns/LoadoutByCategory_190.oxz is incompatible with version 1.91 of Oolite.
06:50:42.499 [oxp.message] +[ResourceManager checkOXPMessagesInPath:] (ResourceManager.m:576): /Users/accountname/Library/Application Support/Oolite/Managed AddOns/LitF+v0.06.1.oxp: Development version- not recommended for regular play-thru
06:50:42.572 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.SimonB.ubertharg.oxp has no manifest.plist
06:50:42.576 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.stranger.Famous Planets Music Pack.oxp has no manifest.plist
06:50:42.629 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/Thargoid_Witchspace_Drive_0.9.4_2012.04.20.oxp has no manifest.plist
06:50:42.636 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.stranger.Famous Planets ST Texture Pack C.oxp has no manifest.plist
06:50:42.643 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.stranger.Famous Planets ST Texture Pack B.oxp has no manifest.plist
06:50:42.645 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/Ships_Accountant.oxp has no manifest.plist
06:50:42.646 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.stranger.Famous Planets ST Texture Pack A.oxp has no manifest.plist
06:50:42.648 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.Submersible.Povray_Planets_Galaxy2_Textures.oxp has no manifest.plist
06:50:42.657 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.stranger.Famous Planets Overhaul 1.3.oxp has no manifest.plist
06:50:42.695 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.Okti.LongRangeScanner v0.3.oxp has no manifest.plist
06:50:42.697 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.Killer Wolf.nephthys_station.oxp has no manifest.plist
06:50:42.710 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.KillerWolf.IsisInt.oxp has no manifest.plist
06:50:42.717 [oxp-standards.error] OOStandardsInternal (OODebugStandards.m:92): OXP /Users/accountname/Library/Application Support/Oolite/AddOns/oolite.oxp.Spara.galactic navy facelift (cholly'd).oxp has no manifest.plist
06:50:42.767 [dataCache.rebuild.pathsChanged] +[ResourceManager checkCacheUpToDateForPaths:] (ResourceManager.m:1156): Cache is stale (search paths have changed). Rebuilding from scratch.
06:50:43.156 [testing] -[MyOpenGLView initWithFrame:] (MyOpenGLView.m:123): setting gl versions
06:50:43.525 [joystick.error.init] -[OOMacJoystickManager init] (OOMacJoystickManager.m:80): Cannot open HID manager; joystick support will not function.
06:50:43.526 [rendering.opengl.version] -[OOOpenGLExtensionManager reset] (OOOpenGLExtensionManager.m:254): OpenGL renderer version: 2.1.0 ("2.1 INTEL-14.4.26"). Vendor: "Intel Inc.". Renderer: "Intel(R) Iris(TM) Plus Graphics OpenGL Engine (1x6x8 (fused) LP".
06:50:43.526 [rendering.opengl.extensions] -[OOOpenGLExtensionManager reset] (OOOpenGLExtensionManager.m:255): OpenGL extensions (128):
GL_EXT_texture_compression_dxt1, GL_EXT_rescale_normal, GL_EXT_transform_feedback, GL_EXT_blend_func_separate, GL_EXT_framebuffer_sRGB, GL_ATI_texture_env_combine3, GL_ARB_draw_elements_base_vertex, GL_EXT_debug_label, GL_EXT_geometry_shader4, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_NV_texgen_reflection, GL_NV_blend_square, GL_ARB_texture_compression_rgtc, GL_EXT_stencil_wrap, GL_ARB_texture_env_crossbar, GL_EXT_framebuffer_blit, GL_ATI_separate_stencil, GL_APPLE_vertex_point_size, GL_EXT_texture_rectangle, GL_APPLE_specular_vector, GL_EXT_packed_depth_stencil, GL_EXT_blend_color, GL_ARB_fragment_program_shadow, GL_EXT_texture_env_add, GL_EXT_provoking_vertex, GL_EXT_texture_array, GL_ARB_texture_env_combine, GL_ARB_point_sprite, GL_ARB_multisample, GL_EXT_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_EXT_texture_lod_bias, GL_APPLE_pixel_buffer, GL_ARB_vertex_program, GL_EXT_bgra, GL_APPLE_fence, GL_APPLE_ycbcr_422, GL_EXT_timer_query, GL_EXT_vertex_array_bgra, GL_ARB_depth_clamp, GL_IBM_rasterpos_clip, GL_ARB_pixel_buffer_object, GL_SGIS_generate_mipmap, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_shader_texture_lod, GL_ARB_texture_float, GL_ARB_texture_rectangle, GL_ARB_vertex_shader, GL_NV_texture_barrier, GL_ARB_provoking_vertex, GL_ARB_texture_env_add, GL_APPLE_object_purgeable, GL_ARB_texture_env_dot3, GL_APPLE_rgb_422, GL_NV_depth_clamp, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_cube_map, GL_APPLE_element_array, GL_ATI_texture_float, GL_ARB_window_pos, GL_ARB_sync, GL_ARB_vertex_buffer_object, GL_APPLE_texture_range, GL_NV_conditional_render, GL_EXT_stencil_two_side, GL_ARB_texture_compression, GL_ARB_instanced_arrays, GL_EXT_blend_minmax, GL_ARB_texture_border_clamp, GL_EXT_draw_buffers2, GL_ARB_shading_language_100, GL_EXT_blend_equation_separate, GL_ARB_vertex_blend, GL_EXT_blend_subtract, GL_EXT_packed_float, GL_APPLE_aux_depth_stencil, GL_APPLE_row_bytes, GL_NV_light_max_exponent, GL_EXT_abgr, GL_EXT_texture_filter_anisotropic, GL_ARB_vertex_array_bgra, GL_ARB_draw_buffers, GL_ARB_transpose_matrix, GL_ARB_color_buffer_float, GL_EXT_gpu_program_parameters, GL_APPLE_client_storage, GL_ARB_texture_non_power_of_two, GL_ARB_multitexture, GL_EXT_gpu_shader4, GL_APPLE_flush_render, GL_ARB_framebuffer_object, GL_APPLE_vertex_program_evaluators, GL_APPLE_transform_hint, GL_EXT_texture_compression_s3tc, GL_APPLE_flush_buffer_range, GL_EXT_texture_integer, GL_SGIS_texture_edge_clamp, GL_NV_fog_distance, GL_ARB_occlusion_query, GL_ARB_fragment_shader, GL_ARB_texture_rg, GL_ARB_fragment_program, GL_ARB_seamless_cube_map, GL_ARB_shader_objects, GL_EXT_draw_range_elements, GL_APPLE_vertex_array_object, GL_ARB_depth_texture, GL_EXT_texture_sRGB, GL_ARB_half_float_vertex, GL_APPLE_vertex_array_range, GL_ARB_shadow, GL_EXT_multi_draw_arrays, GL_ARB_half_float_pixel, GL_APPLE_packed_pixels, GL_ARB_point_parameters, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_EXT_clip_volume_hint, GL_SGIS_texture_lod, GL_EXT_fog_coord, GL_EXT_texture_shared_exponent, GL_ATI_texture_mirror_once, GL_APPLE_float_pixels, GL_EXT_framebuffer_multisample, GL_ARB_depth_buffer_float, GL_ARB_draw_instanced
06:50:43.526 [rendering.opengl.version.insufficient] -[OOOpenGLExtensionManager reset] (OOOpenGLExtensionManager.m:259): ***** Oolite requires OpenGL version 3.3 or later.
06:50:43.526 [startup.exception] -[GameController reportUnhandledStartupException:] (GameController.m:922): ***** Unhandled exception during startup: OoliteOpenGLTooOldException (Oolite requires at least OpenGL 3.3. You have 2.1 ("2.1 INTEL-14.4.26").).

Closing log at 2024-06-28 05:54:29 +0000.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2028
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: Attempting to get 1.91 built on Mac

Post by maik »

Thank you for attempting to build for Mac! I tried running it on my MacBook Air with the M1 CPU on macOS Sonoma 14.5, but received the same exception.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Attempting to get 1.91 built on Mac

Post by phkb »

Right, so those options I'm setting aren't working. I won't bother with another version of the build for the moment, at least until I've had a search for why they're not being recognised. Thanks for testing though!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6668
Joined: Wed Feb 28, 2007 7:54 am

Re: Attempting to get 1.91 built on Mac

Post by another_commander »

Looks like although Apple supports OpenGL up to version 4.1, the OS will report OpenGL version as 2.1 to apps unless a specific setup has been requested. At least according to this discussion: https://www.reddit.com/r/osx/comments/a ... rivers_on/

This here might also be of some help: https://stackoverflow.com/questions/196 ... n-mac-os-x

WTF Apple, wtf...
User avatar
hiran
Theorethicist
Posts: 2394
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Attempting to get 1.91 built on Mac

Post by hiran »

Sunshine - Moonlight - Good Times - Oolite
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Attempting to get 1.91 built on Mac

Post by phkb »

Progress!!

I managed to get OpenGL to register a higher version (4.1 in my case). There are other issues now to work through, but at least I've passed the first hurdle.

My log file now looks like this

Code: Select all

Opening log for Oolite version 1.91 (x86-64 debug) under Mac OS X Version 10.12.6 (Build 16G2136) at 2024-07-08 02:02:23 +0000.
Machine type: iMac19,1, 8192 MiB memory, 4 x x86 (Nehalem) @ 2590 MHz.
Build options: OpenAL, GLSL shaders, new planets, heavy OpenGL error checking, JavaScript console support, Debug plug-in support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

12:02:23.389 [dataCache.notFound]: No data cache found, starting from scratch.
12:02:24.091 [rendering.opengl.version]: OpenGL renderer version: 4.1.0 ("4.1 APPLE-14.0.16"). Vendor: "Apple Inc.". Renderer: "Apple Software Renderer".
12:02:24.091 [rendering.opengl.extensions]: OpenGL extensions (46):
GL_ARB_blend_func_extended, GL_ARB_texture_swizzle, GL_APPLE_texture_range, GL_ARB_shader_subroutine, GL_ARB_viewport_array, GL_EXT_debug_label, GL_ARB_occlusion_query2, GL_EXT_texture_compression_s3tc, GL_ARB_instanced_arrays, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_vertex_attrib_64bit, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_gpu_shader5, GL_ARB_sampler_objects, GL_ARB_shading_language_include, GL_ARB_transform_feedback2, GL_APPLE_container_object_shareable, GL_EXT_texture_mirror_clamp, GL_EXT_texture_filter_anisotropic, GL_ATI_texture_mirror_once, GL_ARB_gpu_shader_fp64, GL_ARB_internalformat_query, GL_ARB_ES2_compatibility, GL_ARB_texture_gather, GL_ARB_draw_buffers_blend, GL_ARB_sample_shading, GL_ARB_separate_shader_objects, GL_ARB_texture_cube_map_array, GL_ARB_shader_bit_encoding, GL_ARB_tessellation_shader, GL_ARB_transform_feedback3, GL_ARB_texture_storage, GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_rgb10_a2ui, GL_EXT_depth_bounds_test, GL_APPLE_flush_render, GL_ARB_explicit_attrib_location, GL_ARB_timer_query, GL_APPLE_rgb_422, GL_ARB_draw_indirect, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_APPLE_client_storage, GL_NV_texture_barrier, GL_ARB_texture_query_lod, GL_APPLE_row_bytes
12:02:24.109 [rendering.opengl.shader.support]: Shaders will not be used (OpenGL extension GL_ARB_shading_language_100 is not available).
12:02:24.109 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Multisample framebuffer not complete
12:02:24.110 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Framebuffer not complete
12:02:24.110 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Passthrough framebuffer not complete
12:02:24.110 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Pingpong framebuffers not complete
12:02:24.110 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Pingpong framebuffers not complete
12:02:24.159 [dataCache.notFound]: No data cache found, starting from scratch.
12:02:24.167 [searchPaths.dumpAll]: Resource paths: 
    ~/Library/Developer/Xcode/DerivedData/Oolite-ahakrpneasaufigbagcaffqbitjw/Build/Products/Debug/Oolite.app/Contents/Resources
12:02:24.183 [startup.exception]: ***** Unhandled exception during startup: NSInvalidArgumentException (-[MyOpenGLView setMsaa:]: unrecognized selector sent to instance 0x11784a000).

Closing log at 2024-07-08 02:02:27 +0000.
User avatar
MrFlibble
---- E L I T E ----
---- E L I T E ----
Posts: 321
Joined: Sun Feb 18, 2024 12:13 pm

Re: Attempting to get 1.91 built on Mac

Post by MrFlibble »

phkb wrote: Mon Jul 08, 2024 2:06 am
Progress!!

I managed to get OpenGL to register a higher version (4.1 in my case). There are other issues now to work through, but at least I've passed the first hurdle.

My log file now looks like this

Code: Select all

Opening log for Oolite version 1.91 (x86-64 debug) under Mac OS X Version 10.12.6 (Build 16G2136) at 2024-07-08 02:02:23 +0000.
Machine type: iMac19,1, 8192 MiB memory, 4 x x86 (Nehalem) @ 2590 MHz.
Build options: OpenAL, GLSL shaders, new planets, heavy OpenGL error checking, JavaScript console support, Debug plug-in support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

12:02:23.389 [dataCache.notFound]: No data cache found, starting from scratch.
12:02:24.091 [rendering.opengl.version]: OpenGL renderer version: 4.1.0 ("4.1 APPLE-14.0.16"). Vendor: "Apple Inc.". Renderer: "Apple Software Renderer".
12:02:24.091 [rendering.opengl.extensions]: OpenGL extensions (46):
GL_ARB_blend_func_extended, GL_ARB_texture_swizzle, GL_APPLE_texture_range, GL_ARB_shader_subroutine, GL_ARB_viewport_array, GL_EXT_debug_label, GL_ARB_occlusion_query2, GL_EXT_texture_compression_s3tc, GL_ARB_instanced_arrays, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_vertex_attrib_64bit, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_gpu_shader5, GL_ARB_sampler_objects, GL_ARB_shading_language_include, GL_ARB_transform_feedback2, GL_APPLE_container_object_shareable, GL_EXT_texture_mirror_clamp, GL_EXT_texture_filter_anisotropic, GL_ATI_texture_mirror_once, GL_ARB_gpu_shader_fp64, GL_ARB_internalformat_query, GL_ARB_ES2_compatibility, GL_ARB_texture_gather, GL_ARB_draw_buffers_blend, GL_ARB_sample_shading, GL_ARB_separate_shader_objects, GL_ARB_texture_cube_map_array, GL_ARB_shader_bit_encoding, GL_ARB_tessellation_shader, GL_ARB_transform_feedback3, GL_ARB_texture_storage, GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_rgb10_a2ui, GL_EXT_depth_bounds_test, GL_APPLE_flush_render, GL_ARB_explicit_attrib_location, GL_ARB_timer_query, GL_APPLE_rgb_422, GL_ARB_draw_indirect, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_APPLE_client_storage, GL_NV_texture_barrier, GL_ARB_texture_query_lod, GL_APPLE_row_bytes
12:02:24.109 [rendering.opengl.shader.support]: Shaders will not be used (OpenGL extension GL_ARB_shading_language_100 is not available).
12:02:24.109 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Multisample framebuffer not complete
12:02:24.110 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Framebuffer not complete
12:02:24.110 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Passthrough framebuffer not complete
12:02:24.110 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Pingpong framebuffers not complete
12:02:24.110 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Pingpong framebuffers not complete
12:02:24.159 [dataCache.notFound]: No data cache found, starting from scratch.
12:02:24.167 [searchPaths.dumpAll]: Resource paths: 
    ~/Library/Developer/Xcode/DerivedData/Oolite-ahakrpneasaufigbagcaffqbitjw/Build/Products/Debug/Oolite.app/Contents/Resources
12:02:24.183 [startup.exception]: ***** Unhandled exception during startup: NSInvalidArgumentException (-[MyOpenGLView setMsaa:]: unrecognized selector sent to instance 0x11784a000).

Closing log at 2024-07-08 02:02:27 +0000.
Nicely done. Is that on a VM?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Attempting to get 1.91 built on Mac

Post by phkb »

Yes, it's a VM.

I definitely think I'm running into the limitations of the VM environment, so here is a new package to try: *** (edit: link removed, see later posts)

Same rules as before. If any intrepid souls do take the plunge, a copy of the latest.log file generated would be very helpful.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Attempting to get 1.91 built on Mac

Post by phkb »

And fingers-crossed, I've managed to zip the thing up properly this time, so it should execute without having to do any sort of shenanigans with terminal.
Post Reply