Welcome, Guest. Please login or register.

Author Topic: MorphOS C++ compiler / development  (Read 2725 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
MorphOS C++ compiler / development
« on: November 22, 2006, 08:16:27 AM »
What is the best C++ compiler for MorphOS? Ideally an IDE with code colouring would be ideal, but not essential. I've searched Aminet for "C++" but most of the results I found were "experimental" or "untested". Which is the best?

I'm going to have a bash at porting an OpenGL game to MorphOS. I assume the TinyGL library is what I want for this? I tried compiling the game under MacOnLinux and it fell over at commands like "SetColor", "SetAlpha" etc. I now know this is because OpenGL doesn't work under MOL. I assume there are equivalent commands in TinyGL?

Thanks in advance for any help.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Jupp3

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 364
    • Show only replies by Jupp3
    • http://jupp3.amigafin.org
Re: MorphOS C++ compiler / development
« Reply #1 on: November 22, 2006, 08:35:13 AM »
Quote
What is the best C++ compiler for MorphOS? Ideally an IDE with code colouring would be ideal, but not essential. I've searched Aminet for "C++" but most of the results I found were "experimental" or "untested". Which is the best?

You should get the official SDK from mdc (requires free registration), it comes with gcc and syntax highlighting text editor. You might want to consider buying Cubic IDE aswell.

Quote
I'm going to have a bash at porting an OpenGL game to MorphOS. I assume the TinyGL library is what I want for this? I tried compiling the game under MacOnLinux and it fell over at commands like "SetColor", "SetAlpha" etc. I now know this is because OpenGL doesn't work under MOL. I assume there are equivalent commands in TinyGL?

Those don't sound like OpenGL functions at all. In fact all (or at least most) OpenGL function calls begin with gl-prefix, like glColor4f() etc.

Those sound like some internal functions of the game you're compiling, or functions from something it needs, but you don't have.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: MorphOS C++ compiler / development
« Reply #2 on: November 22, 2006, 09:58:46 AM »
Quote
Jupp3 wrote:
You should get the official SDK from mdc (requires free registration), it comes with gcc and syntax highlighting text editor. You might want to consider buying Cubic IDE aswell.

Thanks for the info. I didn't know there was an official dev kit. I have already registered as a MOS user and have access to the download area for MOS and the patches. Does that also get me in to the Dev's area?

Quote
Jupp3 wrote:
Those sound like some internal functions of the game you're compiling, or functions from something it needs, but you don't have.

They're not functions defined in the code of the game, so they must be internal functions of BlitzMax (the language the game is written in). It compiles fine on my Intel MacBook, but not on MacOnLinux. I suppose I'll have to find TinyGL equivalents for the functions as and when I get to them  :-?

Thanks again

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline djbase

Re: MorphOS C++ compiler / development
« Reply #3 on: November 22, 2006, 11:21:13 AM »
For the MDC you need another Login because this is independend from the MorphOS Registration.

 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: MorphOS C++ compiler / development
« Reply #4 on: November 22, 2006, 01:56:16 PM »
Have just registered on the MDC. Any idea how long it takes them to approve (or not) the registration?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10