Author Topic: Newby: Build message error with C::B example  (Read 2001 times)

Offline heriwhy

  • Single posting newcomer
  • *
  • Posts: 3
Newby: Build message error with C::B example
« on: July 08, 2010, 01:26:56 pm »
Dont know, if this is the right place:

I installed C::B and mingW on Windows7 (no problems) If I open an example Project (soundPlayerExample) and debug the project it ends up with that:

||=== soundPlayerExample, debug ===|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.h|7|error: expected class-name before '{' token|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.h|23|error: 'ofSoundPlayer' does not name a type|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.h|24|error: 'ofSoundPlayer' does not name a type|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.h|25|error: 'ofSoundPlayer' does not name a type|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.h|27|error: 'ofTrueTypeFont' does not name a type|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp||In member function 'void testApp::setup()':|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|5|error: 'synth' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|6|error: 'beats' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|7|error: 'vocals' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|11|error: 'font' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp||In member function 'void testApp::update()':|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|19|error: 'ofBackground' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|22|error: 'ofSoundUpdate' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp||In member function 'void testApp::draw()':|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|32|error: 'ofGetWidth' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|33|error: 'ofSetColor' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|34|error: 'ofGetHeight' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|34|error: 'ofRect' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|42|error: 'synth' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|44|error: 'font' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|47|error: 'synth' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|47|error: 'sprintf' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|48|error: 'ofDrawBitmapString' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|53|error: 'beats' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|58|error: 'beats' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|62|error: 'vocals' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|67|error: 'vocals' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp||In member function 'void testApp::mouseDragged(int, int, int)':|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|90|error: 'ofGetWidth' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|92|error: 'beats' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|92|error: 'ofGetHeight' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp||In member function 'void testApp::mousePressed(int, int, int)':|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|99|error: 'ofGetWidth' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|102|error: 'synth' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|103|error: 'ofGetHeight' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|106|error: 'beats' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|108|error: 'vocals' was not declared in this scope|
C:\Users\Ton SKALA\Documents\of_preRelease_v0061_win_cb\apps\examples\soundPlayerExample\src\testApp.cpp|109|error: 'ofGetHeight' was not declared in this scope|
||=== Build finished: 33 errors, 0 warnings ===|


I dont have any idea where this is founded. I persume, it might be a linker problem, but where could it be?

Thanks in advance for a little help! Heri

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Newby: Build message error with C::B example
« Reply #1 on: July 08, 2010, 01:33:48 pm »
This is neither a C::B but configuration problem, nor is it a C::B example, so your post violates our forum rules.

This is not a general programming forum !!

Please ask the question in a forum, mailing list or whatever on the site, where you get your example from.

Topic locked !