English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 09 February 2014, 21:35   #1
Yesideez
(2b)||!(2b)
 
Yesideez's Avatar
 
Join Date: Mar 2007
Location: Cranbrook, Devon, UK
Age: 50
Posts: 241
SAS/C: Finding the right includes to use

Just wondering, when you've got some source code sat in front of you (from someone else) and you go to compile it and get several error messages, ow do you find out what includes/header files to call in?

I've tried compiling a program that uses gadtools and GA_Disabled and every file I've tried to include fails.

So, how do you find which file to include?
Yesideez is offline  
Old 09 February 2014, 21:38   #2
marduk_kurios
move $dff006,$dff180
 
marduk_kurios's Avatar
 
Join Date: Feb 2014
Location: USA
Posts: 66
Hm, so far I did not run into much trouble compiling and did not have to hunt down errors to include files. Do you have example code I could test with?
marduk_kurios is offline  
Old 09 February 2014, 21:50   #3
Yesideez
(2b)||!(2b)
 
Yesideez's Avatar
 
Join Date: Mar 2007
Location: Cranbrook, Devon, UK
Age: 50
Posts: 241
It's one of the topics from this forum and the subjjest was just titled "gadtools"
Yesideez is offline  
Old 09 February 2014, 21:55   #4
marduk_kurios
move $dff006,$dff180
 
marduk_kurios's Avatar
 
Join Date: Feb 2014
Location: USA
Posts: 66
This one: http://eab.abime.net/showthread.php?...light=gadtools ?
marduk_kurios is offline  
Old 09 February 2014, 21:59   #5
Yesideez
(2b)||!(2b)
 
Yesideez's Avatar
 
Join Date: Mar 2007
Location: Cranbrook, Devon, UK
Age: 50
Posts: 241
That's the one!

I've got my C source sat on PC0: which is pointing to a folder on my hard drive. Notepad++ is being used to edit source and I;'m jumping back into UAE to dothe compiling.
Yesideez is offline  
Old 10 February 2014, 20:07   #6
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,351
You could use the AmigaDOS Search command. For example if your include directory is DH0:SC/Include, doing
Search DH0:SC/Include ALL GA_Disabled QUIET
would print the names of all files which contain that string.
mark_k is offline  
Old 12 February 2014, 14:08   #7
Yesideez
(2b)||!(2b)
 
Yesideez's Avatar
 
Join Date: Mar 2007
Location: Cranbrook, Devon, UK
Age: 50
Posts: 241
Awesome - thanks.

It's been years since I've got this involved in programming and bit by bit it's coming back to me
Yesideez is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
DevPac 3.xx Includes souls Coders. General 40 12 March 2021 21:35
Includes kristofferj Coders. General 3 03 May 2010 15:38
Devpac includes Seoman request.Apps 2 15 April 2010 00:19
DevPac 3 and includes Camionsauro Coders. General 10 20 April 2009 15:23
Devpac 3.x includes lpopman request.Apps 2 14 November 2004 17:28

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:45.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07875 seconds with 15 queries