Bug #17344 2010-07-08 14:10

heri60

error: expected class-name before '{' token

I tried to load examples (.cbp) from the of_preRelease_v0061_win_cb and every debugging ends up with Build messages of this kind:

I do not know, where it is based (linker, compiler, ??)

system: Windows 7 64bit
codeblocks 10.5
compiler: x86_64-w64-mingw32-c++.exe (and the others)

in case of loading soundPlayerExample:

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

Sorry, I am Newby! Heri
Category
Debugger
Group
 
Status
Open
Close date
 
Assigned to