Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Olle on June 14, 2003, 09:49:15 PM
-
Ok, so i've been coding some mui gui's lately, and now i thought i should try some reaction-stuff.
First thing i noticed is how similar it is. However when compiling the examples from the dev.cd, i get the "unterminated macro call" , as one get with the mui-macros aswell (when compiling c++ stuff)
However i did just like this.
gcc -otest checkboxexample.c
As i successfully has compiled the icq-lib, and tested it as a command-line icq :-), i just wanted to quickly make a icq-lite gui.
If someone could guide me perhaps to an option to get gcc to ignore the error, or submitting a working reaction_macros.h
Did i mention that i also managed to compile the dclib (direct connect), :-)
Any help would be appreciated.
Thanks.. :-D
-
Hey there,
I've been messing around with ReAction recently (I'm just a newbie really) Using the examples I've managed to make a GUI for OrgIRC (the special #amiga.org IRC client I'm working on :-) )
I compile the example using:-
gcc -noixemul checkboxexample.c -o test
Are you using the includes from the 3.9 NDK?
-
Well, newbie, like me then.. :-)
I did use Louises setup thru winuae, and added the includes from the 3.9 NDK.
however his system-setup seemed to be case-sensitive so i renamed all files to lowercase.
I will try to install the geekgadgets on my other setup and try again..
Atleast good to know that it should work.. ;-)
Another little question, can you compile the file by renaming it to .cpp and use g++ ?
I would really like to use templates and classes for my projects.
thanks for the information m8..
-
renaming a c file doesn't make it a C++ file. you will have to change a few things in it
technically you could write a c++ program and call it myprogram.bmp and it could still be compiled as a c++ program (But not viewed as a bitmap hehe)
-
@ uncharted
Thats good to hear dude :-)
I didn't know you were working on such a thing :-)
Is there anything you can show us already ?