Advertisement

C++ Builder $#%#@$% on me.

Started by June 22, 2003 01:28 PM
2 comments, last by skullfire 21 years, 8 months ago
Ok..i have this: #include "WindowGL.h" extern bool Active; extern bool FullScreen; Now, this external variables are declared in WindowGL.cpp #include "WindowGL.h" bool Active = true; bool FullScreen = true; And I modified the .h file to work with Borland C++ like this #ifndef WindowGLH #define WindowGLH ... #endif [edited by - skullfire on June 22, 2003 2:32:22 PM]Shit, forgot to put the problem..lol [Linker Error] Unresolved external '_Active' referenced from C:\blblabaa .... .OBJ [edited by - skullfire on June 22, 2003 2:43:40 PM]
your gonna have to give a little more info than that ...
Advertisement
Are you including WindowGL.h in blablabla......cpp ?

Sometimes it only takes a mouse to draw someone''s attention - Me, Crispy

"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
do you see the _ "underscore" in front of the Active variable it is bitching about .. that''s not your variable ... that''s one of it''s ...

Active and _Active are NOT the same variable

This topic is closed to new replies.

Advertisement