pioneerspacesim / pioneer

A game of lonely space adventure
https://pioneerspacesim.net
1.64k stars 380 forks source link

Building Pioneer for Mac OS 10.15 with Xcode #4850

Closed januarydev closed 4 years ago

januarydev commented 4 years ago

Process: clone repo (git clone https://github.com/pioneerspacesim/pioneer) install ports (cd osx, ./install-scripts.sh) make project (mkdir build, cmake -G Xcode ..) build target Pioneer in Xcode

Build succeeds with two errors: pioneer-lib Group, Format String Issue Group, /Users/jeremyyanowitz/Downloads/pioneer/src/Space.cpp:1033:48: Format specifies type 'int' but the argument has type 'FrameId'

pioneer Group, Apple Mach-O Linker (ld) Warning Group, : Directory not found for option '-L/opt/local/lib/Debug'

Then try to run:

ver 20200403 (2e44d9302) on: Mac OS X

System Name: Darwin
Host Name: Jeremys-MacBook-Pro.local
Release(Kernel) Version: 19.4.0
Kernel Build Timestamp: Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Machine Arch: x86_64

2020-04-03 15:51:43.122186-0600 pioneer[44854:1005919] Metal API Validation Enabled
2020-04-03 15:51:43.174824-0600 pioneer[44854:1006444] flock failed to lock maps file: errno = 35
2020-04-03 15:51:43.175839-0600 pioneer[44854:1006444] flock failed to lock maps file: errno = 35

--------------------
SDL Version (build) 2.0.12
SDL Version (dynamic) 2.0.12
SDL Versions match
SDL_image Version (build): 2.0.5
SDL_image Version (dynamic): 2.0.5
SDL_image Versions match
Assimp Version: 4.1.0
FreeType Version: 2.10.1
GLEW dynamic version: 2.0.0
--------------------

Initialized OpenGL 3.1, with extensions, renderer
Initializing joystick subsystem.
started 7 worker threads in 0.71ms

Engine startup took 1558.91ms
Pi shutting down.
Assertion failed: (g_initted), function Uninit, file /Users/jeremyyanowitz/Downloads/pioneer/src/NavLights.cpp, line 72.
(lldb) 
Web-eWorks commented 4 years ago

Hmm... this one's a very interesting bug. From the looks of it, the assertion is mostly unrelated to the problem, as the game is immediately skipping from Pi::App::Startup() to Pi::App::Shutdown() without executing the LoadStep which is unconditionally queued for execution as part of the Startup() method.

...and I know exactly why this is failing. Please add m_applicationRunning = true; to line 99 of src/core/Application.cpp and run the game again - it looks like I forgot to initialize that variable, and it just so happened that on my platform everything worked perfectly without the initialization.

If you get a different segfault/error after changing that, please report that as well here, I'd love to get the OSX build working again so our Mac users can play Pioneer once more.

januarydev commented 4 years ago

Good catch. Happy to help bring the Mac build back to life.

With that line added, build succeeds once again, but here's the new errors at runtime:

ver 20200404 (2e44d9302) on: Mac OS X

System Name: Darwin
Host Name: Jeremys-MacBook-Pro.local
Release(Kernel) Version: 19.4.0
Kernel Build Timestamp: Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Machine Arch: x86_64

2020-04-04 14:01:37.451032-0600 pioneer[48925:1203844] Metal API Validation Enabled
2020-04-04 14:01:37.501369-0600 pioneer[48925:1204396] flock failed to lock maps file: errno = 35
2020-04-04 14:01:37.502802-0600 pioneer[48925:1204396] flock failed to lock maps file: errno = 35

--------------------
SDL Version (build) 2.0.12
SDL Version (dynamic) 2.0.12
SDL Versions match
SDL_image Version (build): 2.0.5
SDL_image Version (dynamic): 2.0.5
SDL_image Versions match
Assimp Version: 4.1.0
FreeType Version: 2.10.1
GLEW dynamic version: 2.0.0
--------------------

Initialized OpenGL 3.1, with extensions, renderer
Initializing joystick subsystem.
started 7 worker threads in 0.65ms

Engine startup took 1623.28ms
LoadStep::Start()
ShipType::Init()
Lua::Init()
font orbiteer:
- DejaVuSans.ttf 1.200000
- wqy-microhei.ttc 1.000000
- Orbiteer-Bold.ttf 1.000000
font pionillium:
- DejaVuSans.ttf 0.928571
- wqy-microhei.ttc 1.000000
- PionilliumText22L-Medium.ttf 1.000000
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile vertex shader!
ERROR: 0:1: '' :  version '130' is not supported
ERROR: 0:2: '' :  #version required and missing.

ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile fragment shader!
ERROR: 0:1: '' :  version '130' is not supported
ERROR: 0:2: '' :  #version required and missing.

ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to link shader program!
ERROR: One or more attached shaders not successfully compiled

warning: OpenGL error(s) during frame:
In function NewFrame
On line 401
GL_INVALID_OPERATION

ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile vertex shader!
ERROR: 0:1: '' :  version '130' is not supported
ERROR: 0:2: '' :  #version required and missing.

ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile fragment shader!
ERROR: 0:1: '' :  version '130' is not supported
ERROR: 0:2: '' :  #version required and missing.

ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to link shader program!
ERROR: One or more attached shaders not successfully compiled

Loading [07%]: UI::AddContext started
OpenGL error(s) during frame:
In function TextureGL
On line 95
GL_INVALID_OPERATION
Loading [07%]: UI::AddContext took 33.94ms
OpenGL error(s) during frame:
In function SwapBuffers
On line 518
GL_INVALID_OPERATION
Loading [14%]: Lua::InitModules() started
warning: the use of import() is deprecated; use require 'utils' instead.
    (libs/EquipSet.lua)
warning: the use of import() is deprecated; use require 'Serializer' instead.
    (libs/EquipSet.lua)
warning: the use of import() is deprecated; use require 'SpaceStation' instead.
    (libs/autoload.lua)
error: [string "[T] @libs/SpaceStation.lua"]:4: attempt to call global 'import_core' (a nil value)
stack traceback:
    [C]: in function 'import_core'
    [string "[T] @libs/SpaceStation.lua"]:4: in main chunk
    [C]: in function 'import'
    [string "[T] @libs/autoload.lua"]:7: in main chunk

Program ended with exit code: 1

Thanks for all your hard work!

Web-eWorks commented 4 years ago

No problem!

The first of those errors is fairly easily fixable; replace line 243 of src/pigui/PiGui.cpp (which should read ImGui_ImplOpenGL3_Init();) with this code:

#ifdef __APPLE__
        ImGui_ImplOpenGL3_Init("#version 140");
#else
        ImGui_ImplOpenGL3_Init();
#endif

That should resolve the OpenGL errors you're having. (For context, this is because Mac OSX supports only OpenGL 3.2+, which uses the #version 140 string, whereas we're targeting OpenGL 3.1 which supports the default #version 130 string.)

If the error still persists (e.g. it says version 140 not supported), then try using #version 150 - I don't think this will be necessary though.

For the other error, it looks like Pioneer is attempting to read older Lua files. I believe this is because you still have a copy of Pioneer installed with Homebrew, and on Mac this is resulting in the outdated files from that installation being read by the development version of Pioneer. I'm not sure what specifically is causing that issue (though I'll add it to the issue tracker if it does turn out to be the culprit), but uninstalling the Homebrew version of Pioneer (or any system-wide installation of Pioneer, really) should resolve the error.

januarydev commented 4 years ago

Nice work! Making progress. Cleaned my drive and made those changes, here's the new runtime errors:

ver 20200404 (2e44d9302) on: Mac OS X

System Name: Darwin
Host Name: Jeremys-MacBook-Pro.local
Release(Kernel) Version: 19.4.0
Kernel Build Timestamp: Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Machine Arch: x86_64

couldn't read language file 'lang/core/en.json'
couldn't load language resource core/en
couldn't read language file 'lang/core/en.json'
core/en: token 'AIR_PROCESSORS' not found
core/en: token 'ALERT_CANCELLED' not found
core/en: token 'ALLEGIANCE' not found
core/en: token 'ALT' not found
core/en: token 'AND_HIGHLY_COMPLEX_ECOSYSTEM' not found
core/en: token 'AND_INDIGENOUS_MICROBIAL_LIFE' not found
core/en: token 'AND_INDIGENOUS_PLANT_LIFE' not found
core/en: token 'ANIMAL_MEAT' not found
core/en: token 'APOAPSIS_DISTANCE' not found
core/en: token 'AR_ATMOSPHERE' not found
core/en: token 'ASTEROID' not found
core/en: token 'AUTOMATIC_SYSTEM_SELECTION' not found
core/en: token 'AUTOPILOT_CONTROL' not found
core/en: token 'AUTOPILOT_ON' not found
core/en: token 'AXIAL_TILT' not found
core/en: token 'A_FEW_THOUSAND' not found
core/en: token 'BATTLE_WEAPONS' not found
core/en: token 'BINARY_SYSTEM' not found
core/en: token 'BODIES' not found
core/en: token 'BODY' not found
core/en: token 'BROWN_DWARF' not found
core/en: token 'BUTTON' not found
core/en: token 'CAMERA_BOTTOM_VIEW' not found
core/en: token 'CAMERA_FRONT_VIEW' not found
core/en: token 'CAMERA_LEFT_VIEW' not found
core/en: token 'CAMERA_REAR_VIEW' not found
core/en: token 'CAMERA_RIGHT_VIEW' not found
core/en: token 'CAMERA_TOP_VIEW' not found
core/en: token 'CANT_SAVE_DEAD_PLAYER' not found
core/en: token 'CANT_SAVE_IN_HYPERSPACE' not found
core/en: token 'CAPITALIST' not found
core/en: token 'CARBON_ORE' not found
core/en: token 'CARGO' not found
core/en: token 'CARGO_BAY_LIFE_SUPPORT_LOST' not found
core/en: token 'CARGO_N' not found
core/en: token 'CARGO_SCOOP_ACTIVE_1_TONNE_X_COLLECTED' not found
core/en: token 'CARGO_SCOOP_ATTEMPTED' not found
core/en: token 'CH4_ATMOSPHERE' not found
core/en: token 'CLEARANCE_ALREADY_GRANTED_BAY_N' not found
core/en: token 'CLEARANCE_DENIED_NO_BAYS' not found
core/en: token 'CLEARANCE_DENIED_TOO_FAR' not found
core/en: token 'CLEARANCE_GRANTED_BAY_N' not found
core/en: token 'CO2_ATMOSPHERE' not found
core/en: token 'COMMA_HIGHLY_VOLCANIC' not found
core/en: token 'COMMODITY_NONE' not found
core/en: token 'COMMODITY_TRADE_ANALYSIS_COMPARE' not found
core/en: token 'COMMODITY_TRADE_ANALYSIS_SELF' not found
core/en: token 'COMMS' not found
core/en: token 'COMMUNIST' not found
core/en: token 'COMPUTERS' not found
core/en: token 'COMPUTER_HEADING_CONTROL' not found
core/en: token 'COMPUTER_SPEED_CONTROL' not found
core/en: token 'CONSUMER_GOODS' not found
core/en: token 'CONTROLS' not found
core/en: token 'CORPORATE_SYSTEM' not found
core/en: token 'COULD_NOT_OPEN_FILENAME' not found
core/en: token 'COUNT_ON_SURFACE' not found
core/en: token 'COUNT_STARPORTS' not found
core/en: token 'CO_ATMOSPHERE' not found
core/en: token 'CTRL' not found
core/en: token 'CURRENT_SYSTEM' not found
core/en: token 'DATE_DUE_N' not found
core/en: token 'DAY_LENGTH' not found
core/en: token 'DECREASE_RADAR_RANGE' not found
core/en: token 'DECREASE_SET_SPEED' not found
core/en: token 'DECREASE_TIME_ACCELERATION' not found
core/en: token 'DEMOGRAPHICS' not found
core/en: token 'DESTINATION' not found
core/en: token 'DIRECTION' not found
core/en: token 'DISTANCE_LY' not found
core/en: token 'DOCKED' not found
core/en: token 'DOCKING' not found
core/en: token 'DOCKING_CLEARANCE_EXPIRED' not found
core/en: token 'DOWNGRADING_ALERT_STATUS' not found
core/en: token 'DRAW_OUT_RANGE_LABELS' not found
core/en: token 'DRAW_UNINHABITED_LABELS' not found
core/en: token 'DRAW_VERTICAL_LINES' not found
core/en: token 'EARTH' not found
core/en: token 'EARTH_FEDERATION_COLONIAL_RULE' not found
core/en: token 'EARTH_FEDERATION_DEMOCRACY' not found
core/en: token 'ECCENTRICITY' not found
core/en: token 'ECONOMIC_INFO' not found
core/en: token 'ECONOMY_TYPE' not found
core/en: token 'EQUATORIAL_RADIUS_TO_POLAR_RADIUS_RATIO' not found
core/en: token 'EXACT_MATCH_X' not found
core/en: token 'EXTENSIVE_MINING' not found
core/en: token 'EXTERNAL_ATMOSPHERIC_PRESSURE' not found
core/en: token 'EXTERNAL_VIEW' not found
core/en: token 'FARM_MACHINERY' not found
core/en: token 'FERTILIZER' not found
core/en: token 'FIRE_LASER' not found
core/en: token 'FIRE_MISSILE' not found
core/en: token 'FLYBY_VIEW' not found
core/en: token 'FOLLOWING_SELECTION' not found
core/en: token 'FRUIT_AND_VEG' not found
core/en: token 'FUEL_SCOOP_ACTIVE_N_TONNES_H_COLLECTED' not found
core/en: token 'GALACTIC_VIEW' not found
core/en: token 'GALAXY_SECTOR_VIEW' not found
core/en: token 'GAME_LOAD_CANNOT_OPEN' not found
core/en: token 'GAME_LOAD_CORRUPT' not found
core/en: token 'GAME_LOAD_WRONG_VERSION' not found
core/en: token 'GAME_SAVED_TO' not found
core/en: token 'GAME_SAVE_CANNOT_WRITE' not found
core/en: token 'GENERAL_VIEW_CONTROLS' not found
core/en: token 'GOVERNMENT_TYPE' not found
core/en: token 'GRAIN' not found
core/en: token 'GRID_DISPLAY_MODE_TOGGLE' not found
core/en: token 'HAND_WEAPONS' not found
core/en: token 'HARD_CAPITALIST' not found
core/en: token 'HAT' not found
core/en: token 'HEADING_LOCK_ANTINORMAL' not found
core/en: token 'HEADING_LOCK_BACKWARD' not found
core/en: token 'HEADING_LOCK_FORWARD' not found
core/en: token 'HEADING_LOCK_KILLROT' not found
core/en: token 'HEADING_LOCK_NORMAL' not found
core/en: token 'HEADING_LOCK_RADIALLY_INWARD' not found
core/en: token 'HEADING_LOCK_RADIALLY_OUTWARD' not found
core/en: token 'HEAVY_INDUSTRY' not found
core/en: token 'HE_ATMOSPHERE' not found
core/en: token 'HIGHLY_VOLCANIC' not found
core/en: token 'HIGH_POPULATION_OUTDOOR_WORLD' not found
core/en: token 'HULL_INTEGRITY' not found
core/en: token 'HULL_TEMP' not found
core/en: token 'HYDROGEN' not found
core/en: token 'HYPERSPACE' not found
core/en: token 'HYPERSPACE_ARRIVAL_CLOUD' not found
core/en: token 'HYPERSPACE_ARRIVAL_CLOUD_REMNANT' not found
core/en: token 'HYPERSPACE_DEPARTURE_CLOUD' not found
core/en: token 'HYPERSPACE_JUMP_ABORT' not found
core/en: token 'HYPERSPACE_JUMP_ABORTED' not found
core/en: token 'HYPERSPACE_JUMP_DISABLED' not found
core/en: token 'HYPERSPACE_JUMP_ENGAGE' not found
core/en: token 'HYPERSPACE_JUMP_FORBIDDEN' not found
core/en: token 'HYPERSPACE_TARGET' not found
core/en: token 'H_ATMOSPHERE' not found
core/en: token 'ICE_WORLD' not found
core/en: token 'ILLEGAL_CURRENT_SYSTEM' not found
core/en: token 'ILLEGAL_GOODS' not found
core/en: token 'IMPERIAL_RULE' not found
core/en: token 'INCREASE_RADAR_RANGE' not found
core/en: token 'INCREASE_SET_SPEED' not found
core/en: token 'INCREASE_TIME_ACCELERATION' not found
core/en: token 'INDUSTRIAL_COLONY' not found
core/en: token 'INDUSTRIAL_HUB_SYSTEM' not found
core/en: token 'INDUSTRIAL_MACHINERY' not found
core/en: token 'INTERNAL_VIEW' not found
core/en: token 'JOY' not found
core/en: token 'JOYSTICK_INPUT' not found
core/en: token 'JOY_AXIS' not found
core/en: token 'L4L5_DISPLAY_MODE_TOGGLE' not found
core/en: token 'LANDED' not found
core/en: token 'LANG_NAME' not found
core/en: token 'LARGE' not found
core/en: token 'LARGE_GAS_GIANT' not found
core/en: token 'LASER_FIRE_DETECTED' not found
core/en: token 'LATITUDE' not found
core/en: token 'LEGAL_CURRENT_SYSTEM' not found
core/en: token 'LIBERAL_DEMOCRACY' not found
core/en: token 'LIQUID_OXYGEN' not found
core/en: token 'LIQUOR' not found
core/en: token 'LIVE_ANIMALS' not found
core/en: token 'LOCKED' not found
core/en: token 'LONGITUDE' not found
core/en: token 'MAJOR_EXPORTS' not found
core/en: token 'MAJOR_EXPORT_CURRENT_SYSTEM' not found
core/en: token 'MAJOR_IMPORTS' not found
core/en: token 'MAJOR_IMPORT_CURRENT_SYSTEM' not found
core/en: token 'MANUAL_CONTROL' not found
core/en: token 'MANUAL_CONTROL_MODE' not found
core/en: token 'MAP_LOCK_HYPERSPACE_TARGET' not found
core/en: token 'MAP_TOGGLE_INFO_PANEL' not found
core/en: token 'MAP_TOGGLE_SELECTION_FOLLOW_VIEW' not found
core/en: token 'MAP_VIEW_ROTATE_DOWN' not found
core/en: token 'MAP_VIEW_ROTATE_LEFT' not found
core/en: token 'MAP_VIEW_ROTATE_RIGHT' not found
core/en: token 'MAP_VIEW_ROTATE_UP' not found
core/en: token 'MAP_VIEW_SHIFT_BACKWARD' not found
core/en: token 'MAP_VIEW_SHIFT_DOWN' not found
core/en: token 'MAP_VIEW_SHIFT_FORWARD' not found
core/en: token 'MAP_VIEW_SHIFT_LEFT' not found
core/en: token 'MAP_VIEW_SHIFT_RIGHT' not found
core/en: token 'MAP_VIEW_SHIFT_UP' not found
core/en: token 'MAP_WARP_TO_CURRENT_SYSTEM' not found
core/en: token 'MAP_WARP_TO_HYPERSPACE_TARGET' not found
core/en: token 'MAP_WARP_TO_SELECTED_SYSTEM' not found
core/en: token 'MASS' not found
core/en: token 'MASSIVE' not found
core/en: token 'MASS_N_TONNES' not found
core/en: token 'MEDICINES' not found
core/en: token 'MEDIUM_GAS_GIANT' not found
core/en: token 'MESSAGE_FROM_X' not found
core/en: token 'META' not found
core/en: token 'METAL_ALLOYS' not found
core/en: token 'METAL_ORE' not found
core/en: token 'MILITARY_DICTATORSHIP' not found
core/en: token 'MILITARY_FUEL' not found
core/en: token 'MINING_COLONY' not found
core/en: token 'MINING_MACHINERY' not found
core/en: token 'MINOR_EXPORTS' not found
core/en: token 'MINOR_EXPORT_CURRENT_SYSTEM' not found
core/en: token 'MINOR_IMPORTS' not found
core/en: token 'MINOR_IMPORT_CURRENT_SYSTEM' not found
core/en: token 'MISCELLANEOUS' not found
core/en: token 'MISSILE' not found
core/en: token 'MISSILE_DETECTED' not found
core/en: token 'MIXED_ECONOMY' not found
core/en: token 'MONTH_APR' not found
core/en: token 'MONTH_AUG' not found
core/en: token 'MONTH_DEC' not found
core/en: token 'MONTH_FEB' not found
core/en: token 'MONTH_JAN' not found
core/en: token 'MONTH_JUL' not found
core/en: token 'MONTH_JUN' not found
core/en: token 'MONTH_MAR' not found
core/en: token 'MONTH_MAY' not found
core/en: token 'MONTH_NOV' not found
core/en: token 'MONTH_OCT' not found
core/en: token 'MONTH_SEP' not found
core/en: token 'NAME_OBJECT' not found
core/en: token 'NARCOTICS' not found
core/en: token 'NAVIGATION_STAR_MAPS' not found
core/en: token 'NAVIGATION_TARGETS_IN_THIS_SYSTEM' not found
core/en: token 'NERVE_GAS' not found
core/en: token 'NOT_FOUND' not found
core/en: token 'NOT_FOUND_BEST_MATCH_X' not found
core/en: token 'NOW' not found
core/en: token 'NO_ALERT' not found
core/en: token 'NO_CENTRAL_GOVERNANCE' not found
core/en: token 'NO_ESTABLISHED_ORDER' not found
core/en: token 'NO_HYPERDRIVE' not found
core/en: token 'NO_REGISTERED_INHABITANTS' not found
core/en: token 'NO_TARGET_SELECTED' not found
core/en: token 'NUMBER_DAYS' not found
core/en: token 'NUMBER_DECIMAL_POINT' not found
core/en: token 'NUMBER_G' not found
core/en: token 'NUMBER_GROUP_MIN' not found
core/en: token 'NUMBER_GROUP_NUM' not found
core/en: token 'NUMBER_GROUP_SEP' not found
core/en: token 'NUMBER_HOURS' not found
core/en: token 'NUMBER_LY' not found
core/en: token 'NUMBER_TONNES' not found
core/en: token 'N_ATMOSPHERE' not found
core/en: token 'N_CELSIUS' not found
core/en: token 'N_DAYS' not found
core/en: token 'N_DEGREES' not found
core/en: token 'N_EARTH_DAYS' not found
core/en: token 'N_WHATEVER_MASSES' not found
core/en: token 'N_WHATEVER_RADII' not found
core/en: token 'N_YEARS' not found
core/en: token 'O2_ATMOSPHERE' not found
core/en: token 'OCEANICWORLD' not found
core/en: token 'ORBITAL_PERIOD' not found
core/en: token 'ORBITAL_STARPORT' not found
core/en: token 'OUTDOOR_AGRICULTURAL_WORLD' not found
core/en: token 'OVER_N_BILLION' not found
core/en: token 'OVER_N_MILLION' not found
core/en: token 'PASSENGER_CABIN' not found
core/en: token 'PAUSED' not found
core/en: token 'PERIAPSIS_DISTANCE' not found
core/en: token 'PIONEER' not found
core/en: token 'PITCH' not found
core/en: token 'PITCH_DOWN' not found
core/en: token 'PITCH_UP' not found
core/en: token 'PLANETARY_INFO' not found
core/en: token 'PLANET_CONTAINING_LIQUID_WATER' not found
core/en: token 'PLANET_WITH_SOME_ICE' not found
core/en: token 'PLANNED_ECONOMY' not found
core/en: token 'PLANNER_RESET_FACTOR' not found
core/en: token 'PLANNER_RESET_NORMAL' not found
core/en: token 'PLANNER_RESET_PROGRADE' not found
core/en: token 'PLANNER_RESET_RADIAL' not found
core/en: token 'PLANNER_RESET_START' not found
core/en: token 'PLASTICS' not found
core/en: token 'PLUTOCRATIC_DICTATORSHIP' not found
core/en: token 'POPULATION' not found
core/en: token 'PRECIOUS_METALS' not found
core/en: token 'PRESSURE_N_ATMOSPHERES' not found
core/en: token 'QUADRUPLE_SYSTEM' not found
core/en: token 'RADAR_CONTROL' not found
core/en: token 'RADIOACTIVES' not found
core/en: token 'RADIUS' not found
core/en: token 'RECENTLY_EXPLORED_SYSTEM' not found
core/en: token 'RESET' not found
core/en: token 'RESET_ORIENTATION_AND_ZOOM' not found
core/en: token 'ROBOTS' not found
core/en: token 'ROCKY_PLANET' not found
core/en: token 'ROCKY_PLANET_CONTAINING_COME_LIQUIDS' not found
core/en: token 'ROLL' not found
core/en: token 'ROLL_LEFT' not found
core/en: token 'ROLL_RIGHT' not found
core/en: token 'ROTATE_DOWN' not found
core/en: token 'ROTATE_LEFT' not found
core/en: token 'ROTATE_RIGHT' not found
core/en: token 'ROTATE_UP' not found
core/en: token 'ROTATIONAL_PERIOD' not found
core/en: token 'ROTATION_DAMPING_OFF' not found
core/en: token 'ROTATION_DAMPING_ON' not found
core/en: token 'RUBBISH' not found
core/en: token 'SCREENSHOT_FILENAME_TEMPLATE' not found
core/en: token 'SEARCH' not found
core/en: token 'SEARCH_MAP' not found
core/en: token 'SECTOR_COORDINATES' not found
core/en: token 'SECTOR_MAP_VIEW' not found
core/en: token 'SECTOR_X_Y_Z' not found
core/en: token 'SELECTED_SYSTEM' not found
core/en: token 'SELECT_A_TARGET' not found
core/en: token 'SELECT_LOW_THRUST_POWER_LEVEL' not found
core/en: token 'SEMI_MAJOR_AXIS' not found
core/en: token 'SET_HYPERSPACE_DESTINATION_TO' not found
core/en: token 'SET_HYPERSPACE_TARGET_TO_FOLLOW_THIS_DEPARTURE' not found
core/en: token 'SET_LOW_THRUST_POWER_LEVEL_TO_X_PERCENT' not found
core/en: token 'SET_NAVTARGET_TO' not found
core/en: token 'SET_SPEED_KM_S' not found
core/en: token 'SET_SPEED_M_S' not found
core/en: token 'SHIELD_INTEGRITY' not found
core/en: token 'SHIELD_STRENGTH_N' not found
core/en: token 'SHIFT' not found
core/en: token 'SHIP' not found
core/en: token 'SHIPS_DISPLAY_MODE_TOGGLE' not found
core/en: token 'SHIP_DETECTED_NEARBY' not found
core/en: token 'SHIP_INFORMATION' not found
core/en: token 'SHIP_MASS_N_TONNES' not found
core/en: token 'SHIP_NEARBY' not found
core/en: token 'SHIP_ORIENTATION' not found
core/en: token 'SHIP_VELOCITY_BY_REFERENCE_OBJECT' not found
core/en: token 'SIDEREAL_VIEW' not found
core/en: token 'SLAVES' not found
core/en: token 'SMALL' not found
core/en: token 'SMALL_GAS_GIANT' not found
core/en: token 'SMALL_INDUSTRIAL_OUTPOST' not found
core/en: token 'SMALL_SCALE_PROSPECTING_NO_SETTLEMENTS' not found
core/en: token 'SOCIAL_DEMOCRACY' not found
core/en: token 'SOLAR' not found
core/en: token 'SOME_ESTABLISHED_MINING' not found
core/en: token 'SOURCE' not found
core/en: token 'SPEED_CONTROL_MODE' not found
core/en: token 'STABLE_SYSTEM_WITH_N_MAJOR_BODIES_STARPORTS' not found
core/en: token 'STARPORT' not found
core/en: token 'STARPORTS' not found
core/en: token 'STAR_A' not found
core/en: token 'STAR_AF_GIANT' not found
core/en: token 'STAR_AF_HYPER_GIANT' not found
core/en: token 'STAR_AF_SUPER_GIANT' not found
core/en: token 'STAR_B' not found
core/en: token 'STAR_B_GIANT' not found
core/en: token 'STAR_B_HYPER_GIANT' not found
core/en: token 'STAR_B_SUPER_GIANT' not found
core/en: token 'STAR_B_WF' not found
core/en: token 'STAR_F' not found
core/en: token 'STAR_G' not found
core/en: token 'STAR_G_GIANT' not found
core/en: token 'STAR_G_HYPER_GIANT' not found
core/en: token 'STAR_G_SUPER_GIANT' not found
core/en: token 'STAR_IM_BH' not found
core/en: token 'STAR_K' not found
core/en: token 'STAR_K_GIANT' not found
core/en: token 'STAR_K_HYPER_GIANT' not found
core/en: token 'STAR_K_SUPER_GIANT' not found
core/en: token 'STAR_M' not found
core/en: token 'STAR_M_GIANT' not found
core/en: token 'STAR_M_HYPER_GIANT' not found
core/en: token 'STAR_M_SUPER_GIANT' not found
core/en: token 'STAR_M_WF' not found
core/en: token 'STAR_O' not found
core/en: token 'STAR_O_GIANT' not found
core/en: token 'STAR_O_HYPER_GIANT' not found
core/en: token 'STAR_O_SUPER_GIANT' not found
core/en: token 'STAR_O_WF' not found
core/en: token 'STAR_SM_BH' not found
core/en: token 'STAR_SYSTEM_INFORMATION' not found
core/en: token 'STAR_S_BH' not found
core/en: token 'SUGGESTED_RESPONSES' not found
core/en: token 'SURFACE_GRAVITY' not found
core/en: token 'SURFACE_TEMPERATURE' not found
core/en: token 'SWAP_SELECTED_HYPERSPACE_TARGET' not found
core/en: token 'SWITCHED_TO_PARENT' not found
core/en: token 'SWITCHED_TO_ROTATIONAL' not found
core/en: token 'SYSTEM' not found
core/en: token 'SYSTEM_NUMBER' not found
core/en: token 'SYSTEM_ORBIT_VIEW' not found
core/en: token 'SYSTEM_TYPE' not found
core/en: token 'S_ATMOSPHERE' not found
core/en: token 'TAKEOFF' not found
core/en: token 'TARGET_OBJECT_IN_SIGHTS' not found
core/en: token 'TENUOUS' not found
core/en: token 'TEXTILES' not found
core/en: token 'THICK' not found
core/en: token 'THIN' not found
core/en: token 'THRIVING_OUTDOOR_WORLD' not found
core/en: token 'THRUSTER_DORSAL' not found
core/en: token 'THRUSTER_MAIN' not found
core/en: token 'THRUSTER_PORT' not found
core/en: token 'THRUSTER_RETRO' not found
core/en: token 'THRUSTER_STARBOARD' not found
core/en: token 'THRUSTER_VENTRAL' not found
core/en: token 'TIME_POINT' not found
core/en: token 'TINY' not found
core/en: token 'TOGGLE_EQUIPMENT_VIEW' not found
core/en: token 'TOGGLE_HUD_MODE' not found
core/en: token 'TOGGLE_LUA_CONSOLE' not found
core/en: token 'TOGGLE_RADAR_MODE' not found
core/en: token 'TOGGLE_RADAR_VIEW' not found
core/en: token 'TOGGLE_ROTATION_DAMPING' not found
core/en: token 'TOMBSTONE_EPITAPH' not found
core/en: token 'TRIPLE_SYSTEM' not found
core/en: token 'UNDOCKING' not found
core/en: token 'UNEXPLORED_SYSTEM_NO_DATA' not found
core/en: token 'UNEXPLORED_SYSTEM_NO_SYSTEM_VIEW' not found
core/en: token 'UNEXPLORED_SYSTEM_STAR_INFO_ONLY' not found
core/en: token 'UNIT_AU' not found
core/en: token 'UNIT_DAYS' not found
core/en: token 'UNIT_HOURS' not found
core/en: token 'UNIT_LY' not found
core/en: token 'UNIT_MINUTES' not found
core/en: token 'UNIT_SECONDS' not found
core/en: token 'UNIT_WEEKS' not found
core/en: token 'UNKNOWN' not found
core/en: token 'UNSET_NAVTARGET' not found
core/en: token 'USE_LOW_THRUST' not found
core/en: token 'VAST_STRIP_MINE' not found
core/en: token 'VERY_DENSE' not found
core/en: token 'VERY_LARGE_GAS_GIANT' not found
core/en: token 'VIEW' not found
core/en: token 'VIOLENT_ANARCHY' not found
core/en: token 'WATER' not found
core/en: token 'WEAPONS' not found
core/en: token 'WEAPON_TEMP' not found
core/en: token 'WHEELS_ARE_DOWN' not found
core/en: token 'WHEELS_ARE_UP' not found
core/en: token 'WHITE_DWARF' not found
core/en: token 'WITH_A' not found
core/en: token 'WITH_NO_SIGNIFICANT_ATMOSPHERE' not found
core/en: token 'X' not found
core/en: token 'Y' not found
core/en: token 'YAW' not found
core/en: token 'YAW_LEFT' not found
core/en: token 'YAW_RIGHT' not found
core/en: token 'YOUNG_FARMING_COLONY' not found
core/en: token 'Z' not found
core/en: token 'ZOOM_IN' not found
core/en: token 'ZOOM_OUT' not found
2020-04-04 17:07:56.401783-0600 pioneer[50423:1276086] Metal API Validation Enabled
2020-04-04 17:07:56.451254-0600 pioneer[50423:1276576] flock failed to lock maps file: errno = 35
2020-04-04 17:07:56.451744-0600 pioneer[50423:1276576] flock failed to lock maps file: errno = 35

--------------------
SDL Version (build) 2.0.12
SDL Version (dynamic) 2.0.12
SDL Versions match
SDL_image Version (build): 2.0.5
SDL_image Version (dynamic): 2.0.5
SDL_image Versions match
Assimp Version: 4.1.0
FreeType Version: 2.10.1
GLEW dynamic version: 2.0.0
--------------------

LoadSurfaceFromFile: icons/badge.png: could not read file
Initialized OpenGL 3.1, with extensions, renderer
error: Could not load shaders/opengl/vtxColor.vert
Program ended with exit code: 1

Thanks again!

Web-eWorks commented 4 years ago

It looks to me like Pioneer simply can't find the data directory that's part of the development repository. I'd think this could happen if XCode was running Pioneer with the working directory as the build/ directory (or whatever XCode uses in that regard) instead of the repository root. Please double-check that everything is setup correctly in that regard - if it's not, we'll need to amend the CMakefile to generate a proper XCode configuration.

januarydev commented 4 years ago

Good work! Set a custom working directory for target Pioneer as the repo folder, et voila:

ver 20200405 (9d719273f) on: Mac OS X

System Name: Darwin
Host Name: Jeremys-MacBook-Pro.local
Release(Kernel) Version: 19.4.0
Kernel Build Timestamp: Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Machine Arch: x86_64

2020-04-06 10:30:24.182752-0600 pioneer[56642:1637177] Metal API Validation Enabled
2020-04-06 10:30:24.221044-0600 pioneer[56642:1637603] flock failed to lock maps file: errno = 35
2020-04-06 10:30:24.221783-0600 pioneer[56642:1637603] flock failed to lock maps file: errno = 35

--------------------
SDL Version (build) 2.0.12
SDL Version (dynamic) 2.0.12
SDL Versions match
SDL_image Version (build): 2.0.5
SDL_image Version (dynamic): 2.0.5
SDL_image Versions match
Assimp Version: 4.1.0
FreeType Version: 2.10.1
GLEW dynamic version: 2.0.0
--------------------

Initialized OpenGL 3.1, with extensions, renderer
Initializing joystick subsystem.
started 7 worker threads in 0.74ms

Engine startup took 1267.87ms
LoadStep::Start()
ShipType::Init()
Lua::Init()
font orbiteer:
- DejaVuSans.ttf 1.200000
- wqy-microhei.ttc 1.000000
- Orbiteer-Bold.ttf 1.000000
font pionillium:
- DejaVuSans.ttf 0.928571
- wqy-microhei.ttc 1.000000
- PionilliumText22L-Medium.ttf 1.000000
Loading [07%]: UI::AddContext started
Loading [07%]: UI::AddContext took 30.78ms
Loading [14%]: Lua::InitModules() started
warning: the use of import() is deprecated; use require 'Engine' instead.
    (ui/ErrorScreen.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (ui/ErrorScreen.lua)
warning: the use of import() is deprecated; use require 'Engine' instead.
    (ui/InfoView.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (ui/InfoView.lua)
warning: the use of import() is deprecated; use require 'Event' instead.
    (ui/InfoView.lua)
warning: the use of import("ui/TabView") is deprecated; use require 'ui.TabView' instead.
    (ui/InfoView.lua)
warning: the use of import("ui/InfoView/ShipInfo") is deprecated; use require 'ui.InfoView.ShipInfo' instead.
    (ui/InfoView.lua)
warning: the use of import() is deprecated; use require 'Engine' instead.
    (ui/InfoView/ShipInfo.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (ui/InfoView/ShipInfo.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (ui/InfoView/ShipInfo.lua)
warning: the use of import() is deprecated; use require 'Equipment' instead.
    (ui/InfoView/ShipInfo.lua)
warning: the use of import() is deprecated; use require 'ShipDef' instead.
    (ui/InfoView/ShipInfo.lua)
warning: the use of import("ui/InfoView/EconTrade") is deprecated; use require 'ui.InfoView.EconTrade' instead.
    (ui/InfoView.lua)
warning: the use of import() is deprecated; use require 'Engine' instead.
    (ui/InfoView/EconTrade.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (ui/InfoView/EconTrade.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (ui/InfoView/EconTrade.lua)
warning: the use of import() is deprecated; use require 'Equipment' instead.
    (ui/InfoView/EconTrade.lua)
warning: the use of import() is deprecated; use require 'ShipDef' instead.
    (ui/InfoView/EconTrade.lua)
warning: the use of import("ui/SmallLabeledButton") is deprecated; use require 'ui.SmallLabeledButton' instead.
    (ui/InfoView/EconTrade.lua)
warning: the use of import("ui/InfoGauge") is deprecated; use require 'ui.InfoGauge' instead.
    (ui/InfoView/EconTrade.lua)
warning: the use of import("ui/InfoView/Missions") is deprecated; use require 'ui.InfoView.Missions' instead.
    (ui/InfoView.lua)
warning: the use of import() is deprecated; use require 'Engine' instead.
    (ui/InfoView/Missions.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (ui/InfoView/Missions.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (ui/InfoView/Missions.lua)
warning: the use of import() is deprecated; use require 'Format' instead.
    (ui/InfoView/Missions.lua)
warning: the use of import() is deprecated; use require 'Character' instead.
    (ui/InfoView/Missions.lua)
warning: the use of import("ui/SmallLabeledButton") is deprecated; use require 'ui.SmallLabeledButton' instead.
    (ui/InfoView/Missions.lua)
warning: the use of import("ui/SmartTable") is deprecated; use require 'ui.SmartTable' instead.
    (ui/InfoView/Missions.lua)
warning: the use of import("ui/InfoView/CrewRoster") is deprecated; use require 'ui.InfoView.CrewRoster' instead.
    (ui/InfoView.lua)
warning: the use of import() is deprecated; use require 'Engine' instead.
    (ui/InfoView/CrewRoster.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (ui/InfoView/CrewRoster.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (ui/InfoView/CrewRoster.lua)
warning: the use of import() is deprecated; use require 'Format' instead.
    (ui/InfoView/CrewRoster.lua)
warning: the use of import() is deprecated; use require 'ShipDef' instead.
    (ui/InfoView/CrewRoster.lua)
warning: the use of import() is deprecated; use require 'Comms' instead.
    (ui/InfoView/CrewRoster.lua)
warning: the use of import() is deprecated; use require 'Equipment' instead.
    (ui/InfoView/CrewRoster.lua)
warning: the use of import("ui/InfoFace") is deprecated; use require 'ui.InfoFace' instead.
    (ui/InfoView/CrewRoster.lua)
warning: the use of import("ui/SmallLabeledButton") is deprecated; use require 'ui.SmallLabeledButton' instead.
    (ui/InfoView/CrewRoster.lua)
warning: the use of import("ui/InfoView/OrbitalAnalysis") is deprecated; use require 'ui.InfoView.OrbitalAnalysis' instead.
    (ui/InfoView.lua)
warning: the use of import() is deprecated; use require 'Engine' instead.
    (ui/InfoView/OrbitalAnalysis.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (ui/InfoView/OrbitalAnalysis.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (ui/InfoView/OrbitalAnalysis.lua)
warning: the use of import() is deprecated; use require 'Space' instead.
    (ui/InfoView/OrbitalAnalysis.lua)
warning: the use of import("pigui/views/info-view") is deprecated; use require 'pigui.views.info-view' instead.
    (ui/InfoView.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/views/info-view.lua)
nanosvg: /Users/jeremyyanowitz/Downloads/pioneer/data/icons/icons.svg 1024x1024
warning: the use of import("pigui/views/tab-view.lua") is deprecated; use require 'pigui.views.tab-view' instead.
    (pigui/views/info-view.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (pigui/views/tab-view.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/views/tab-view.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/libs/modal-win.lua)
warning: the use of import() is deprecated; use require 'pigui.libs.view-util' instead.
    (pigui/views/game.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/libs/text-table.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import("pigui/views/station-view") is deprecated; use require 'pigui.views.station-view' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (pigui/views/station-view.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (pigui/views/station-view.lua)
warning: the use of import() is deprecated; use require 'Format' instead.
    (pigui/views/station-view.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/views/station-view.lua)
warning: the use of import("pigui/views/tab-view.lua") is deprecated; use require 'pigui.views.tab-view' instead.
    (pigui/views/station-view.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import() is deprecated; use require 'Rand' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import() is deprecated; use require 'Format' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import() is deprecated; use require 'Equipment' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import() is deprecated; use require 'ShipDef' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import() is deprecated; use require 'Character' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import() is deprecated; use require 'Comms' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import("ui/PiguiFace") is deprecated; use require 'ui.PiguiFace' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import("ui/PiImage") is deprecated; use require 'ui.PiImage' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import("pigui/libs/text-table.lua") is deprecated; use require 'pigui.libs.text-table' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import("pigui/libs/modal-win.lua") is deprecated; use require 'pigui.libs.modal-win' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (pigui/modules/station-view/01-lobby.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (pigui/libs/commodity-market.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (pigui/libs/commodity-market.lua)
warning: the use of import() is deprecated; use require 'Format' instead.
    (pigui/libs/commodity-market.lua)
warning: the use of import("ui/PiImage") is deprecated; use require 'ui.PiImage' instead.
    (pigui/libs/commodity-market.lua)
warning: the use of import() is deprecated; use require 'Equipment' instead.
    (pigui/libs/commodity-market.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/libs/commodity-market.lua)
warning: the use of import("pigui/libs/equipment-market.lua") is deprecated; use require 'pigui.libs.equipment-market' instead.
    (pigui/libs/commodity-market.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (pigui/modules/station-view/03-commodityMarket.lua)
warning: the use of import("pigui/views/station-view") is deprecated; use require 'pigui.views.station-view' instead.
    (pigui/modules/station-view/03-commodityMarket.lua)
warning: the use of import("pigui/libs/commodity-market.lua") is deprecated; use require 'pigui.libs.commodity-market' instead.
    (pigui/modules/station-view/03-commodityMarket.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/modules/station-view/03-commodityMarket.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import() is deprecated; use require 'Format' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import() is deprecated; use require 'ShipDef' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import() is deprecated; use require 'Equipment' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import("pigui/views/station-view") is deprecated; use require 'pigui.views.station-view' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import("pigui/libs/table.lua") is deprecated; use require 'pigui.libs.table' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import("ui/PiImage") is deprecated; use require 'ui.PiImage' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import() is deprecated; use require 'PiGui.Modules.ModelSpinner' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/modules/station-view/04-shipMarket.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (pigui/modules/station-view/05-equipmentMarket.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (pigui/modules/station-view/05-equipmentMarket.lua)
warning: the use of import() is deprecated; use require 'Format' instead.
    (pigui/modules/station-view/05-equipmentMarket.lua)
warning: the use of import() is deprecated; use require 'Equipment' instead.
    (pigui/modules/station-view/05-equipmentMarket.lua)
warning: the use of import("pigui/views/station-view") is deprecated; use require 'pigui.views.station-view' instead.
    (pigui/modules/station-view/05-equipmentMarket.lua)
warning: the use of import("pigui/libs/equipment-market.lua") is deprecated; use require 'pigui.libs.equipment-market' instead.
    (pigui/modules/station-view/05-equipmentMarket.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/modules/station-view/05-equipmentMarket.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import("pigui/views/station-view") is deprecated; use require 'pigui.views.station-view' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import() is deprecated; use require 'ShipDef' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import() is deprecated; use require 'Rand' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import("ui/PiguiFace") is deprecated; use require 'ui.PiguiFace' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import() is deprecated; use require 'Format' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import() is deprecated; use require 'Character' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import("pigui/libs/modal-win.lua") is deprecated; use require 'pigui.libs.modal-win' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (pigui/modules/station-view/06-shipRepairs.lua)
warning: the use of import() is deprecated; use require 'Game' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import() is deprecated; use require 'Rand' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import("pigui/pigui.lua") is deprecated; use require 'pigui.pigui' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import("pigui/views/station-view") is deprecated; use require 'pigui.views.station-view' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import() is deprecated; use require 'Lang' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import() is deprecated; use require 'Legal' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import() is deprecated; use require 'utils' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import("ui/PiguiFace") is deprecated; use require 'ui.PiguiFace' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import() is deprecated; use require 'Format' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import() is deprecated; use require 'Character' instead.
    (pigui/modules/station-view/07-police.lua)
warning: the use of import("pigui/libs/modal-win.lua") is deprecated; use require 'pigui.libs.modal-win' instead.
    (pigui/modules/station-view/07-police.lua)
nanosvg: /Users/jeremyyanowitz/Downloads/pioneer/data/icons/logo.svg 512x512
warning: the use of import("ui/InfoFace") is deprecated; use require 'ui.InfoFace' instead.
    (modules/Assassination/Assassination.lua)
warning: the use of import("ui/NavButton") is deprecated; use require 'ui.NavButton' instead.
    (modules/Assassination/Assassination.lua)
warning: the use of import("ui/InfoFace") is deprecated; use require 'ui.InfoFace' instead.
    (modules/CargoRun/CargoRun.lua)
warning: the use of import("ui/NavButton") is deprecated; use require 'ui.NavButton' instead.
    (modules/CargoRun/CargoRun.lua)
warning: the use of import("ui/InfoFace") is deprecated; use require 'ui.InfoFace' instead.
    (modules/Combat/Combat.lua)
warning: the use of import("ui/NavButton") is deprecated; use require 'ui.NavButton' instead.
    (modules/Combat/Combat.lua)
Ship Def found: molamola
Ship Def found: wave
Ship Def found: kanara_civ
Ship Def found: deneb
Ship Def found: bowfin
Ship Def found: varada
Ship Def found: malabar
Ship Def found: amphiesma
Ship Def found: bluenose
Ship Def found: lunarshuttle
Ship Def found: venturestar
Ship Def found: xylophis
Ship Def found: missile_smart
Ship Def found: sinonatrix_police
Ship Def found: vatakara
Ship Def found: pumpkinseed
Ship Def found: storeria
Ship Def found: sinonatrix
Ship Def found: molaramsayi
Ship Def found: missile_unguided
Ship Def found: pumpkinseed_police
Ship Def found: nerodia
Ship Def found: missile_guided
Ship Def found: natrix
Ship Def found: dsminer
Ship Def found: ac33
Ship Def found: lodos
Ship Def found: missile_naval
Ship Def found: kanara
29
warning: the use of import("ui/InfoFace") is deprecated; use require 'ui.InfoFace' instead.
    (modules/DeliverPackage/DeliverPackage.lua)
warning: the use of import("ui/NavButton") is deprecated; use require 'ui.NavButton' instead.
    (modules/DeliverPackage/DeliverPackage.lua)
warning: the use of import("ui/InfoFace") is deprecated; use require 'ui.InfoFace' instead.
    (modules/SearchRescue/SearchRescue.lua)
warning: the use of import("ui/NavButton") is deprecated; use require 'ui.NavButton' instead.
    (modules/SearchRescue/SearchRescue.lua)
warning: the use of import("ui/InfoFace") is deprecated; use require 'ui.InfoFace' instead.
    (modules/Taxi/Taxi.lua)
warning: the use of import("ui/NavButton") is deprecated; use require 'ui.NavButton' instead.
    (modules/Taxi/Taxi.lua)
Loading [14%]: Lua::InitModules() took 342.03ms
Loading [21%]: Gui::Init() started
Loading [21%]: Gui::Init() took 1.08ms
Loading [29%]: GalaxyGenerator::Init() started
Creating new galaxy generator 'legacy' version 1
Warning: 'mass' is 0.000000 for body 'Themisto'
Warning: 'mass' is 0.000000 for body 'Lucksmall'
Number of factions added: 103
StarSystemCache: misses: 0, slave hits: 0, master hits: 0
SectorCache: misses: 101, slave hits: 0, master hits: 2
Loading [29%]: GalaxyGenerator::Init() took 59.82ms
Loading [36%]: FaceParts::Init() started
Face Generation source images loaded.
Loading [36%]: FaceParts::Init() took 1216.86ms
Loading [43%]: new ModelCache started
Loading [43%]: new ModelCache took 0.03ms
Loading [50%]: Shields::Init started
Loading [50%]: Shields::Init took 4.33ms
Loading [57%]: BaseSphere::Init started
GenerateIndices: triangles count = 648, mid indexes = 1728, hi edges = 54
Loading [57%]: BaseSphere::Init took 211.57ms
Loading [64%]: CityOnPlanet::Init started
CreateCollisionMesh for : (Dome1)
CreateCollisionMesh for : (Dome2)
CreateCollisionMesh for : (Library)
CreateCollisionMesh for : (Mall)
CreateCollisionMesh for : (Tower1)
CreateCollisionMesh for : (Tower2)
CreateCollisionMesh for : (kbuilding01)
CreateCollisionMesh for : (kbuilding02)
CreateCollisionMesh for : (kbuilding03)
CreateCollisionMesh for : (newbuilding1)
CreateCollisionMesh for : (newbuilding10)
CreateCollisionMesh for : (newbuilding11)
CreateCollisionMesh for : (newbuilding2)
CreateCollisionMesh for : (newbuilding3)
CreateCollisionMesh for : (newbuilding4)
CreateCollisionMesh for : (newbuilding5)
CreateCollisionMesh for : (newbuilding6)
CreateCollisionMesh for : (newbuilding7)
CreateCollisionMesh for : (newbuilding8)
CreateCollisionMesh for : (newbuilding9)
Got 20 buildings of tag city_building
 - Dome1: 39.626175
 - Dome2: 48.596382
 - Library: 64.693522
 - Mall: 26.159388
 - Tower1: 33.094160
 - Tower2: 34.924003
 - kbuilding01: 29.664692
 - kbuilding02: 46.268344
 - kbuilding03: 41.542333
 - newbuilding1: 36.202756
 - newbuilding10: 16.297418
 - newbuilding11: 34.961034
 - newbuilding2: 22.822782
 - newbuilding3: 22.649894
 - newbuilding4: 25.978193
 - newbuilding5: 22.908506
 - newbuilding6: 29.817877
 - newbuilding7: 22.674426
 - newbuilding8: 23.154979
 - newbuilding9: 36.528138
End of buildings.
Loading [64%]: CityOnPlanet::Init took 1105.52ms
Loading [71%]: SpaceStation::Init started
CreateCollisionMesh for : (ground_station)
ground_station has:
 14 entrances,
 14 pads,
 0 exits
CreateCollisionMesh for : (new_ground)
new_ground has:
 6 entrances,
 6 pads,
 0 exits
CreateCollisionMesh for : (orbital_station_2-10k)
orbital_station_2-10k has:
 5 entrances,
 64 pads,
 5 exits
CreateCollisionMesh for : (orbital_station_2-2k)
orbital_station_2-2k has:
 4 entrances,
 18 pads,
 4 exits
CreateCollisionMesh for : (orbital_station_2-5k)
orbital_station_2-5k has:
 5 entrances,
 64 pads,
 5 exits
CreateCollisionMesh for : (orbital_station_2-5k10k)
orbital_station_2-5k10k has:
 5 entrances,
 64 pads,
 5 exits
Loading [71%]: SpaceStation::Init took 4018.08ms
Loading [79%]: NavLights::Init started
Loading [79%]: NavLights::Init took 0.22ms
Loading [86%]: Sfx::Init started
Loading [86%]: Sfx::Init took 19.15ms
Loading [93%]: Sound::Init started
2020-04-06 10:30:32.524857-0600 pioneer[56642:1637177] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x11cb0fc30> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-04-06 10:30:32.555282-0600 pioneer[56642:1637177]  HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine
2020-04-06 10:30:32.556161-0600 pioneer[56642:1637177]  HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine
Loading [93%]: Sound::Init took 642.16ms
Loading [100%]: PostLoad started
Loading [100%]: PostLoad took 0.25ms

Pioneer loading took 7815.37ms
Stars picked from galaxy: 0
Final stars number: 500000
CreateCollisionMesh for : (ac33)
CreateCollisionMesh for : (amphiesma)
CreateCollisionMesh for : (bluenose)
CreateCollisionMesh for : (bowfin)
CreateCollisionMesh for : (deneb)
CreateCollisionMesh for : (dsminer)
CreateCollisionMesh for : (kanara_civ)
CreateCollisionMesh for : (lodos)
CreateCollisionMesh for : (lunarshuttle)
CreateCollisionMesh for : (malabar)
CreateCollisionMesh for : (molamola)
CreateCollisionMesh for : (molaramsayi)
CreateCollisionMesh for : (natrix)
CreateCollisionMesh for : (nerodia)
CreateCollisionMesh for : (pumpkinseed)
CreateCollisionMesh for : (sinonatrix)
CreateCollisionMesh for : (storeria)
CreateCollisionMesh for : (varada)
CreateCollisionMesh for : (vatakara)
CreateCollisionMesh for : (venturestar)
CreateCollisionMesh for : (wave)
CreateCollisionMesh for : (xylophis)
Pi shutting down.
StarSystemCache: misses: 0, slave hits: 0, master hits: 0
SectorCache: misses: 101, slave hits: 0, master hits: 1
Program ended with exit code: 0

Will do some testing and post if I notice any other bugs or glitches. Thanks guys!

impaktor commented 4 years ago

Shall we interpret the original problem as a user error, or was the CMake badly configured?

Web-eWorks commented 4 years ago

The original problem was simple oversight - we normally run pioneer through the helper script in the repo root instead of through an IDE; I'll simply have to tweak the CMakeLists file to generate a good XCode configuration.

januarydev commented 4 years ago

Also, if this can be changed in the cmake, default Xcode configuration doesn't create a .app bundle for the game when built. Fast debugging, good job guys.

Web-eWorks commented 4 years ago

As far as I know, we don't package Pioneer as an OSX app / package; that lies well outside of the realm of my expertise. I'll see if CMake supports generating that file automatically however, if that will ease development on OSX.

fluffyfreak commented 4 years ago

We don't? We used to package it up as a .app file but I guess with all the changes that system got sidelined

fluffyfreak commented 4 years ago

Just went looking and I can't find any trace of the old packaging scripts.