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 » Need help with the structure of flags etc. and running u++ cocoa on Windows 7 GNUSTEP
Re: Need help with the structure of flags etc. and running u++ cocoa on Windows 7 GNUSTEP [message #35741 is a reply to message #35732] Thu, 15 March 2012 11:36 Go to previous messageGo to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi,

Great! Good thing you figured out the Id stuff. In my opinion Mirek's word on solving the namespace issue would be needed.

--

Now: I was actually able to compile+link+run the test app on GNUstep using SVN4690 sources modified as follows:

1. Core/config.h as you showed above.

2. GccBuilder in the way you demonstrated and I yesterday uploaded the 'intelligently' merged changes compatible with SVN4690.

3. Applied the Id::Id fix in the Value. (BTW: This works the same way for OldValue and the new SVO_VALUE.)

4. I had to change UNS.h as follows to remove some errors:

...

#ifdef  __OBJC__
extern "C"{                          // 2012-03-15 Tom added
#define INTPTR_MAX 0x7fffffff	     // 2012-03-15 Tom added
#include <Cocoa/Cocoa.h>
#include <Foundation/Foundation.h>
}                          // 2012-03-15 Tom added
#include "UNSDef.h"

...


Flags were "COCOA USEMALLOC". (This also worked with SVO_VALUE).

--

What comes out of this is an empty console window and then an empty gray 300x300px window. So, it works! (Right?)

Now, how to connect TopWindow and other Ctrls to this?

// Tom
 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: upp-cocoa CtrlCore skeleton package to play
Next Topic: some cocoa with OpenGL in upp sandbox! (UNS, UNSCtrl , UNStest)
Goto Forum:
  


Current Time: Thu May 09 22:48:57 CEST 2024

Total time taken to generate the page: 0.01980 seconds