[GAP] JEWL and GNAT GPL 2006
Riehle, Richard (CIV)
rdriehle at nps.edu
Wed Dec 20 01:59:16 CET 2006
I noticed that you were trying to do the pong
program.
I give this as an exercise to my students. I ask them
to modify it so it will support two paddles. Sometimes
they add sound and other interesting effects. My
students are all graduate students so they often have
children. I find that, if one of my male students has
a son in the 8-12 age range, the resulting project is
even more interesting than usual.
Attached are a few examples I chose at random from completed
projects. I'm not sure I picked the best ones, but they
should be a representative sample.
Richard
============================================================
-----Original Message-----
From: gap-bounces at gnat.info [mailto:gap-bounces at gnat.info] On Behalf Of
John McCormick
Sent: Tuesday, December 19, 2006 12:28 PM
To: GNAT Academic Program discussion list
Subject: [GAP] JEWL and GNAT GPL 2006
Next semester I am teaching a course in concurrent programming. When I
taught this course last (in 2000), I found John English's Window Library
(JEWL) to be the perfect tool for I/O in my examples and
assignments. Today I downloaded and installed the latest version of
JEWL
on my Windows XP machine. I attempted to build and run one of the
examples. I am unable to get a successful link. Below is a copy of my
attempt to make the pong example - it looks that I am missing some
files. Has anyone had success using JEWL with GNAT GPL 2006?
A bit of good Ada news. This Fall the University of Northern Iowa will
return to using Ada in our CS1 and CS2 courses! Faculty voted
overwhelmingly to replace Java in these two courses.
John
$set ADA_INCLUDE_PATH=C:\Documents and Settings\mccormick\My
Documents\JEWL\source
$set ADA_OBJECTS_PATH=C:\Documents and Settings\mccormick\My
Documents\JEWL\source
$gnatmake pong.adb
gcc -c pong.adb
gnatbind -x pong.ali
gnatlink pong.ali
C:\GNAT\GPL_2006\bin\..\libexec\gcc\pentium-mingw32msv\3.4.6\ld.exe:
cannot
find -luser32 -lgdi32 -lcomdlg32 -lwinmm
gnatlink: cannot call C:\GNAT\GPL_2006\bin\gcc.exe
gnatmake: *** link failed.
$
John W. McCormick mccormick at cs.uni.edu
Computer Science Department
University of Northern Iowa voice (319) 273-6056
Cedar Falls, IA 50614-0507 fax (319) 273-7123
http://www.cs.uni.edu/~mccormic/
_______________________________________________
GAP mailing list
GAP at gnat.info
/no-more-mailman.html
To unsubscribe from this list, please contact the GAP GNAT Tracker
administrator
within your organization.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pong2paddle.adb
Type: application/octet-stream
Size: 4848 bytes
Desc: pong2paddle.adb
Url : /pipermail/gap/attachments/20061220/9fa04cdb/pong2paddle-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AJDoublePaddlePong.adb
Type: application/octet-stream
Size: 4743 bytes
Desc: AJDoublePaddlePong.adb
Url : /pipermail/gap/attachments/20061220/9fa04cdb/AJDoublePaddlePong-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: barnespongBA.adb
Type: application/octet-stream
Size: 4059 bytes
Desc: barnespongBA.adb
Url : /pipermail/gap/attachments/20061220/9fa04cdb/barnespongBA-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: davisPong.adb
Type: application/octet-stream
Size: 4690 bytes
Desc: davisPong.adb
Url : /pipermail/gap/attachments/20061220/9fa04cdb/davisPong-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hyla_pongv2.adb
Type: application/octet-stream
Size: 4097 bytes
Desc: hyla_pongv2.adb
Url : /pipermail/gap/attachments/20061220/9fa04cdb/hyla_pongv2-0001.obj
More information about the GAP
mailing list