[Lazarus] FPC fails to compile if ATI Stream installed.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] FPC fails to compile if ATI Stream installed.

Kjow
I was trying to compile FPC 2.5.1 from sources and this was the output:

C:/Develop/fpc/2.5.1/compiler/ppc386.exe -di386 -Ur -Xs -O2 -n -Sg -FuC:/Develop
/fpc/2.5.1/rtl/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fv/units/i386-w
in32 -FuC:/Develop/fpc/2.5.1/packages/gdbint/units/i386-win32 -FuC:/Develop/fpc/
2.5.1/packages/regexpr/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fcl-bas
e/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fcl-xml/units/i386-win32 -Fu
C:/Develop/fpc/2.5.1/packages/chm/units/i386-win32 -FE. -FUunits/i386-win32 -dRE
LEASE -dNODEBUG  -Xe -k--allow-multiple-definition fp.pas
C:\Program Files (x86)\ATI Stream\bin\x86_64\ld.exe: unrecognised emulation mode
: i386pe
Supported emulations: i386pep
fp.pas(552,1) Error: Error while linking
fp.pas(552,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[4]: *** [fp.exe] Error 1
make[4]: Leaving directory `C:/Develop/fpc/2.5.1/ide'
make[3]: *** [buildfp] Error 2
make[3]: Leaving directory `C:/Develop/fpc/2.5.1/ide'
make[2]: *** [gdb] Error 2
make[2]: Leaving directory `C:/Develop/fpc/2.5.1/ide'
make[1]: *** [ide_all] Error 2
make[1]: Leaving directory `C:/Develop/fpc/2.5.1'
make: *** [build-stamp.i386-win32] Error 2

C:\Develop\fpc\2.5.1>

Simply removing ATI Stream from Windows, FPC compiled well.

Is it a bug?

Regards,
Kjow

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] FPC fails to compile if ATI Stream installed.

michael.vancanneyt


On Mon, 7 Feb 2011, Kjow wrote:

> I was trying to compile FPC 2.5.1 from sources and this was the output:
>
> C:/Develop/fpc/2.5.1/compiler/ppc386.exe -di386 -Ur -Xs -O2 -n -Sg -FuC:/Develop
> /fpc/2.5.1/rtl/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fv/units/i386-w
> in32 -FuC:/Develop/fpc/2.5.1/packages/gdbint/units/i386-win32 -FuC:/Develop/fpc/
> 2.5.1/packages/regexpr/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fcl-bas
> e/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fcl-xml/units/i386-win32 -Fu
> C:/Develop/fpc/2.5.1/packages/chm/units/i386-win32 -FE. -FUunits/i386-win32 -dRE
> LEASE -dNODEBUG  -Xe -k--allow-multiple-definition fp.pas
> C:\Program Files (x86)\ATI Stream\bin\x86_64\ld.exe: unrecognised emulation mode
> : i386pe
> Supported emulations: i386pep
> fp.pas(552,1) Error: Error while linking
> fp.pas(552,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> make[4]: *** [fp.exe] Error 1
> make[4]: Leaving directory `C:/Develop/fpc/2.5.1/ide'
> make[3]: *** [buildfp] Error 2
> make[3]: Leaving directory `C:/Develop/fpc/2.5.1/ide'
> make[2]: *** [gdb] Error 2
> make[2]: Leaving directory `C:/Develop/fpc/2.5.1/ide'
> make[1]: *** [ide_all] Error 2
> make[1]: Leaving directory `C:/Develop/fpc/2.5.1'
> make: *** [build-stamp.i386-win32] Error 2
>
> C:\Develop\fpc\2.5.1>
>
> Simply removing ATI Stream from Windows, FPC compiled well.
>
> Is it a bug?

No.
FPC looks in the PATH environment variable for the external tools.
Obviously, ATI stream adds something to the path before the FPC
path itself.

Just reorder the PATH so the FPC path is before the ATI stream path.
Or use the -FD option to set the path where the externa tools are searched.

Michael.

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] FPC fails to compile if ATI Stream installed.

Kjow
2011/2/7  <[hidden email]>:
> No. FPC looks in the PATH environment variable for the external tools.
> Obviously, ATI stream adds something to the path before the FPC path itself.
>
> Just reorder the PATH so the FPC path is before the ATI stream path.
> Or use the -FD option to set the path where the externa tools are searched.

Thank you!
Kjow

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

[Lazarus] about TDbf

Héctor F. Fiandor Rosario
In reply to this post by michael.vancanneyt
Dear Mr. VanCanneyt and others list members:

i am trying to do an app. for my daugther using TDbf, but i dont know if it
permits the use of DBCheckbox and DBRadiobuttons. How can i know if it is
permitted?

for the radiobuttons i have used a way to convert the radiobutton output in
a DBEdit input but for the case of checkbox, where more than one can be
selected, i dont know how to do it in an easy way.

thanks in advance

yours truly,

Ing. Héctor F. Fiandor Rosario
[hidden email]


--

Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus