Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Hardboy on December 11, 2002, 06:00:09 PM

Title: CyberGfx programming...
Post by: Hardboy on December 11, 2002, 06:00:09 PM
I´m trying to program something with cybergfx,  but StormC gives me an error when linking. Goes like this:

Symbol "_BestCModeIDTags" not defined

Do I need some object file to link my program with?
Title: Re: CyberGfx programming...
Post by: Karlos on December 12, 2002, 02:43:41 PM
Is it just this function that the linker can't resolve?

AFAIK, all of the cybergfx functions are handled via library call / tag call pragmas under storm so you shouldn't need to link with a stub library or object. I use the cgx devkit and not encountered any such problems. I use the following #include's...

#include
#include
#include

...all of which should be inside your default include directory. I guess if the compiler doesn't find the pragmas it assumes that the function definitions are in a link library.

Hope this helps.