ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] fpc+glut
@ 2008-01-20 19:56 lnkvisitor.ts
  2008-01-21 10:17 ` Алексей Шенцев
  0 siblings, 1 reply; 2+ messages in thread
From: lnkvisitor.ts @ 2008-01-20 19:56 UTC (permalink / raw)
  To: ALT Linux Community general discussions

[-- Attachment #1: Type: text/plain, Size: 893 bytes --]

на паскале пишу простинький код:
Program test;
uses
  glut,glu,gl;
Procedure Draw;cdecl; begin
 glClearColor(0,0,0,1);
 glClear(gl_color_buffer_bit);
 glfinish;
end;

begin
writeln('1');glutinit(@argc,argv);
writeln('2');glutinitdisplaymode(glut_rgb);
writeln('3');glutinitwindowsize(800,600);
writeln('4');glutcreatewindow('fff');
writeln('5');glutdisplayfunc(@Draw);
glutmainloop;
end.



в результате получаю
[lnk@localhost fpc]$ ./1
1
2
3
4
An unhandled exception occurred at $A7695F89 :
EInvalidOp : Invalid floating point operation
  $A7695F89
  $A71EEB6D
  $A714754C
  $A6C803BC
  $A730AF19
  $A7317485
  $A7323F85
  $A7806D37
  $A77FFBEE
  $A7DEB34F
  $A7DEB748
  $A7C700A6
  $A7C6E71C
  $A7C6FAE5
  $08048504  main,  line 21 of /home/lnk/fpc/1.pas



стоит freeglut-2.4.0-alt1


с чем .то может быть связанно?


[-- Attachment #2: lnkvisitor.ts.vcf --]
[-- Type: text/x-vcard, Size: 311 bytes --]

begin:vcard
fn;quoted-printable:=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=9A=D1=83=D0=BB=D0=B8=D0=BA=
	
n;quoted-printable;quoted-printable:=D0=9A=D1=83=D0=BB=D0=B8=D0=BA;=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9
email;internet:lnkvisitor.ts@gmail.com
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-21 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-20 19:56 [Comm] fpc+glut lnkvisitor.ts
2008-01-21 10:17 ` Алексей Шенцев

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git