Hi everyone,
We're proud to announce the release of Castle Game Engine 5.0.0 :)
Castle Game Engine is an open-source (LGPL) 3D and 2D game engine, of
course for modern Object Pascal (FreePascal / Lazarus). We support many
3D formats and various graphic effects. The main engine site, with
deta
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
> It does not work with my glut.pas code
Do you use {$mode objfpc} or {$mode delphi}? ParamStr should return
AnsiString instead of ShortString there, and it's convertible to PChar.
Otherwise, you can cast the result to AnsiString first.
P.S.: I don't recommend glut, not even freeglut, for learnin
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
>> Posting some code might help.
I may post code but not sure it will help.
The code is the same as
http://wiki.freepascal.org/Using_Pascal_Libraries_with_Java, section dealing
with callback procedure ( but inside a thread).
Hum, i would prefer some demo-working-code from somebody who knows how
>> Did you use AttachCurrentThread and DetachCurrentThread?
Oops, what is that ? How must i use it ?
>> Pay attention to the validity of local references as well as their
>> number.
Idem, what is "local references as well as their number." ?
PS: Im a beginner with Java but, apart CallVoidMetho
Thank you very much for your effort!Yes I compile with same version FPC 2.6.4, but important point is, that on *Windows 98*!When I compile on Windows XP, I get same results as you for 2.6.4:CW=4978currency=-9.223372036854775808E+14currency=-9.22337203685470E+13extended=-9.2233720368547758E+0014