Primitive not found : lime_*

running openfl sample SimpleOpenGLView on iOS simulator I’m getting a whole load of Primitive not found warnings, followed by Error Null Function Pointer, (unhelpfully without a stack dump or even line number despite compiling for debug).

I compiled with haxelib run lime test “project.xml” ios -simulator -debug

The only link I can find on this problem occuring at runtime is 4 years old and seems to involve rebuilding the libraries. I installed OpenFL only yesterday so I can’t see how this would help.

Any ideas on whether these “Primitive not found” are important, or how to trace the origin of the Null Function Pointer error?

Primitive not found : lime_cffi_set_finalizer__1
Primitive not found : lime_application_create__1
Primitive not found : lime_application_event_manager_register__2
Primitive not found : lime_application_exec__1
Primitive not found : lime_application_init__1
Primitive not found : lime_application_quit__1
Primitive not found : lime_application_set_frame_rate__2
Primitive not found : lime_application_update__1
Primitive not found : lime_gamepad_event_manager_register__2
Primitive not found : lime_key_event_manager_register__2
Primitive not found : lime_mouse_event_manager_register__2
Primitive not found : lime_render_event_manager_register__2
Primitive not found : lime_sensor_event_manager_register__2
Primitive not found : lime_text_event_manager_register__2
Primitive not found : lime_touch_event_manager_register__2
Primitive not found : lime_window_event_manager_register__2
Primitive not found : lime_mouse_hide__0
Primitive not found : lime_mouse_set_cursor__1
Primitive not found : lime_mouse_set_lock__1
Primitive not found : lime_mouse_show__0
Primitive not found : lime_mouse_warp__3
Primitive not found : lime_renderer_create__1
Primitive not found : lime_renderer_flip__1
Primitive not found : lime_renderer_get_context__1
Primitive not found : lime_renderer_get_type__1
Primitive not found : lime_renderer_lock__1
Primitive not found : lime_renderer_make_current__1
Primitive not found : lime_renderer_unlock__1
Primitive not found : lime_window_alert__3
Primitive not found : lime_window_close__1
Primitive not found : lime_window_create__5
Primitive not found : lime_window_focus__1
Primitive not found : lime_window_get_enable_text_events__1
Primitive not found : lime_window_get_height__1
Primitive not found : lime_window_get_id__1
Primitive not found : lime_window_get_width__1
Primitive not found : lime_window_get_x__1
Primitive not found : lime_window_get_y__1
Primitive not found : lime_window_move__3
Primitive not found : lime_window_resize__3
Primitive not found : lime_window_set_enable_text_events__2
Primitive not found : lime_window_set_fullscreen__2
Primitive not found : lime_window_set_icon__2
Primitive not found : lime_window_set_minimized__2
Primitive not found : lime_window_set_title__2
Primitive not found : lime_audio_load__1
Primitive not found : lime_al_buffer_data__5
Primitive not found : lime_al_buffer3f__5
Primitive not found : lime_al_buffer3i__5
Primitive not found : lime_al_bufferf__3
Primitive not found : lime_al_bufferfv__3
Primitive not found : lime_al_bufferi__3
Primitive not found : lime_al_bufferiv__3
Primitive not found : lime_al_delete_buffer__1
Primitive not found : lime_al_delete_buffers__2
Primitive not found : lime_al_delete_source__1
Primitive not found : lime_al_delete_sources__2
Primitive not found : lime_al_disable__1
Primitive not found : lime_al_distance_model__1
Primitive not found : lime_al_doppler_factor__1
Primitive not found : lime_al_doppler_velocity__1
Primitive not found : lime_al_enable__1
Primitive not found : lime_al_gen_source__0
Primitive not found : lime_al_gen_sources__1
Primitive not found : lime_al_get_boolean__1
Primitive not found : lime_al_get_booleanv__2
Primitive not found : lime_al_gen_buffer__0
Primitive not found : lime_al_gen_buffers__1
Primitive not found : lime_al_get_buffer3f__2
Primitive not found : lime_al_get_buffer3i__2
Primitive not found : lime_al_get_bufferf__2
Primitive not found : lime_al_get_bufferfv__3
Primitive not found : lime_al_get_bufferi__2
Primitive not found : lime_al_get_bufferiv__3
Primitive not found : lime_al_get_double__1
Primitive not found : lime_al_get_doublev__2
Primitive not found : lime_al_get_enum_value__1
Primitive not found : lime_al_get_error__0
Primitive not found : lime_al_get_float__1
Primitive not found : lime_al_get_floatv__2
Primitive not found : lime_al_get_integer__1
Primitive not found : lime_al_get_integerv__2
Primitive not found : lime_al_get_listener3f__1
Primitive not found : lime_al_get_listener3i__1
Primitive not found : lime_al_get_listenerf__1
Primitive not found : lime_al_get_listenerfv__2
Primitive not found : lime_al_get_listeneri__1
Primitive not found : lime_al_get_listeneriv__2
Primitive not found : lime_al_get_proc_address__1
Primitive not found : lime_al_get_source3f__2
Primitive not found : lime_al_get_source3i__2
Primitive not found : lime_al_get_sourcef__2
Primitive not found : lime_al_get_sourcefv__3
Primitive not found : lime_al_get_sourcei__2
Primitive not found : lime_al_get_sourceiv__3
Primitive not found : lime_al_get_string__1
Primitive not found : lime_al_is_buffer__1
Primitive not found : lime_al_is_enabled__1
Primitive not found : lime_al_is_extension_present__1
Primitive not found : lime_al_is_source__1
Primitive not found : lime_al_listener3f__4
Primitive not found : lime_al_listener3i__4
Primitive not found : lime_al_listenerf__2
Primitive not found : lime_al_listenerfv__2
Primitive not found : lime_al_listeneri__2
Primitive not found : lime_al_listeneriv__2
Primitive not found : lime_al_source_pause__1
Primitive not found : lime_al_source_pausev__2
Primitive not found : lime_al_source_play__1
Primitive not found : lime_al_source_playv__2
Primitive not found : lime_al_source_queue_buffers__3
Primitive not found : lime_al_source_rewind__1
Primitive not found : lime_al_source_rewindv__2
Primitive not found : lime_al_source_stop__1
Primitive not found : lime_al_source_stopv__2
Primitive not found : lime_al_source_unqueue_buffers__2
Primitive not found : lime_al_source3f__5
Primitive not found : lime_al_source3i__5
Primitive not found : lime_al_sourcef__3
Primitive not found : lime_al_sourcefv__3
Primitive not found : lime_al_sourcei__3
Primitive not found : lime_al_sourceiv__3
Primitive not found : lime_al_speed_of_sound__1
Primitive not found : lime_alc_close_device__1
Primitive not found : lime_alc_create_context__2
Primitive not found : lime_alc_destroy_context__1
Primitive not found : lime_alc_get_contexts_device__1
Primitive not found : lime_alc_get_current_context__0
Primitive not found : lime_alc_get_error__1
Primitive not found : lime_alc_get_integerv__3
Primitive not found : lime_alc_get_string__2
Primitive not found : lime_alc_make_context_current__1
Primitive not found : lime_alc_open_device__1
Primitive not found : lime_alc_process_context__1
Primitive not found : lime_alc_suspend_context__1
Primitive not found : lime_image_encode__3
Primitive not found : lime_image_load__1
Primitive not found : lime_cairo_arc__MULT
Primitive not found : lime_cairo_arc_negative__MULT
Primitive not found : lime_cairo_clip__1
Primitive not found : lime_cairo_clip_preserve__1
Primitive not found : lime_cairo_clip_extents__5
Primitive not found : lime_cairo_close_path__1
Primitive not found : lime_cairo_copy_page__1
Primitive not found : lime_cairo_create__1
Primitive not found : lime_cairo_curve_to__MULT
Primitive not found : lime_cairo_destroy__1
Primitive not found : lime_cairo_fill__1
Primitive not found : lime_cairo_fill_extents__5
Primitive not found : lime_cairo_fill_preserve__1
Primitive not found : lime_cairo_get_antialias__1
Primitive not found : lime_cairo_get_current_point__1
Primitive not found : lime_cairo_get_dash__1
Primitive not found : lime_cairo_get_dash_count__1
Primitive not found : lime_cairo_get_fill_rule__1
Primitive not found : lime_cairo_get_font_face__1
Primitive not found : lime_cairo_get_font_options__1
Primitive not found : lime_cairo_get_group_target__1
Primitive not found : lime_cairo_get_line_cap__1
Primitive not found : lime_cairo_get_line_join__1
Primitive not found : lime_cairo_get_line_width__1
Primitive not found : lime_cairo_get_matrix__1
Primitive not found : lime_cairo_get_miter_limit__1
Primitive not found : lime_cairo_get_operator__1
Primitive not found : lime_cairo_get_reference_count__1
Primitive not found : lime_cairo_get_source__1
Primitive not found : lime_cairo_get_target__1
Primitive not found : lime_cairo_get_tolerance__1
Primitive not found : lime_cairo_has_current_point__1
Primitive not found : lime_cairo_identity_matrix__1
Primitive not found : lime_cairo_in_clip__3
Primitive not found : lime_cairo_in_fill__3
Primitive not found : lime_cairo_in_stroke__3
Primitive not found : lime_cairo_line_to__3
Primitive not found : lime_cairo_mask__2
Primitive not found : lime_cairo_mask_surface__4
Primitive not found : lime_cairo_move_to__3
Primitive not found : lime_cairo_new_path__1
Primitive not found : lime_cairo_paint__1
Primitive not found : lime_cairo_paint_with_alpha__2
Primitive not found : lime_cairo_pop_group__1
Primitive not found : lime_cairo_pop_group_to_source__1
Primitive not found : lime_cairo_push_group__1
Primitive not found : lime_cairo_push_group_with_content__2
Primitive not found : lime_cairo_rectangle__5
Primitive not found : lime_cairo_reference__1
Primitive not found : lime_cairo_rel_curve_to__MULT
Primitive not found : lime_cairo_rel_line_to__3
Primitive not found : lime_cairo_rel_move_to__3
Primitive not found : lime_cairo_reset_clip__1
Primitive not found : lime_cairo_restore__1
Primitive not found : lime_cairo_rotate__2
Primitive not found : lime_cairo_save__1
Primitive not found : lime_cairo_scale__3
Primitive not found : lime_cairo_set_antialias__2
Primitive not found : lime_cairo_set_dash__2
Primitive not found : lime_cairo_set_fill_rule__2
Primitive not found : lime_cairo_set_font_face__2
Primitive not found : lime_cairo_set_font_options__2
Primitive not found : lime_cairo_set_font_size__2
Primitive not found : lime_cairo_set_line_cap__2
Primitive not found : lime_cairo_set_line_join__2
Primitive not found : lime_cairo_set_line_width__2
Primitive not found : lime_cairo_set_matrix__2
Primitive not found : lime_cairo_set_miter_limit__2
Primitive not found : lime_cairo_set_operator__2
Primitive not found : lime_cairo_set_source__2
Primitive not found : lime_cairo_set_source_rgb__4
Primitive not found : lime_cairo_set_source_rgba__5
Primitive not found : lime_cairo_set_source_surface__4
Primitive not found : lime_cairo_set_tolerance__2
Primitive not found : lime_cairo_show_page__1
Primitive not found : lime_cairo_show_text__2
Primitive not found : lime_cairo_status__1
Primitive not found : lime_cairo_stroke__1
Primitive not found : lime_cairo_stroke_extents__5
Primitive not found : lime_cairo_stroke_preserve__1
Primitive not found : lime_cairo_transform__2
Primitive not found : lime_cairo_translate__3
Primitive not found : lime_cairo_version__0
Primitive not found : lime_cairo_version_string__0
Primitive not found : lime_cairo_ft_font_face_create__2
Primitive not found : lime_cairo_font_face_destroy__1
Primitive not found : lime_cairo_font_face_get_reference_count__1
Primitive not found : lime_cairo_font_face_reference__1
Primitive not found : lime_cairo_font_face_status__1
Primitive not found : lime_cairo_font_options_create__0
Primitive not found : lime_cairo_font_options_destroy__1
Primitive not found : lime_cairo_font_options_get_antialias__1
Primitive not found : lime_cairo_font_options_get_hint_metrics__1
Primitive not found : lime_cairo_font_options_get_hint_style__1
Primitive not found : lime_cairo_font_options_get_subpixel_order__1
Primitive not found : lime_cairo_font_options_set_antialias__2
Primitive not found : lime_cairo_font_options_set_hint_metrics__2
Primitive not found : lime_cairo_font_options_set_hint_style__2
Primitive not found : lime_cairo_font_options_set_subpixel_order__2
Primitive not found : lime_bytes_get_data_pointer__1
Primitive not found : lime_cairo_image_surface_create__3
Primitive not found : lime_cairo_image_surface_create_for_data__5
Primitive not found : lime_cairo_image_surface_get_data__1
Primitive not found : lime_cairo_image_surface_get_format__1
Primitive not found : lime_cairo_image_surface_get_height__1
Primitive not found : lime_cairo_image_surface_get_stride__1
Primitive not found : lime_cairo_image_surface_get_width__1
Primitive not found : lime_cairo_pattern_add_color_stop_rgb__5
Primitive not found : lime_cairo_pattern_add_color_stop_rgba__MULT
Primitive not found : lime_cairo_pattern_create_for_surface__1
Primitive not found : lime_cairo_pattern_create_linear__4
Primitive not found : lime_cairo_pattern_create_radial__MULT
Primitive not found : lime_cairo_pattern_create_rgb__3
Primitive not found : lime_cairo_pattern_create_rgba__4
Primitive not found : lime_cairo_pattern_destroy__1
Primitive not found : lime_cairo_pattern_get_color_stop_count__1
Primitive not found : lime_cairo_pattern_get_extend__1
Primitive not found : lime_cairo_pattern_get_filter__1
Primitive not found : lime_cairo_pattern_get_matrix__1
Primitive not found : lime_cairo_pattern_set_extend__2
Primitive not found : lime_cairo_pattern_set_filter__2
Primitive not found : lime_cairo_pattern_set_matrix__2
Primitive not found : lime_cairo_surface_destroy__1
Primitive not found : lime_cairo_surface_flush__1
Primitive not found : lime_jpeg_decode_bytes__2
Primitive not found : lime_jpeg_decode_file__2
Primitive not found : lime_image_encode__3
Primitive not found : lime_png_decode_bytes__2
Primitive not found : lime_png_decode_file__2
Primitive not found : lime_image_encode__3
Primitive not found : lime_gl_active_texture__1
Primitive not found : lime_gl_attach_shader__2
Primitive not found : lime_gl_bind_attrib_location__3
Primitive not found : lime_gl_bind_buffer__2
Primitive not found : lime_gl_bind_framebuffer__2
Primitive not found : lime_gl_bind_renderbuffer__2
Primitive not found : lime_gl_bind_texture__2
Primitive not found : lime_gl_blend_color__4
Primitive not found : lime_gl_blend_equation__1
Primitive not found : lime_gl_blend_equation_separate__2
Primitive not found : lime_gl_blend_func__2
Primitive not found : lime_gl_blend_func_separate__4
Primitive not found : lime_gl_buffer_data__5
Primitive not found : lime_gl_buffer_sub_data__5
Primitive not found : lime_gl_check_framebuffer_status__1
Primitive not found : lime_gl_clear__1
Primitive not found : lime_gl_clear_color__4
Primitive not found : lime_gl_clear_depth__1
Primitive not found : lime_gl_clear_stencil__1
Primitive not found : lime_gl_color_mask__4
Primitive not found : lime_gl_compile_shader__1
Primitive not found : lime_gl_compressed_tex_image_2d__MULT
Primitive not found : lime_gl_compressed_tex_sub_image_2d__MULT
Primitive not found : lime_gl_copy_tex_image_2d__MULT
Primitive not found : lime_gl_copy_tex_sub_image_2d__MULT
Primitive not found : lime_gl_create_buffer__0
Primitive not found : lime_gl_create_framebuffer__0
Primitive not found : lime_gl_create_program__0
Primitive not found : lime_gl_create_render_buffer__0
Primitive not found : lime_gl_create_shader__1
Primitive not found : lime_gl_create_texture__0
Primitive not found : lime_gl_cull_face__1
Primitive not found : lime_gl_delete_buffer__1
Primitive not found : lime_gl_delete_framebuffer__1
Primitive not found : lime_gl_delete_program__1
Primitive not found : lime_gl_delete_render_buffer__1
Primitive not found : lime_gl_delete_shader__1
Primitive not found : lime_gl_delete_texture__1
Primitive not found : lime_gl_depth_func__1
Primitive not found : lime_gl_depth_mask__1
Primitive not found : lime_gl_depth_range__2
Primitive not found : lime_gl_detach_shader__2
Primitive not found : lime_gl_disable__1
Primitive not found : lime_gl_disable_vertex_attrib_array__1
Primitive not found : lime_gl_draw_arrays__3
Primitive not found : lime_gl_draw_elements__4
Primitive not found : lime_gl_enable__1
Primitive not found : lime_gl_enable_vertex_attrib_array__1
Primitive not found : lime_gl_finish__0
Primitive not found : lime_gl_flush__0
Primitive not found : lime_gl_framebuffer_renderbuffer__4
Primitive not found : lime_gl_framebuffer_texture2D__5
Primitive not found : lime_gl_front_face__1
Primitive not found : lime_gl_generate_mipmap__1
Primitive not found : lime_gl_get_active_attrib__2
Primitive not found : lime_gl_get_active_uniform__2
Primitive not found : lime_gl_get_attrib_location__2
Primitive not found : lime_gl_get_buffer_parameter__2
Primitive not found : lime_gl_get_context_attributes__0
Primitive not found : lime_gl_get_error__0
Primitive not found : lime_gl_get_extension__1
Primitive not found : lime_gl_get_framebuffer_attachment_parameter__3
Primitive not found : lime_gl_get_parameter__1
Primitive not found : lime_gl_get_program_info_log__1
Primitive not found : lime_gl_get_program_parameter__2
Primitive not found : lime_gl_get_render_buffer_parameter__2
Primitive not found : lime_gl_get_shader_info_log__1
Primitive not found : lime_gl_get_shader_parameter__2
Primitive not found : lime_gl_get_shader_precision_format__2
Primitive not found : lime_gl_get_shader_source__1
Primitive not found : lime_gl_get_supported_extensions__1
Primitive not found : lime_gl_get_tex_parameter__2
Primitive not found : lime_gl_get_uniform__2
Primitive not found : lime_gl_get_uniform_location__2
Primitive not found : lime_gl_get_vertex_attrib__2
Primitive not found : lime_gl_get_vertex_attrib_offset__2
Primitive not found : lime_gl_hint__2
Primitive not found : lime_gl_is_buffer__1
Primitive not found : lime_gl_is_enabled__1
Primitive not found : lime_gl_is_framebuffer__1
Primitive not found : lime_gl_is_program__1
Primitive not found : lime_gl_is_renderbuffer__1
Primitive not found : lime_gl_is_shader__1
Primitive not found : lime_gl_is_texture__1
Primitive not found : lime_gl_line_width__1
Primitive not found : lime_gl_link_program__1
Primitive not found : lime_gl_pixel_storei__2
Primitive not found : lime_gl_polygon_offset__2
Primitive not found : lime_gl_read_pixels__MULT
Primitive not found : lime_gl_renderbuffer_storage__4
Primitive not found : lime_gl_sample_coverage__2
Primitive not found : lime_gl_scissor__4
Primitive not found : lime_gl_shader_source__2
Primitive not found : lime_gl_stencil_func__3
Primitive not found : lime_gl_stencil_func_separate__4
Primitive not found : lime_gl_stencil_mask__1
Primitive not found : lime_gl_stencil_mask_separate__2
Primitive not found : lime_gl_stencil_op__3
Primitive not found : lime_gl_stencil_op_separate__4
Primitive not found : lime_gl_tex_image_2d__MULT
Primitive not found : lime_gl_tex_parameterf__3
Primitive not found : lime_gl_tex_parameteri__3
Primitive not found : lime_gl_tex_sub_image_2d__MULT
Primitive not found : lime_gl_uniform1f__2
Primitive not found : lime_gl_uniform1fv__2
Primitive not found : lime_gl_uniform1i__2
Primitive not found : lime_gl_uniform1iv__2
Primitive not found : lime_gl_uniform2f__3
Primitive not found : lime_gl_uniform2fv__2
Primitive not found : lime_gl_uniform2i__3
Primitive not found : lime_gl_uniform2iv__2
Primitive not found : lime_gl_uniform3f__4
Primitive not found : lime_gl_uniform3fv__2
Primitive not found : lime_gl_uniform3i__4
Primitive not found : lime_gl_uniform3iv__2
Primitive not found : lime_gl_uniform4f__5
Primitive not found : lime_gl_uniform4fv__2
Primitive not found : lime_gl_uniform4i__5
Primitive not found : lime_gl_uniform4iv__2
Primitive not found : lime_gl_uniform_matrix__4
Primitive not found : lime_gl_use_program__1
Primitive not found : lime_gl_validate_program__1
Primitive not found : lime_gl_version__0
Primitive not found : lime_gl_vertex_attrib1f__2
Primitive not found : lime_gl_vertex_attrib1fv__2
Primitive not found : lime_gl_vertex_attrib2f__3
Primitive not found : lime_gl_vertex_attrib2fv__2
Primitive not found : lime_gl_vertex_attrib3f__4
Primitive not found : lime_gl_vertex_attrib3fv__2
Primitive not found : lime_gl_vertex_attrib4f__5
Primitive not found : lime_gl_vertex_attrib4fv__2
Primitive not found : lime_gl_vertex_attrib_pointer__MULT
Primitive not found : lime_gl_viewport__4
Primitive not found : lime_image_data_util_color_transform__3
Primitive not found : lime_image_data_util_copy_channel__MULT
Primitive not found : lime_image_data_util_copy_pixels__MULT
Primitive not found : lime_image_data_util_fill_rect__4
Primitive not found : lime_image_data_util_flood_fill__5
Primitive not found : lime_image_data_util_get_pixels__4
Primitive not found : lime_image_data_util_merge__MULT
Primitive not found : lime_image_data_util_multiply_alpha__1
Primitive not found : lime_image_data_util_resize__4
Primitive not found : lime_image_data_util_set_format__2
Primitive not found : lime_image_data_util_set_pixels__4
Primitive not found : lime_image_data_util_unmultiply_alpha__1
Primitive not found : lime_curl_getdate__2
Primitive not found : lime_curl_global_cleanup__0
Primitive not found : lime_curl_global_init__1
Primitive not found : lime_curl_version__0
Primitive not found : lime_curl_version_info__1
Primitive not found : lime_curl_easy_cleanup__1
Primitive not found : lime_curl_easy_duphandle__1
Primitive not found : lime_curl_easy_escape__3
Primitive not found : lime_curl_easy_getinfo__2
Primitive not found : lime_curl_easy_init__0
Primitive not found : lime_curl_easy_pause__2
Primitive not found : lime_curl_easy_perform__1
Primitive not found : lime_curl_easy_recv__4
Primitive not found : lime_curl_easy_reset__1
Primitive not found : lime_curl_easy_send__4
Primitive not found : lime_curl_easy_setopt__3
Primitive not found : lime_curl_easy_strerror__1
Primitive not found : lime_curl_easy_unescape__4
Primitive not found : lime_clipboard_get_text__0
Primitive not found : lime_clipboard_set_text__1
Primitive not found : lime_system_get_directory__3
Primitive not found : lime_system_get_display__1
Primitive not found : lime_system_get_num_displays__0
Primitive not found : lime_system_get_timer__0
Primitive not found : lime_font_get_ascender__1
Primitive not found : lime_font_get_descender__1
Primitive not found : lime_font_get_family_name__1
Primitive not found : lime_font_get_glyph_index__2
Primitive not found : lime_font_get_glyph_indices__2
Primitive not found : lime_font_get_glyph_metrics__2
Primitive not found : lime_font_get_height__1
Primitive not found : lime_font_get_num_glyphs__1
Primitive not found : lime_font_get_underline_position__1
Primitive not found : lime_font_get_underline_thickness__1
Primitive not found : lime_font_get_units_per_em__1
Primitive not found : lime_font_load__1
Primitive not found : lime_font_outline_decompose__2
Primitive not found : lime_font_render_glyph__3
Primitive not found : lime_font_render_glyphs__3
Primitive not found : lime_font_set_size__2
Primitive not found : lime_text_layout_create__3
Primitive not found : lime_text_layout_position__5
Primitive not found : lime_text_layout_set_direction__2
Primitive not found : lime_text_layout_set_language__2
Primitive not found : lime_text_layout_set_script__2
Primitive not found : lime_gamepad_add_mappings__1
Primitive not found : lime_gamepad_get_device_guid__1
Primitive not found : lime_gamepad_get_device_name__1
Primitive not found : lime_bytes_from_data_pointer__2
Primitive not found : lime_bytes_get_data_pointer__1
Primitive not found : lime_bytes_read_file__1
Primitive not found : lime_lzma_decode__1
Primitive not found : lime_lzma_encode__1
Error Null Function Pointer

It doesn’t seem to find any primitive at all,

are you able to test on a real ios device? It would help to see if the problem is in the way the lime tools make the application or in the way the simulator use it.

This is a bug in the CFFI bindings for iOS. It is fixed in the development version of HXCPP, perhaps I should use that on the build server for now, so that the pre-compiled iOS binaries are functional.

We switched some time ago to faster (by 10-40 times) bindings for C++, but it had a bug that prevented static targets from working

Could you please try downloading Lime 2.6.6 that was just released, and see if it works on your machine?

That’s fixed it - SimpleOpenGLView on iOS simulator is now working. Thank you for taking the time to update that.

Regards, Jake

Awesome, thank you for reporting! :slight_smile:

WinXP, similar issue. Lime 2.6.8 OpenFl 3.3.8

Called from lime/_backend/native/NativeApplication.hx line 439
Called from lime/system/System.hx line 239
Called from C:\HaxeToolkit\haxe\std/neko/Lib.hx line 30
Uncaught exception - load.c(357) : Primitive not found : ./[email protected]_update_even
t_manager_register(2)

Last combination that works is Lime 2.4.2 and OpenFl 3.0.8.

Does that occur when targeting Neko? Does that occur when building a basic OpenFL sample?

Oh, sorry, I forgot about target. Yes it is for Neko. And yes for basic OpenFl samples too.

Does it work if you target Windows? Do you have any warnings (like could not find “lime.ndll”) during the build?

No warnings. Build (both for windows and for neko) stops on this:

 - Running command: neko C:\HaxeToolkit/lime/2,6,8/svg.n process C:\HaxeToolkit/
openfl/3,3,8/templates/default/icon.svg 16 16 C:\DOCUME~1\Tim\LOCALS~1\Temp/temp
_4344880.png

With std win error like “Application will be closed. Send the report”.

Does “C:\HaxeToolkit\lime\ndll\Windows\lime.ndll” exist? Curious this is “C:\HaxeToolkit\lime” instead of “C:\HaxeToolkit\haxe\lib\lime”, is this a development build?

Lib “lime.ndll” exists. No, this is not a dev build. Also C:\HaxeToolkit\haxe\lib\lime\ contains 2.4.0 and 2.4.1 versions of Lime.

What does running haxelib path lime output?

-L lime/2,6,8/ndll/
C:\HaxeToolkit/lime/2,6,8/
-D lime=2.6.8

Do you have another system to test on? Is this just specific to Windows XP?

On Win7 no errors, all good.

Hmm, the new process relies on “GetProcAddress” under the hood, but this works on Windows XP, or is supposed to. Maybe it’s something with resolving DLLs properly :frowning: