User forums > Using Code::Blocks
I can't use statics function and variables in my classes...
(1/1)
blend:
Hello,
I use Code::Blocks Nyghtly Builds rev 3849 on Ubuntu 7.04, and I can't use statics functions or variables in my classes: the build log say 'undefined reference to `my_class::my_static_fonction_or_variable`' and yet i correctly coded my algorithm :( (the algorithm is correctly build on Dev Cpp...)....
How can I solve this problem?
Thanks.
Biplab:
C::B is an IDE, Not a compiler. So it's the compiler who is complaining about your Code not C::B.
Check which compiler settings or libraries or other stuff missing and fix it accordingly.
Navigation
[0] Message Index
Go to full version