BeRo1985 / pasvulkan

Vulkan header generator, OOP-style API wrapper, framework and prospective Vulkan-based game engine for Object Pascal
zlib License
193 stars 31 forks source link

projectmanager fails to find fpc on linux #9

Closed WayneSherman closed 6 years ago

WayneSherman commented 6 years ago

src/tools/projectmanager/UnitProject.pas

function FindBinaryInExecutableEnviromentPath searches the current PATH using a ";" (semicolon) to separate PATH entries:

UnitProject.pas, Line 50: PathStringList.Delimiter:=';';

Linux uses a ":" (colon) to delimit path entries, so the fpc executable is never found.

Linux path example:

echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
BeRo1985 commented 6 years ago

Fixed