News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

I can't use statics function and variables in my classes...

Started by blend, April 19, 2007, 11:58:30 AM

Previous topic - Next topic

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.
Be a part of the solution, not a part of the problem.