Mac Help Forums


Reply
Thread Tools Display Modes

Just want to compile some source code

 
New Member
Join Date: Jan 2009
Location: Michigan, USA
Posts: 2
 
      22nd January 2009
Hi. I downloaded an example program to connect with a USB interface that I am playing with, and I have no idea how to compile it. I have Xcode installed on my Mac (running OS X 10.4.11), and I've opened the C source file in Xcode, but the compile option is grayed out. I tried creating a new project and adding the source file to the project, but I still can't compile it. I also tried compiling from the Terminal using gcc, but I don't know where to put the custom header file or how to tell gcc where to look for it.

I'm a novice programmer; I just want to compile this example program and then start modifying it for my purposes. Thanks for any help you can provide.
 
Reply With Quote
 
 
 
 
Senior Member
Kaveman's Avatar
Join Date: Nov 2010
Location: Westland, NZ
Posts: 1,362
 
      12th June 2011
I'm picking this guy is long gone, but if not:

Are you wanting an application to access the USB device?
 
Reply With Quote
 
New Member
Join Date: Jan 2009
Location: Michigan, USA
Posts: 2
 
      13th June 2011
Wow, I'm surprised to see a response to this thread! My need has long since expired, but I thank you for the reply. I was eventually able to accomplish my task.

Take care.
 
Reply With Quote
 
Senior Member
Kaveman's Avatar
Join Date: Nov 2010
Location: Westland, NZ
Posts: 1,362
 
      13th June 2011
Great.
Linking in C code is one of those, OMG how does this work things. But once you get it, it seems to just work;-)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML source code John Wolf Mac 12 10th June 2010 03:04 PM
source code still available? kquirici@yahoo.com Programmer Help 0 19th July 2009 11:34 PM
top source code Feanor Programmer Help 1 30th May 2007 10:22 PM
FTP source code Lorenzo Thurman Programmer Help 2 29th January 2007 10:38 PM
Want yade X source code Johnathon Jamison UK Macs 0 26th April 2006 08:48 PM


All times are GMT +1. The time now is 06:46 AM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
Yikes! Teacher needs help!
Mollyc4627 (9 Hours Ago, 08:57 PM)

Unable to log in to websites
AMonty20 (12 Hours Ago, 05:52 PM)

Add Different Speech Commands
bae_22 (14 Hours Ago, 04:40 PM)

Login (2 macs) passwords spontaniously changed?
Roger Vaught (15 Hours Ago, 03:31 PM)

Best car charger or inverter for Macbook Pro?
imeme87 (15 Hours Ago, 03:22 PM)

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51