Search found 75 matches

by Stephen
2010-03-12, 07:37
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Re: Mac OS X Port

The headers are working fine, it's just that the functions are in the global namespace but you put them in the cf namespace, so I get undefined references to, say cf::glMultiTexCoord2dARB (because its just glMultiTexCoord2dARB in the global namespace) . I think I'll need to do something like this in...
by Stephen
2010-03-11, 02:21
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Re: Mac OS X Port

Yep, that makes sense. Now the only problem I'm having is trying to get those functions in the cf namespace... Hopefully I don't have to do a bunch of inline functions, but I may have to. This is because the header has extern "c" around all the functions, so it doesn't work if I put the include insi...
by Stephen
2010-03-10, 14:47
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Re: Mac OS X Port

It's been a while, but I took a look at the code today.

Any idea why I'm getting all these errors? Ignore the re-definition, I fixed that...
by Stephen
2010-01-30, 12:25
Forum: Cafu Engine Support and Discussion
Topic: Cafu SVN compilation...
Replies: 4
Views: 3441

Re: Cafu SVN compilation...

I've used Cmake before, and I didn't like it... You have to jump through hoops to do things that should be simple like using pkg-config...
by Stephen
2010-01-14, 10:48
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Re: Mac OS X Port

Well, after a bit of hacking I've got most of the executables and external libs working. CaWE is having a problem though: CaWE/AppCaWE.cpp: In member function 'virtual bool AppCaWE::OnInit()': CaWE/AppCaWE.cpp:157: error: invalid initialization of reference of type 'const wxString&' from expression ...
by Stephen
2010-01-13, 15:02
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Re: Mac OS X Port

Hmmm, I just read the Wikipedia article about Quartz when I from there also found the link to CGL , which is probably what both SDL and wxWidgets use for their implementation. Wouldn't this be the "right" API in the sense that it is the system native one that we're looking for? (assuming the Mac OS...
by Stephen
2010-01-13, 11:22
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Re: Mac OS X Port

Hi Stephen, thanks for the good news!! No problem! The reason why I asked about Objective C++ is that it would create another (big) dependency, wouldn't it? I.e. everyone would have to have the entire Objective-C++ development environment setup in order to use it, which can in general be a quite he...
by Stephen
2010-01-12, 15:35
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Re: Mac OS X Port

And, an update - I now have more libraries compiling! libcfsCoreLib.a, libcfsLib.a, libMatSys.a, libSceneGraph.a and libSoundSys.a. I worked out how to get glx included (turns out that you just have to add an include path), but it's still probably a good idea to eventually move to another method lik...
by Stephen
2010-01-12, 14:00
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Re: Mac OS X Port

Also, SDL could be an option - it has Windows, Mac OS and Linux backend. I'm going to investigate OpenGL in WxWidgets, but I'm guessing that using SDL is probably going to be simpler - the base part (a 350 kb DLL on Windows) essentially just has window management (it just takes a few lines of code t...
by Stephen
2010-01-12, 10:16
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Re: Mac OS X Port

but it turns out that Mac OS X's X server doesn't support GL Hmmm. This somewhat surprises me... I might be wrong, because this article makes it look like it is available, but I can't find the header file... I wouldn't be too suprised if it wasn't there too, because it's just there for compatibilit...
by Stephen
2010-01-11, 14:25
Forum: Coding and Scripting
Topic: Mac OS X Port
Replies: 16
Views: 6441

Mac OS X Port

I worked a little on getting Cafu working on Mac OS X, and I can see that it's probably going to be more complex that I first thought. I had hoped that I could (initially) use X, which would be far less work, but it turns out that Mac OS X's X server doesn't support GL, so I'll probably have to go a...
by Stephen
2009-12-28, 05:58
Forum: News and Announcements
Topic: Cafu is now open-source!
Replies: 10
Views: 27758

Re: Cafu is now open-source!

Wow, I really didn't expect this but I always thought it would be awesome if you open sourced it!

How big is the source? I'd love to try and get Cafu running on my Macbook (which I'm using right now) but I'm on 3G internet (on holidays) and I can't use too much downloads.

Awesome news though!
by Stephen
2009-10-18, 15:47
Forum: News and Announcements
Topic: Upgrading to wxWidgets 2.9
Replies: 4
Views: 6568

Re: Upgrading to wxWidgets 2.9

When is the next version of the engine coming? I'd love to see some screenshots of the new vegetation stuff!
by Stephen
2009-10-13, 16:38
Forum: News and Announcements
Topic: Upgrading to wxWidgets 2.9
Replies: 4
Views: 6568

Re: Upgrading to wxWidgets 2.9

I'm looking forward to a Mac OS X version - I spend most of my computing time on my Macbook these days. It's quite a nice platform to develop for too.
by Stephen
2009-10-13, 16:32
Forum: General and Miscellaneous
Topic: Bjarne Stroustrup on C++0x
Replies: 4
Views: 4383

Re: Bjarne Stroustrup on C++0x

Well, I've become intrigued with parallel programming as well, and will soon start my first experiments - either using the Pthreads library, and/or the multithreading support classes in wxWidgets. :cheesy: From what I've read about pthreads, apparently the windows version is not as efficient as Win...