Welcome, Guest. Please login or register.

Author Topic: CyberGfx programming...  (Read 7871 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline HardboyTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 248
    • Show only replies by Hardboy
CyberGfx programming...
« 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?
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: CyberGfx programming...
« Reply #1 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.
int p; // A