today i installed Lazarus 4.8 and with online package manager installed ray4laz 6, i try to run this example...
program game;
{$mode objfpc}{$H+}
uses
cmem, {$IFDEF LINUX} cthreads,{$ENDIF}
{uncomment if necessary}
//raymath,
//rlgl,
raylib;
const
screenWidth = 800;
screenHeight = 450;
begin
// Initialization
InitWindow(screenWidth, screenHeight, 'raylib - simple project');
SetTargetFPS(60);// Set our game to run at 60 frames-per-second
// Main game loop
while not WindowShouldClose() do
begin
// Update
// TODO: Update your variables here
// Draw
BeginDrawing();
ClearBackground(RAYWHITE);
DrawText('Congrats! You created your first window!', 190, 200, 20, LIGHTGRAY);
EndDrawing();
end;
// De-Initialization
CloseWindow(); // Close window and OpenGL context
end. --> line 36
but i get the error game.lpr(36,1) Error: Internal error 200603061, the code in line 36 is the final end.
today i installed Lazarus 4.8 and with online package manager installed ray4laz 6, i try to run this example...
program game;
{$mode objfpc}{$H+}
uses
cmem, {$IFDEF LINUX} cthreads,{$ENDIF}
{uncomment if necessary}
//raymath,
//rlgl,
raylib;
const
screenWidth = 800;
screenHeight = 450;
begin
// Initialization
InitWindow(screenWidth, screenHeight, 'raylib - simple project');
SetTargetFPS(60);// Set our game to run at 60 frames-per-second
// Main game loop
while not WindowShouldClose() do
begin
// Update
// TODO: Update your variables here
// De-Initialization
CloseWindow(); // Close window and OpenGL context
end. --> line 36
but i get the error game.lpr(36,1) Error: Internal error 200603061, the code in line 36 is the final end.