Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » Mac OS X port architecture
Re: best way to draw text/fonts on MacOS from C/C++ [message #33339 is a reply to message #33337] Tue, 26 July 2011 07:11 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
daveremba wrote on Tue, 26 July 2011 00:11

Regarding:
Quote:

- investigate how minimal Cocoa application looks like -
it is enough to display "Hello world" in otherwise emtpy window
(view?), preferably without the presence of .nib files

1. build the minimal app is easy, gcc on Mac knows
how to handle and link the file types without
any unusual flags (although one can get fancy and
specify architectures for "universal binaries" etc.)

The following command works, to mix a C main file
have it start an objective-C Cocoa application:

gcc main.c main.m cocoa_test2AppDelegate.m -framework Cocoa -o cocoa_test2_bundle.app/Contents/MacOS/cocoa_test2

theide code editor will load the .m files after I set the
filter to All Files.



Easy or not, I still see as a good next step producing source code for that app, then adjusting theide to build it... Smile

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TheIDE/max x11 binary by daveremba
Next Topic: fix TheIde [DOWNLOAD] build flag options in GccBuilder for OSX11 and Cocoa
Goto Forum:
  


Current Time: Sun May 05 10:56:39 CEST 2024

Total time taken to generate the page: 0.02507 seconds