Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Desler on October 14, 2002, 05:09:39 PM

Title: Problems with StormC demo
Post by: Desler on October 14, 2002, 05:09:39 PM
Im currently looking for a decent c++ compiler for the amiga. Therefore I recently  tried to download the demoversion of the StormC compiler. I unpacked the archive, installed it properly, made the required assigns and so on... Atleast I thought I did, because when I tried to use the compiler I got a bunch of strange errormessages.
The program I was trying to compile was a simple 'Hello world' prog but got errors like 'no known function main'  :-?
Are there any others who have had similar problems?
Im new to the C++ world so any help would be much appriciated
Title: Re: Problems with StormC demo
Post by: jaokim on October 14, 2002, 05:41:58 PM
What does your source code look like?
Are you having problems compiling, or getting the compiling to start at all. I.e. are the error messages for the source or from Storm itself?
Title: Re: Problems with StormC demo
Post by: Kronos on October 14, 2002, 05:42:10 PM
StormC-demo ? Where's that from ? The only one I know is the preview
version that came out before 1.0.

If you want to develop anything Amiga-specific, you gone need the DEV-CD
which (in version 2.1) comes with StormC_V3 (full version).
Title: Re: Problems with StormC demo
Post by: Desler on October 14, 2002, 05:58:55 PM
The version of the demo is 2.0 link to demo readme (http://www.haage-partner.de/download/Storm/StormC2_0.readme)
Link to download (http://www.haage-partner.de/download/Storm/)
Would REALLY like to test out the product before I spend 420$ on the full version
Title: Re: Problems with StormC demo
Post by: Desler on October 14, 2002, 06:00:50 PM
Quote
Are you having problems compiling, or getting the compiling to start at all. I.e. are the error messages for the source or from Storm itself?

Looks like storm dosent recognise basic parts of the code. like the 'void main()' part
Title: Re: Problems with StormC demo
Post by: Crumb on October 18, 2002, 10:53:12 PM
have you added the required link libraries to the project? Select Add Library(s) in the Project Menu.
I don't know with stormC demo, but with the full versions you should check that you have storm.lib and amiga.lib in the project.
In the project preferences the first include path is usually StormC:Include

ummm and your hello world should be:
#include
int main(void)
{
printf("Amiga Rules!\n");
return(0);
}

that should compile without any errors or warnings.