Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
macOS / Mac OS X
»
Unable to compile demo project
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
TPrintDialog disable Prop...
by
Weitentaaal
[
Today
at 03:11:44 pm]
IDE tabs and spaces, auto...
by
chris_laz
[
Today
at 02:49:53 pm]
Cannot update a record us...
by
Zvoni
[
Today
at 02:39:34 pm]
[maybe SOLVED] BUG in Inp...
by
robert rozee
[
Today
at 02:38:54 pm]
Lazarus Release Candidate...
by
Martin_fr
[
Today
at 01:16:07 pm]
Move tab to other pagecon...
by
majid.ebru
[
Today
at 01:15:57 pm]
How to get and use the ma...
by
Hansaplast
[
Today
at 12:46:42 pm]
Tcsvdataset issue
by
Zvoni
[
Today
at 12:17:21 pm]
[Solved] DBEXPORT TFixedl...
by
Zvoni
[
Today
at 10:15:53 am]
NIL vs. Assign: when to u...
by
MarkMLl
[
Today
at 09:47:37 am]
Converting a Project from...
by
Zvoni
[
Today
at 08:11:37 am]
Uninstall
by
TRon
[
Today
at 03:56:15 am]
Using Bresenham's line al...
by
TBMan
[
Today
at 02:40:18 am]
[SOLVED] Remote access to...
by
wcage03
[
Today
at 02:12:39 am]
Hooking to `OnISupport` d...
by
Gustavo 'Gus' Carreno
[
Today
at 02:12:35 am]
Remote access to database...
by
wcage03
[
Today
at 12:48:40 am]
Program crashing with exc...
by
jamie
[March 19, 2025, 11:20:14 pm]
Checking for number or no...
by
Bart
[March 19, 2025, 10:05:18 pm]
Form goes Frame - drag an...
by
Nicole
[March 19, 2025, 07:08:08 pm]
How to block mouse withou...
by
Yurgenz
[March 19, 2025, 06:45:54 pm]
How to download/compile l...
by
zeljko
[March 19, 2025, 06:13:35 pm]
LazTTF2Vector - An Enhanc...
by
maurog
[March 19, 2025, 06:07:44 pm]
AVRPascal – free code edi...
by
ackarwow
[March 19, 2025, 05:22:53 pm]
Freepascal Toolkit in VS ...
by
PhoenixHawk
[March 19, 2025, 04:04:16 pm]
Can't put Lazarus in dock
by
JimKueneman
[March 19, 2025, 03:21:23 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unable to compile demo project (Read 3523 times)
Alexandr F
New Member
Posts: 26
Unable to compile demo project
«
on:
February 15, 2019, 09:45:04 am »
Mac os Mojave
Lazarus 2.0
I am trying to compile demo project Miniide, but i have next error (see attached picture).
How I can solve this error?
Logged
dbannon
Hero Member
Posts: 3294
Re: Unable to compile demo project
«
Reply #1 on:
February 15, 2019, 11:28:44 am »
My guess is that particular example has not been tested in a unix env.
Note we have a \i386 as part of the file name it wants to create.
Try and find where it comes from and replace the '\' with PathDeliminator
Davo
Logged
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project -
https://github.com/tomboy-notes/tomboy-ng
and my github -
https://github.com/davidbannon
Alexandr F
New Member
Posts: 26
Re: Unable to compile demo project
«
Reply #2 on:
February 15, 2019, 05:12:35 pm »
Thank you, Davo.
Output path in project options included left slash '\'. I changed it to right slash '/'.
Logged
lucamar
Hero Member
Posts: 4219
Re: Unable to compile demo project
«
Reply #3 on:
February 15, 2019, 10:03:01 pm »
Quote from: Alexandr F on February 15, 2019, 05:12:35 pm
Output path in project options included left slash '\'. I changed it to right slash '/'.
Rather than replacing an OS-depending incorrect path delimiter with an equally incorrect delimiter for other OS you should simply either:
build the file-name by using: 'ADirectory' + PathDelimiter + 'AnotherDir' + [...etc...]
use the name as-is but passing it first through
SysUtils.SetDirSeparators()
or
LazFileUtils.ForcePathDelims()
or alike.
That way you'll have a correct filename no matter for which OS you compile the demo.
«
Last Edit: February 15, 2019, 10:05:14 pm by lucamar
»
Logged
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!)
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
macOS / Mac OS X
»
Unable to compile demo project
TinyPortal
© 2005-2018