This is where fpc is searching:
$ fpc -vt bounce.pp | grep "unit path"
Using unit path: /usr/lib/fpc/2.6.4/units/i386-linux/rtl/
Using unit path: /usr/lib/fpc/2.6.4/
I am wondering if it is correct because that is what I have in this last
directory:
$ ls /usr/lib/fpc/2.6.4/
ide msg ppc386 samp
-
$ cd /tmp/fpc-2.6.4/usr/bin
$ ln -s ../lib/fpc/2.6.4/ppc386
$ cd -
$ rm -rfv fpc-2.6.4.i386-linux fpcbuild-2.6.4
Do you see why my opengl unit is not found?
On Sat, 3 May 2014 21:29:44 +0200
Reimar Grabowski wrote:
> On Sat, 3 May 2014 20:48:02 +0200
> YuGiOhJCJ Mailing-List wrote:
>
I don't know if I use {$mode objfpc} or {$mode delphi}.
How to know it?
Strange that glut.pas is not correct because I have directly picked it from
here:
http://wiki.freepascal.org/OpenGL_Tutorial
Is it an old tutorial?
In CMakeLists.txt, nothing about GL:
$ find . -name "CMakeLists.txt" -exec g
Hello,
I have built from source code the fpc-2.6.4 compiler on Linux.
I am not sure that I have correctly build it because:
1) It works well with my hello_world.pas code:
program Hello;
begin
writeln ('Hello, world.')
end.
$ fpc hello_world.pas
Free Pascal Compiler version 2.6.4 [2014/05/03] f