10 April 2009, 07:25 | #1 |
Posts: n/a
|
Aztec C
Hi all
I'm using aztec C with amigauae , but i have a problem: when i compile a program, aztec complain that can't open #include<exec/types.h> i execute sh aztec.sh to set the environement variable , but it dosn"t work anyway. I can't find the doc of Aztec , anyone know what to do ? Thank you for you answers |
10 April 2009, 09:56 | #2 |
Registered User
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
|
hi & welcome,
look into the aztec.sh file, there must be some kind of definitions regarding "INCLUDES". ensure the path at this line fits with your installation: sort of: INCLUDE="DH1:aztec/includes" or: ASM_INCLUDE="DH2:aztec/asm" those lines above are just example, but ensure, the path to the include folders is correct. here is an intresting page: http://www.aztecmuseum.ca/ maybe you find some more information/manuals/examples over there. Edit: the read.me from the install floppy says: change into AZTEC MAIN Directory and then start aztec.sh: from within a shell/cli: cd DH1:aztec execute aztec.sh Last edited by hit; 10 April 2009 at 10:10. |
10 April 2009, 19:27 | #3 |
Posts: n/a
|
yes , there is path and assignation, the line for include is
set "INCLUDE=df0:Aztec/Include" , the path is correct but i get always the same compilation error |
10 April 2009, 19:55 | #4 | |
Registered User
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
|
Quote:
well, when you start to compile a program, it looks on your floppy ( df0: ) in the Aztec/Include" folder for those files. so you must have the correct floppy in df0: if its all on floppy, ensure the file is there. open a cli /shell and type, for example: cd df0:Aztec/Include list exec/types.h not sure, what elso i can suggest. |
|
11 April 2009, 16:34 | #5 |
Posts: n/a
|
well it's on HDD. Noway it doesn't work.
I'm going to ask request for lattice c.Thank you for you for you help |
11 April 2009, 17:59 | #6 |
The 1 who ribbits
|
well for starters dose the file types.h exist ?
|
04 May 2012, 14:31 | #7 |
Posts: n/a
|
Sorry to bring up an old thread, but I'm having the same problem.
I've setup an HDD (DH0) in WinUAE and installed Workbench successfully. The A1200 emulation boots from DH0. I've installed Aztec C onto dh0 from floppies and checked that the directory structure exists. If I cd into the Aztec dir I can run aztec.sh, but when I try to compile a simple 'Hello world', I get 'ERROR 47: open failure on include file'. I've also added the necessary paths to the Startup-Sequence file and then rebooted, but I get the ERROR 47 again. Could anyone help please? Matt |
05 May 2012, 01:24 | #8 |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Aztec C is ancient and quirky. Why not use vbbc? Vbbc is free, easy to install, documentation is online and it's still supported for the Amiga.
http://sun.hasenbraten.de/vbcc/ |
13 January 2014, 14:19 | #9 |
Registered User
Join Date: Aug 2003
Location: hamburg
Posts: 56
|
You have to use the "set" command from the Aztec-C bin directory. Usually set is built into the CLI, but the lines to set the Aztec environment will only work if you use the proper command.
BTW, I have compiled clean and working installs of Aztec-C 3.6a, 5.2a, SAS/C 6.58 (latest release) and DICE 3.16 as HDFs. If anoybody is interested, I can upload them. |
13 January 2014, 14:54 | #10 | |
Registered User
Join Date: Feb 2013
Location: Argentina
Posts: 281
|
Quote:
Thanks |
|
13 January 2014, 19:14 | #11 |
Registered User
Join Date: Aug 2003
Location: hamburg
Posts: 56
|
...upped to the Zone - enjoy!
|
13 January 2014, 19:25 | #12 |
Registered User
Join Date: Feb 2013
Location: Argentina
Posts: 281
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FROBAC - Aztec C! Wanted! | W4r3DeV1L | request.Apps | 8 | 27 May 2009 00:29 |
Manx Aztec 5.2 | KnaxAmi | request.Apps | 3 | 19 May 2009 19:04 |
Aztec C 5.2b ??? | KnaxAmi | request.Apps | 0 | 25 November 2008 13:06 |
Aztec C v5 | gijoe | request.Apps | 1 | 03 May 2006 13:35 |
|
|