Recent

Recent Posts

Pages: [1] 2 3 ... 10
1
Hello Circular,

Thank you very much for your reply and the warm welcome to this forum!

I've created a new project and executed your code. You find the result attached by.

Apart from my problem: Is there any general way in BGRABitmap to set the line distance in a TextRect?
2
General / Re: a Unit problem?
« Last post by Zvoni on Today at 12:57:23 pm »
This looks fishy to me

Code: [Select]
# searchpath for units and other system dependent things
-Fu/home/userX/bin/FPC/fpc-$fpcversion/lib/fpc/$fpcversion/units/$fpctarget
-Fu/home/userX/bin/FPC/fpc-$fpcversion/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/home/userX/bin/FPC/fpc-$fpcversion/lib/fpc/$fpcversion/units/$fpctarget/rtl
check if those paths exists/are correct, and try if you can find unit graph.ppu by hand

EDIT: Forget what i said. You're on Linux.

But what TRon said: I looked at the link TS provided, and there is indeed an LPI-File in that zip
3
Windows (32/64) / Re: Complex package installation problem
« Last post by wp on Today at 12:56:43 pm »
Tested yesterday that the UOS package (available in OPM) is working. Based on that and the sample projects provided you can try to create your favourite UOS audio player. If you have problems, ask here, the author of the package can be seen here in the forum occasionally.
4
General / Re: a Unit problem?
« Last post by TRon on Today at 12:51:57 pm »
That's weird... Thank you though.
No, that is not weird.

a Lazarus project file (lpr) usually comes (also) accompanied with a Lazarus Project Information file (.lpi) and it is possible that this file contains information about dependencies. Now for a simple console project that is not an issue (unless relying on 3th party components) but it is for a full-fledged Lazarus program.

the FPC commandline compiler has no notion whatsoever about Lazarus and its project(s) (and accompanied) files. For that you either need to use Lazarus (IDE) or lazbuild (command line compiler that is able to compile Lazarus projects).
5
The web stuff is also not merged to the fixes branch. So a future 3.2.4 would be mostly equal to 3.2.2 on this front.
6
Windows (32/64) / Re: Complex package installation problem
« Last post by JonBondy on Today at 12:48:28 pm »
Thanks to everyone who is helping me!

I am relieved to learn that what I was trying to do is basically impossible, so I will move on to another audio player.

I deleted the OPM directory tree, uninstalled Lazarus, and installed a single instance of the 64-bit Lazarus.

I looked at Tools, Examples, and found nothing useful, so I used OPM to install ACS.  When I looked again at Tools, Examples, there still were no audio examples.  I then drilled down into the OPM directory tree and found "Player", which compiles, but does not work (has bugs). Progress.

Thanks, again!

Jon
7
General / Re: a Unit problem?
« Last post by EventHorizon on Today at 12:42:09 pm »
If the source code contains *.lpr, I believe you will have higher chances for successful compiling it if you use Lazarus. I could be wrong, but that is what I believe.
That's weird... Thank you though.

To be honest, for a start I would like to avoid Lazarus.
8
General / Re: a Unit problem?
« Last post by EventHorizon on Today at 12:40:54 pm »
what's your fpc.cfg look like?
Well... I have attached here.
9
Graphics / Re: Help needed with Cairo / Graphics
« Last post by Roland57 on Today at 12:25:16 pm »
The Cairo unit of FPC is referencing LibCairo2.dll only, but LibCairo2.dl on its own is referencing several others Dlls.

Maybe you should take a look to this repository. If I well understood, it's a Cairo DLL without dependencies (not tested).
10
General / Re: a Unit problem?
« Last post by Handoko on Today at 12:15:34 pm »
If the source code contains *.lpr, I believe you will have higher chances for successful compiling it if you use Lazarus. I could be wrong, but that is what I believe.

Some of the advantages of using Lazarus to open *.lpr files are:
-You can use Project Inspector to check what files are missing or miss-located
-You can use Project Options > Paths to configure all paths that are needed

You still can use FPC only to configure those things but you need pass the settings as command line options:
https://www.freepascal.org/docs-html/user/userap1.html
Pages: [1] 2 3 ... 10

TinyPortal © 2005-2018