Another problem is, as I downloaded the wrong version and ran its
install.sh (as root), how can I uninstall it?
Thanks!
2015-09-16 9:29 GMT+08:00 Xiangrong Fang :
> I asked on the list before. The version shipped with Pi is 2.6.0, and is
> said to be very buggy, I need version 2.6.4, so I dow
I asked on the list before. The version shipped with Pi is 2.6.0, and is
said to be very buggy, I need version 2.6.4, so I downloaded from official
site.
2015-09-15 19:52 GMT+08:00 Jonas Maebe :
> On 15/09/15 13:28, Xiangrong Fang wrote:
>
>> I downloaded arm linux distribution from freeepasca
Hi Peter,
xrfang@pi ~ $ grep FI /etc/fpc.cfg
# nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
# -d is the same as #DEFINE
#DEFINE NEEDCROSSBINUTILS
xrfang@pi ~ $ ls /usr/lib/**/crti.o
/usr/lib/arm-linux-gnueabihf/crti.o
Thanks!
2015-09-15 20:06 GMT+08:00 Peter :
> It wou
> Still, seems easy enough to do basic sounds in linux by shelling the beep
command
Ha, ok, you only want to make a sound...
Peter's beep way is maybe the the easiest.
You may also use portaudio library to produce sine-wave.
Here example done by Mister Blaazen with library included=>
https:
On 15/09/15 22:14, Graeme Geldenhuys wrote:
> On 2015-09-15 20:59, Peter wrote:
>> I guess he means Procedure Sound in rtl/unix/crt.pp
>> This does not work for me either, just get the "sound of silence".
>
>
> That is a know problem for many years. Here is a thread from 2007.
>
> http://free-pa
> I guess he means Procedure Sound in rtl/unix/crt.pp
> This does not work for me either, just get the "sound of silence".
Huh, same for me trying /fpcsrc/packages/fcl-sound/ ...
Does it exist a demo how to use fcl-sound ?
Thanks
Fre;D
-
Many thanks ;-)
--
View this message in context:
On 2015-09-15 20:59, Peter wrote:
> I guess he means Procedure Sound in rtl/unix/crt.pp
> This does not work for me either, just get the "sound of silence".
That is a know problem for many years. Here is a thread from 2007.
http://free-pascal-general.1045716.n5.nabble.com/simple-sound-implementa
On 15/09/15 18:34, Fred van Stappen wrote:
>
> What sound procedure is unable to work ?
>
> Thanks.
>
> Fre;D
>
I guess he means Procedure Sound in rtl/unix/crt.pp
This does not work for me either, just get the "sound of silence".
Procedure Sound(Hz: Word);
begin
{$ifdef havekiocsound}
if
> What component can I use when i only want to play only the specified
> Hz frequency of sound?
Hello and thanks to try uos.
You do not need a special component, there is the procedure =>
uos_AddFilterIn();
Take a look at filterplay.pas example (both for LCL and fpGUI).
But, of course, you may
Hi!
I succesfully compiled the updated version.
What component can I use when i only want to play only the specified
Hz frequency of sound?
I would like to use this component within a console-based application.
I am not using Lazarus IDE (or Delphi), only Free Pascal.
Sorry if this question too
On 2015-09-15 16:24, Jonas Maebe wrote:
> I wouldn't, because then as soon as you give your source code to someone
> else, they may not be able to compile it unless they use specific
> switches (as in this thread).
Very true. All my own code have the desired language mode defined in
each unit.
On 15/09/15 12:25, Graeme Geldenhuys wrote:
I recommend developers update there $HOME/.fpc.cfg files so it uses
-Mobjfpc, instead of the default -Mfpc
I wouldn't, because then as soon as you give your source code to someone
else, they may not be able to compile it unless they use specific
On 15/09/15 11:25, Graeme Geldenhuys wrote:
> .
> the default -Mfpc (what I consider outdated
> language mode).
>
>
> Regards,
> - Graeme -
>
Finding maxint at 32767 (64bit compiler) with that mode can be a bit of
a shock too!
Regards,
PB
___
Am 15.09.2015 12:25 schrieb "Graeme Geldenhuys" <
mailingli...@geldenhuys.co.uk>:
>
> TIP:
> I recommend developers update there $HOME/.fpc.cfg files so it uses
> -Mobjfpc, instead of the default -Mfpc (what I consider outdated
> language mode).
>
The best solution is to have {$mode objfpc} in t
On 15/09/15 14:06, Peter wrote:
It would be useful to see the output of these two commands
grep Fl /etc/fpc.cfg
ls/usr/lib/**/crti.o
Jonas knows a lot more about FPC than I do!
The version on the FPC website is an ARMEL version, so it will look for
the ARMEL version of crti.o (in /usr/lib/a
It would be useful to see the output of these two commands
grep Fl /etc/fpc.cfg
ls /usr/lib/**/crti.o
Jonas knows a lot more about FPC than I do!
Regards,
PB
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-b
On 15/09/15 13:28, Xiangrong Fang wrote:
I downloaded arm linux distribution from freeepascal website
(sourceforge). So, I should get it work by fixing crti as suggested by
PB, or I shall get the compiler from Pi website as suggested by Jonas?
You don't get it from the Pi website, but by using
I downloaded arm linux distribution from freeepascal website
(sourceforge). So, I should get it work by fixing crti as suggested by PB,
or I shall get the compiler from Pi website as suggested by Jonas?
2015-09-15 19:11 GMT+08:00 Peter :
> On 14/09/15 21:09, Mark Morgan Lloyd wrote:
> > Peter
On 2015-09-15 05:42, Géza Kovacs Géza wrote:
> uos_portaudio.pas(359,9) Error: Identifier not found "Result"
> uos_portaudio.pas(364,10) Error: Identifier not found "Result"
Hello Géza Kovacs Géza.
Could you try with new release b307af6..65e9749 =>
https://github.com/fredvs/uos
Fre;D.
-
On 14/09/15 21:09, Mark Morgan Lloyd wrote:
> Peter wrote:
>> On 04/09/15 02:15, Xiangrong Fang wrote:
>>> .
>>> Is there anything missing from my FPC installation?
>>> TIA for any hint.
>>
>> To build FPC programs on linux one generally needs a variant of
>> libc-dev, which is not part of FPC
> I checked... The demos have it, but the actual UOS units don't...
OK, Graeme, you win ;-)
I will update it asap.
Many thanks.
Fre;D
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.fre
On 2015-09-15 11:19, fredvs wrote:
> It must be something else but I do not see what.
Maybe your fpc.cfg was already changed to use -Mobjfpc? That is why I
never noticed it before. Also if you change compiler options, remove all
existing *.ppu files, or force a Build All.
Regards,
- Graeme -
-
On 2015-09-15 11:19, fredvs wrote:
> So there must be a other problem with Géza Kovacs Géza compilation.
I checked... The demos have it, but the actual UOS units don't - and
that is where the error occurs. I could easily reproduce the issue here
with MSEide (and make sure my fpc.cfg has the defaul
> Try adding -MDelphi or -MObjFpc to the compiler options.
Ooops, just checked all demos and /{$mode objfpc}{$H+} /is already added.
So there must be a other problem with Géza Kovacs Géza compilation.
I just have re-try the consoleplay example on Windows and do not have
problem.
It must be som
> Try adding -MDelphi or -MObjFpc to the compiler options.
Thanks Bart. This is the trick.
> 'll notify the author that it might be a good idea to add the syntax
> mode at the beginning of each unit.
Thanks Graeme, I will add it ASAP.
Fre;D
-
Many thanks ;-)
--
View this message in cont
On 2015-09-15 05:42, Géza Kovacs Géza wrote:
> uos_portaudio.pas(359,9) Error: Identifier not found "Result"
> uos_portaudio.pas(364,10) Error: Identifier not found "Result"
I just got an update and the uos and examples compile just fine.
I think Bart is correct, add the -MObjFpc to your compiler
26 matches
Mail list logo