Try set a full path to the compiler driver binary (fpc.exe) or put its
directory in PATH.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Help-fppkg-on-Windows-tp5628510p5629238.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
Hi,
I'm looking for an example of how to use NSOpenGLView. I
would like to create a native opengl window on Mac. Sofar I have found
only some snippets but nothing that actually shows how to setup and use
a native window. I will prepare a demo app so it can be included in the
examples of the
Hello,
I'm trying to compile jvmbacked (once again after a long time).
It seems to work well at first with the following cli make:
sudo make CROSSOPT=-O2 -g -FD/usr/share/java/ CPU_TARGET=jvm
OS_TARGET=android INSTALL_PREFIX=/usr/ FPC=/usr/bin/ppcx64 all
crossinstall
But then I get the
ik wrote on Tue, 10 Apr 2012:
Hello,
I'm trying to compile jvmbacked (once again after a long time).
It seems to work well at first with the following cli make:
sudo make CROSSOPT=-O2 -g -FD/usr/share/java/ CPU_TARGET=jvm
OS_TARGET=android INSTALL_PREFIX=/usr/ FPC=/usr/bin/ppcx64 all
On Tue, Apr 10, 2012 at 17:15, Jonas Maebe jonas.ma...@elis.ugent.be wrote:
ik wrote on Tue, 10 Apr 2012:
Hello,
I'm trying to compile jvmbacked (once again after a long time).
It seems to work well at first with the following cli make:
sudo make CROSSOPT=-O2 -g -FD/usr/share/java/
I have some issues when assigning a pointer to a pointer variable.
Consider this:
TVertex = record
x: double;
y: double;
end;
PVertex = ^TVertex;
TEdge = record
v1: PVertex;
v2: PVertex;
end;
I have assigned a value to a vertex variable. In my code I have an
array of TEdge.
On Tue, 10 Apr 2012 18:08:04 +0200
dhkblas...@zeelandnet.nl wrote:
I have some issues when assigning a pointer to a pointer variable.
Consider this:
TVertex = record
x: double;
y: double;
end;
PVertex = ^TVertex;
TEdge = record
v1: PVertex;
v2: PVertex;
end;
Can't reproduce with the following program:
type
TVertex = record
x: double;
y: double;
end;
PVertex = ^TVertex;
TEdge = record
v1: PVertex;
v2: PVertex;
end;
var
edge_count: LongWord = 0;
edge_list: array of TEdge;
procedure add_edge(v1, v2: PVertex);
begin
dhkblas...@zeelandnet.nl schrieb:
edge_list[edge_count - 1].v1 := v1; // after this line the
value of v1^.x suddenly is changed!!??!!
Could it be that you do something else with edge_list before the
assignment?
Keep in mind that edge_list is a dynamic array and therefore a pointer
But pointer are always a source of errors.
Only use them when it's unavoidable.
If you can do the same without pointers then don't use them. ;-)
Of course, if you just use pointers because others do, indeed they might
be...
No comment.
A.
___
Here's a minimal example that has the bug. First of all the first output is
wrong as it says 0,50 instead of 20,50 (so the x item is overwritten). The
second printed output differs from the first, so again the x item is
overwritten. I'm clueless.
program test;
{$mode objfpc}{$H+}
type
Hi leledumbo,
Thanks for your quick reply.
Try set a full path to the compiler driver binary (fpc.exe)
Setting the GlobalPrefix to the full path to fpc.exe, will produce the
following error as the GlobalPrefix is referenced more than once.
Op 10 april 2012 22:06 heeft Darius Blaszyk dhkblas...@zeelandnet.nl
het volgende geschreven:
Here's a minimal example that has the bug. First of all the first output is
wrong as it says 0,50 instead of 20,50 (so the x item is overwritten). The
second printed output differs from the first, so
Your second suggestion,
or put its directory (fpc.exe) in PATH.
proved to be the answer.
C:\lazarus\fpc\2.6.0\bin\i386-win32fppkg install lazmkunit
Start building package lazmkunit for target i386-win32.
Compiling lazmkunit.pp
[100%] Built target
14 matches
Mail list logo