09-04-2004, 04:25 PM | #1 (permalink) |
Junkie
|
C++ compile problem
I'm trying to compile my program but I have a problem and am wondering if anyone knows a way around it.
I'm using a class that is found inside a percompiled library. I'm linking to the library but the compiler doesn't recognize the class name and member functions. Is there a way to tell the compiler that this class will be difined via linking? (there is no header for this class) I can give you more info if you need it. |
09-04-2004, 06:09 PM | #3 (permalink) |
Junkie
|
Actually I don't think that would work, the writers of the library did something very strange. (The library is GLUI for openGL) They have a very large hiarchy of classes and instead of including the class headers in related files they would declare an empty class with the same name as the one in other files and then just make a pointer to that class in the higher classes. I probably didn't explain it very well, but it doesn't matter anyway because the member functions didn't behave the way I wanted. So now I just took a few of the files from the librarys source and customized them and included them locally.
|
09-05-2004, 10:44 AM | #4 (permalink) | |
Upright
|
No header? Odd...
Quote:
|
|
Tags |
compile, problem |
|
|