Author Topic: 'Bitmap' was not declared in this scope.. why?  (Read 5002 times)

Offline temporaryavailable

  • Single posting newcomer
  • *
  • Posts: 2
'Bitmap' was not declared in this scope.. why?
« on: July 28, 2010, 10:59:37 am »
Why does this happen?
And why am i the only one experiencing this?
I googled but found nothing.
Someone help please.. :?

edit: OS i am using is XP sp3
edit2: this is the code producing the error:

Bitmap myBitmap;

duh
« Last Edit: July 28, 2010, 12:27:53 pm by temporaryavailable »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: 'Bitmap' was not declared in this scope.. why?
« Reply #1 on: July 28, 2010, 11:03:45 am »
Your post does not give any information about your system.
That violates our forum rules.

And it looks like your problem is not related to C::B, but your configuration or compiler.
This is another violation of our forum rules.

Our forum is dedicated to C::B related questions only.

Offline temporaryavailable

  • Single posting newcomer
  • *
  • Posts: 2
Re: 'Bitmap' was not declared in this scope.. why?
« Reply #2 on: July 28, 2010, 11:18:17 am »
Im sorry if im breaking rules i just registered..
I just edited my post with the OS information. Please specify any other info that is needed and i will promptly provide it.

I understand this looks like a C::B non-related problem but then please tell me what im missing please  :(

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: 'Bitmap' was not declared in this scope.. why?
« Reply #3 on: July 29, 2010, 07:03:30 am »
I understand this looks like a C::B non-related problem but then please tell me what im missing please  :(
As this can be anything (Bitmap class of ANY SDK) nobody can tell you unless you precisely tell us what OS, SDK's you use and post more than a one-liner - e.g. the whole program.

However, as Jens said - this is not supported in our forum as it is not related to C::B. So please ask this question e.g. in a C++ related forum (e.g. http://www.cplusplus.com/forum or see here: http://lmgtfy.com/?q=C%2B%2B+forum) with ALL information as stated above. Alternatively if you know from what SDK "Bitmap" comes from, find a forum related to that SDK.

Topic locked.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ