SEAL Forum Index SEAL
The SEAL Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hello World -- GCC

 
Post new topic   Reply to topic    SEAL Forum Index -> New Users
View previous topic :: View next topic  
Author Message
Eric T



Joined: 22 Jun 2005
Posts: 8
Location: Selby, North Yorks, UK

PostPosted: Wed Jun 22, 2005 3:01 pm    Post subject: Hello World -- GCC Reply with quote

Hi,

I'm new to Seal and to C, though an inveterate/institutionalized VB/ VBS/ Javascript/ ASP/ PHP coder.

The Seal GUI looks great, feels good and has massive potential, thanks!

The only drag with the GUI on one of my machines, even with mouse speed up full, is getting the mouse from one side of the screen to the other.

Where I'm really stuck, however -- and would be grateful for any hints and advice -- is getting from your example hello.c to hello.o using gcc. As you can see below, I received a ream of warnings and a final parse error (excluding one obvious typo "Destop")...

Any ideas? Many thanks in advance.
Best Wishes,
Eric T.

Downloaded zips used:

seal 2.00.11 binaries and source

v2/djdev203.zip
v2gnu/bnu216b.zip
v2gnu/mak3791b.zip
v2misc/csdpmi5b.zip
deleted/v2gnu/gcc2953b.zip

allegro.h 1.1.1.1 from http://cvs.sourceforge.net/viewcvs.py/sealsystem/SEALSRC/


Output of redir -o gcc.log -eo gcc -IC:\seal2\sources\include -v hellow.c
-------------------------------------------------------------------------

... In file included from C:/Seal2/sources/include/drivers.h:33,
from C:/Seal2/sources/include/engine.h:197,
from C:/Seal2/sources/include/seal.h:37,
from hellow.c:2:
C:/Seal2/sources/include/keyboard.h:252: warning: `SCANCODE_TO_KEY' redefined
c:/djgpp/include/allegro.h:316: warning: this is the location of the previous definition
C:/Seal2/sources/include/keyboard.h:253: warning: `SCANCODE_TO_CAPS' redefined
c:/djgpp/include/allegro.h:317: warning: this is the location of the previous definition
C:/Seal2/sources/include/keyboard.h:254: warning: `SCANCODE_TO_SHIFT' redefined
c:/djgpp/include/allegro.h:318: warning: this is the location of the previous definition
C:/Seal2/sources/include/keyboard.h:255: warning: `SCANCODE_TO_CONTROL' redefined
c:/djgpp/include/allegro.h:319: warning: this is the location of the previous definition
C:/Seal2/sources/include/keyboard.h:256: warning: `SCANCODE_TO_ALTGR' redefined
c:/djgpp/include/allegro.h:320: warning: this is the location of the previous definition
C:/Seal2/sources/include/keyboard.h:257: warning: `SCANCODE_TO_ALT' redefined
c:/djgpp/include/allegro.h:321: warning: this is the location of the previous definition
c:/djgpp/lib/gcc-lib/djgpp/2.953/cc1.exe c:/djgpp/tmp\ccAe0mQ7.i -quiet -dumpbase hellow.c -version -o c:/djgpp/tmp\ccIMvrUg.s
GNU C version 2.95.3 20010315/djgpp (release) (djgpp) compiled by GNU C version 2.95.3 20010315/djgpp (release).
In file included from C:/Seal2/sources/include/drivers.h:33,
from C:/Seal2/sources/include/engine.h:197,
from C:/Seal2/sources/include/seal.h:37,
from hellow.c:3:
C:/Seal2/sources/include/keyboard.h:378: conflicting types for `key_ascii_table'
c:/djgpp/include/allegro.h:299: previous declaration of `key_ascii_table'
C:/Seal2/sources/include/keyboard.h:379: conflicting types for `key_capslock_table'
c:/djgpp/include/allegro.h:300: previous declaration of `key_capslock_table'
C:/Seal2/sources/include/keyboard.h:380: conflicting types for `key_shift_table'
c:/djgpp/include/allegro.h:301: previous declaration of `key_shift_table'
C:/Seal2/sources/include/keyboard.h:381: conflicting types for `key_control_table'
c:/djgpp/include/allegro.h:302: previous declaration of `key_control_table'
C:/Seal2/sources/include/keyboard.h:382: conflicting types for `key_altgr_table'
c:/djgpp/include/allegro.h:303: previous declaration of `key_altgr_table'
In file included from C:/Seal2/sources/include/seal.h:37,
from hellow.c:3:
C:/Seal2/sources/include/engine.h:254: parse error before `AL_CONST'
_________________
http://www.anchor92.freeserve.co.uk
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SEAL Forum Index -> New Users All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group