Hello,
I've installed ADE (gcc 2.95.3) on AmigaOS 3.2.
I can compile an HelloWorld program but not NDK3.2 provided examples.
Here is what I've done:
- I copied NDK3.2 includes files from "Include_H" to ADE "os-includes" subdrawer.
=>Are there any other files to copy/build ?
- I tried to compile Buttons.c (gcc -o Buttons Buttons.c) but with no success :
Line 53: inline/button.h No such file or directory in file included from Buttons.c : 20 (ButtonBAse opening)
=> I guess there are some compilation/link options to add ?
Could someone help me ?
Thanks.
ADE and NDK3.2
Re: ADE and NDK3.2
OK, so I need to build proto/inline files with fd2pragma from NDK3.2 SFD files.
It seems that ReAction SFD (button, chooser, ...) files are missing from NDK3.2 ?
It seems that ReAction SFD (button, chooser, ...) files are missing from NDK3.2 ?
Re: ADE and NDK3.2
I've built proto/inline files with NDK3.9 includes regarding ReAction ones.
It's now better but one error remains now:
Buttons.c:57: unterminated macro call
Where line 57 is:
Win_Object = WindowObject,
=> I guess the NDK3.9 include for WindowObject is not the same as NDK3.2 ?
Anyone ? ^^
It's now better but one error remains now:
Buttons.c:57: unterminated macro call
Where line 57 is:
Win_Object = WindowObject,
=> I guess the NDK3.9 include for WindowObject is not the same as NDK3.2 ?
Anyone ? ^^
- salass00
- AmigaOS Core Developer
- Posts: 530
- Joined: Sat Jun 18, 2011 3:12 pm
- Location: Finland
- Contact:
Re: ADE and NDK3.2
@glames
Try compiling with -DNO_INLINE_STDARG or add the code:
#ifdef NewObject
#undef NewObject
#endif
to make sure you are using the stub function from amiga.lib and not a macro.
Or if you want to use inline NewObject() do not use the ReAction macros like WindowObject.
Try compiling with -DNO_INLINE_STDARG or add the code:
#ifdef NewObject
#undef NewObject
#endif
to make sure you are using the stub function from amiga.lib and not a macro.
Or if you want to use inline NewObject() do not use the ReAction macros like WindowObject.
Re: ADE and NDK3.2
@salass00,
Thanks, it's better now !
The macro call is now fixed
There was just an "undefined reference to IntuitionBase" left.
I added a "-noixemul" and now it WORKS
Thanks !
Thanks, it's better now !
The macro call is now fixed
There was just an "undefined reference to IntuitionBase" left.
I added a "-noixemul" and now it WORKS
Thanks !