QuickGUI 10.8 not compiling

glethien

20-09-2011 21:04:59

As written in the topic I can't compile QuickGui on Ubuntu 11.04
Seems there are errors with QuickGUITimer.h and QuickGUITimer.cpp

before "sudo make" I do "sudo cmake ."

julius@Notebook:~/Desktop/QuickGUI$ sudo make
[ 2%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUISkinEffectReference.o
[ 4%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUIStringConverter.o
[ 6%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUITextLine.o
[ 8%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUIWindow.o
[ 10%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUITitleBar.o
[ 12%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUIMessageManager.o
[ 14%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUIInterface.o
[ 16%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUIMessageHandler.o
[ 18%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUITextCursor.o
[ 20%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUIXMLData.o
[ 22%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUISkinReference.o
[ 25%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUIWidget.o
[ 27%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUILog.o
[ 29%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUISkinElement.o
[ 31%] Building CXX object CMakeFiles/QuickGUI.dir/QuickGUITimer.o
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp: In constructor ‘QuickGUI::Timer::Timer()’:
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:38:5: error: class ‘QuickGUI::Timer’ does not have any field named ‘mTimerMask’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp: At global scope:
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:49:7: error: redefinition of ‘bool QuickGUI::Timer::setOption(const std::string&, const void*)’
/home/julius/Desktop/QuickGUI/QuickGUILINUXTimerImp.h:64:14: error: ‘bool QuickGUI::Timer::setOption(const std::string&, const void*)’ previously defined here
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp: In member function ‘void QuickGUI::Timer::reset()’:
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:84:3: error: ‘DWORD_PTR’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:84:13: error: expected ‘;’ before ‘procMask’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:85:13: error: expected ‘;’ before ‘sysMask’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:86:44: error: ‘GetCurrentProcess’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:86:48: error: ‘procMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:86:59: error: ‘sysMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:86:66: error: ‘GetProcessAffinityMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:94:7: error: ‘mTimerMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:103:3: error: ‘HANDLE’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:103:10: error: expected ‘;’ before ‘thread’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:106:13: error: expected ‘;’ before ‘oldMask’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:109:30: error: ‘mFrequency’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:109:40: error: ‘QueryPerformanceFrequency’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:112:28: error: ‘mStartTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:112:38: error: ‘QueryPerformanceCounter’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:113:3: error: ‘mStartTick’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:113:29: error: ‘GetTickCount’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:116:25: error: ‘thread’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:116:33: error: ‘oldMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:116:40: error: ‘SetThreadAffinityMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:118:3: error: ‘mLastTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:119:3: error: ‘mZeroClock’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp: In member function ‘long unsigned int QuickGUI::Timer::getMilliseconds()’:
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:125:3: error: ‘LARGE_INTEGER’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:125:17: error: expected ‘;’ before ‘curTime’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:127:3: error: ‘HANDLE’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:127:10: error: expected ‘;’ before ‘thread’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:130:3: error: ‘DWORD’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:130:9: error: expected ‘;’ before ‘oldMask’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:133:28: error: ‘curTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:133:35: error: ‘QueryPerformanceCounter’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:136:25: error: ‘thread’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:136:33: error: ‘oldMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:136:40: error: ‘SetThreadAffinityMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:138:3: error: ‘LONGLONG’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:138:12: error: expected ‘;’ before ‘newTime’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:141:52: error: ‘newTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:141:62: error: ‘mFrequency’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:145:38: error: ‘GetTickCount’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:145:42: error: ‘mStartTick’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:150:13: error: expected ‘;’ before ‘adjust’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:151:4: error: ‘mStartTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:151:27: error: ‘adjust’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:159:3: error: ‘mLastTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp: In member function ‘long unsigned int QuickGUI::Timer::getMicroseconds()’:
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:167:3: error: ‘LARGE_INTEGER’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:167:17: error: expected ‘;’ before ‘curTime’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:169:3: error: ‘HANDLE’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:169:10: error: expected ‘;’ before ‘thread’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:172:3: error: ‘DWORD’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:172:9: error: expected ‘;’ before ‘oldMask’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:175:28: error: ‘curTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:175:35: error: ‘QueryPerformanceCounter’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:178:25: error: ‘thread’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:178:33: error: ‘oldMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:178:40: error: ‘SetThreadAffinityMask’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:180:3: error: ‘LONGLONG’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:180:12: error: expected ‘;’ before ‘newTime’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:183:52: error: ‘newTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:183:62: error: ‘mFrequency’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:187:38: error: ‘GetTickCount’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:187:42: error: ‘mStartTick’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:192:13: error: expected ‘;’ before ‘adjust’
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:193:4: error: ‘mStartTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:193:27: error: ‘adjust’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:198:3: error: ‘mLastTime’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp: In member function ‘long unsigned int QuickGUI::Timer::getMillisecondsCPU()’:
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:210:47: error: ‘mZeroClock’ was not declared in this scope
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp: In member function ‘long unsigned int QuickGUI::Timer::getMicrosecondsCPU()’:
/home/julius/Desktop/QuickGUI/QuickGUITimer.cpp:217:47: error: ‘mZeroClock’ was not declared in this scope
make[2]: *** [CMakeFiles/QuickGUI.dir/QuickGUITimer.o] Error 1
make[1]: *** [CMakeFiles/QuickGUI.dir/all] Error 2
make: *** [all] Error 2


How can I fix it?