Makefile:137: target `Loader.o' given more than once in the same rule.
mipsel-linux-g++ -g -c -O -Ic:/s2dsdk/inc -Ic:/cygwin/mipseltools/include -I -mips32 -Wall -finline-functions -fomit-frame-pointer -msoft-float -fno-builtin -fno-exceptions -mno-abicalls -fno-pic -pipe -G 0 -D_DEBUG  -DMPU_JZ4740 -o GameEngine.o ./../Source/src/GameEngine.cpp
In file included from c:/s2dsdk/inc/s2d/base/inc/s2dbase_common.h:142,
                 from c:/s2dsdk/inc/s2d/base/inc/s2dbase.h:17,
                 from c:/s2dsdk/inc/s2d/s2d.h:15,
                 from ../Source/inc/Common.h:20,
                 from ../Source/inc/GameEngine.h:21,
                 from ../Source/src/GameEngine.cpp:17:
c:/cygwin/mipseltools/include/stdlib.h:92:9: warning: extra tokens at end of #endif directive
c:/cygwin/mipseltools/include/stdlib.h:92:18: warning: no newline at end of file
In file included from c:/s2dsdk/inc/s2d/base/inc/s2dbase_pixel.h:81,
                 from c:/s2dsdk/inc/s2d/base/inc/s2dbase.h:26,
                 from c:/s2dsdk/inc/s2d/s2d.h:15,
                 from ../Source/inc/Common.h:20,
                 from ../Source/inc/GameEngine.h:21,
                 from ../Source/src/GameEngine.cpp:17:
c:/s2dsdk/inc/s2d/base/inc/s2dbase_pixel.inl: In member function `void 
   s2d::Pixel::Blend_32(const s2d::Pixel&, unsigned char)':
c:/s2dsdk/inc/s2d/base/inc/s2dbase_pixel.inl:616: warning: comparison is always 
   true due to limited range of data type
In file included from ../Source/inc/GameEngine.h:21,
                 from ../Source/src/GameEngine.cpp:17:
../Source/inc/Common.h:28:21: warning: no newline at end of file
../Source/src/GameEngine.cpp: In member function `virtual void 
   GameEngine::Render()':
../Source/src/GameEngine.cpp:82: warning: unused variable `int r'
../Source/src/GameEngine.cpp:83: warning: unused variable `int g'
../Source/src/GameEngine.cpp:84: warning: unused variable `int b'
../Source/src/GameEngine.cpp: In member function `void 
   GameEngine::PlayMusic(unsigned int, bool)':
../Source/src/GameEngine.cpp:107: warning: comparison between signed and 
   unsigned integer expressions
../Source/src/GameEngine.cpp: In member function `void 
   GameEngine::PlaySound(unsigned int)':
../Source/src/GameEngine.cpp:125: warning: comparison between signed and 
   unsigned integer expressions
../Source/src/GameEngine.cpp: In member function `void GameEngine::LoadCfg()':
../Source/src/GameEngine.cpp:174: warning: unused variable `s32 Scene'
../Source/src/GameEngine.cpp:205:2: warning: no newline at end of file
mipsel-linux-g++ -g -c -O -Ic:/s2dsdk/inc -Ic:/cygwin/mipseltools/include -I -mips32 -Wall -finline-functions -fomit-frame-pointer -msoft-float -fno-builtin -fno-exceptions -mno-abicalls -fno-pic -pipe -G 0 -D_DEBUG  -DMPU_JZ4740 -o Loader.o ./../Source/src/Loader.cpp
../Source/src/Loader.cpp:17:21: windows.h: No such file or directory
../Source/src/Loader.cpp:18:19: tchar.h: No such file or directory
In file included from ../Source/src/Loader.cpp:19:
../Source/inc/Loader.h:17:9: warning: #pragma once is obsolete
In file included from c:/s2dsdk/inc/s2d/base/inc/s2dbase_common.h:142,
                 from c:/s2dsdk/inc/s2d/base/inc/s2dbase.h:17,
                 from c:/s2dsdk/inc/s2d/s2d.h:15,
                 from ../Source/inc/Loader.h:19,
                 from ../Source/src/Loader.cpp:19:
c:/cygwin/mipseltools/include/stdlib.h:92:9: warning: extra tokens at end of #endif directive
c:/cygwin/mipseltools/include/stdlib.h:92:18: warning: no newline at end of file
In file included from c:/s2dsdk/inc/s2d/base/inc/s2dbase_pixel.h:81,
                 from c:/s2dsdk/inc/s2d/base/inc/s2dbase.h:26,
                 from c:/s2dsdk/inc/s2d/s2d.h:15,
                 from ../Source/inc/Loader.h:19,
                 from ../Source/src/Loader.cpp:19:
c:/s2dsdk/inc/s2d/base/inc/s2dbase_pixel.inl: In member function `void 
   s2d::Pixel::Blend_32(const s2d::Pixel&, unsigned char)':
c:/s2dsdk/inc/s2d/base/inc/s2dbase_pixel.inl:616: warning: comparison is always 
   true due to limited range of data type
In file included from ../Source/inc/GameEngine.h:21,
                 from ../Source/src/Loader.cpp:20:
../Source/inc/Common.h:28:21: warning: no newline at end of file
../Source/src/Loader.cpp: At global scope:
../Source/src/Loader.cpp:25: error: parse error before `=' token
../Source/src/Loader.cpp:28: error: `HINSTANCE' was not declared in this scope
../Source/src/Loader.cpp:28: error: parse error before `)' token
../Source/src/Loader.cpp:28: error: 'BOOL' is used as a type, but is not 
   defined as a type.
../Source/src/Loader.cpp:29: error: parse error before `(' token
../Source/src/Loader.cpp:31: error: syntax error before `(' token
../Source/src/Loader.cpp:40: error: parse error before `if'
../Source/src/Loader.cpp:45: error: parse error before `=' token
../Source/src/Loader.cpp:46: error: parse error before `=' token
../Source/src/Loader.cpp:47: error: ISO C++ forbids declaration of `userdata' 
   with no type
../Source/src/Loader.cpp:47: error: conflicting types for `int userdata[0]'
../Source/src/Loader.cpp:44: error: previous declaration as `void*userdata[5]'
../Source/src/Loader.cpp:47: error: `g_hWnd' was not declared in this scope
../Source/src/Loader.cpp:48: error: ISO C++ forbids declaration of `userdata' 
   with no type
../Source/src/Loader.cpp:48: error: conflicting types for `int userdata[1]'
../Source/src/Loader.cpp:47: error: previous declaration as `int userdata[0]'
../Source/src/Loader.cpp:48: error: `hDC' was not declared in this scope
../Source/src/Loader.cpp:49: error: ISO C++ forbids declaration of `userdata' 
   with no type
../Source/src/Loader.cpp:49: error: conflicting types for `int userdata[2]'
../Source/src/Loader.cpp:48: error: previous declaration as `int userdata[1]'
../Source/src/Loader.cpp:49: error: `hFont' was not declared in this scope
../Source/src/Loader.cpp:50: error: ISO C++ forbids declaration of `userdata' 
   with no type
../Source/src/Loader.cpp:50: error: conflicting types for `int userdata[3]'
../Source/src/Loader.cpp:49: error: previous declaration as `int userdata[2]'
../Source/src/Loader.cpp:51: error: ISO C++ forbids declaration of `userdata' 
   with no type
../Source/src/Loader.cpp:51: error: conflicting types for `int userdata[4]'
../Source/src/Loader.cpp:50: error: previous declaration as `int userdata[3]'
../Source/src/Loader.cpp:53: error: ISO C++ forbids declaration of `g_pEng' 
   with no type
../Source/src/Loader.cpp:53: error: conflicting types for `int g_pEng'
../Source/src/Loader.cpp:26: error: previous declaration as `s2d::Engine*g_pEng
   '
../Source/src/Loader.cpp:53: error: no matching function for call to `
   GameEngine::GameEngine(int[4])'
../Source/inc/GameEngine.h:25: error: candidates are: 
   GameEngine::GameEngine(const GameEngine&)
../Source/inc/GameEngine.h:29: error:                 
   GameEngine::GameEngine(void**)
../Source/src/Loader.cpp:54: error: parse error before `if'
../Source/src/Loader.cpp:55: error: ISO C++ forbids declaration of `g_pEng' 
   with no type
../Source/src/Loader.cpp:55: error: redefinition of `int g_pEng'
../Source/src/Loader.cpp:53: error: `int g_pEng' previously defined here
../Source/src/Loader.cpp:55: error: parse error before `}' token
../Source/src/Loader.cpp:64: error: `msg' was not declared in this scope
../Source/src/Loader.cpp:64: error: ISO C++ forbids declaration of `
   DispatchMessage' with no type
../Source/src/Loader.cpp:65: error: parse error before `if'
../Source/src/Loader.cpp:67: error: ISO C++ forbids declaration of `
   PostQuitMessage' with no type
../Source/src/Loader.cpp:68: error: parse error before `break'
../Source/src/Loader.cpp:71: error: syntax error before `->' token
../Source/src/Loader.cpp:73: error: syntax error before `->' token
../Source/src/Loader.cpp:80: error: ISO C++ forbids declaration of `g_pEng' 
   with no type
../Source/src/Loader.cpp:80: error: redefinition of `int g_pEng'
../Source/src/Loader.cpp:55: error: `int g_pEng' previously defined here
../Source/src/Loader.cpp:80: error: parse error before `}' token
../Source/src/Loader.cpp:84: error: `HINSTANCE' was not declared in this scope
../Source/src/Loader.cpp:84: error: parse error before `,' token
../Source/src/Loader.cpp:88: error: syntax error before `.' token
../Source/src/Loader.cpp:89: error: syntax error before `.' token
../Source/src/Loader.cpp:90: error: syntax error before `.' token
../Source/src/Loader.cpp:91: error: syntax error before `.' token
../Source/src/Loader.cpp:92: error: syntax error before `.' token
../Source/src/Loader.cpp:93: error: syntax error before `.' token
../Source/src/Loader.cpp:94: error: syntax error before `.' token
../Source/src/Loader.cpp:95: error: syntax error before `.' token
../Source/src/Loader.cpp:96: error: syntax error before `.' token
../Source/src/Loader.cpp:97: error: syntax error before `.' token
../Source/src/Loader.cpp:98: error: `WndClass' was not declared in this scope
../Source/src/Loader.cpp:98: error: ISO C++ forbids declaration of `
   RegisterClass' with no type
../Source/src/Loader.cpp:100: error: ISO C++ forbids declaration of `g_hWnd' 
   with no type
../Source/src/Loader.cpp:100: error: `_T' was not declared in this scope
../Source/src/Loader.cpp:100: error: `_T' was not declared in this scope
../Source/src/Loader.cpp:100: error: `WS_OVERLAPPEDWINDOW' was not declared in 
   this scope
../Source/src/Loader.cpp:100: error: `hInstance' was not declared in this scope
../Source/src/Loader.cpp:100: error: `CreateWindow' was not declared in this 
   scope
../Source/src/Loader.cpp:102: error: `TRUE' was not declared in this scope
../Source/src/Loader.cpp:102: error: ISO C++ forbids declaration of `MoveWindow
   ' with no type
../Source/src/Loader.cpp:102: error: initializer list being treated as compound 
   expression
../Source/src/Loader.cpp:104: error: parse error before `if'
../Source/src/Loader.cpp:108: error: `nCmdShow' was not declared in this scope
../Source/src/Loader.cpp:108: error: ISO C++ forbids declaration of `ShowWindow
   ' with no type
../Source/src/Loader.cpp:108: error: initializer list being treated as compound 
   expression
../Source/src/Loader.cpp:109: error: ISO C++ forbids declaration of `
   UpdateWindow' with no type
../Source/src/Loader.cpp:111: error: ISO C++ forbids declaration of `ShowCursor
   ' with no type
../Source/src/Loader.cpp:113: error: 'HCURSOR' is used as a type, but is not 
   defined as a type.
../Source/src/Loader.cpp:115: error: ISO C++ forbids declaration of `hc' with 
   no type
../Source/src/Loader.cpp:115: error: `IDC_ARROW' was not declared in this scope
../Source/src/Loader.cpp:115: error: `LoadCursor' was not declared in this 
   scope
../Source/src/Loader.cpp:117: error: ISO C++ forbids declaration of `SetCursor' 
   with no type
../Source/src/Loader.cpp:119: error: parse error before `,' token
../Source/src/Loader.cpp:121: error: `rcCli' was not declared in this scope
../Source/src/Loader.cpp:121: error: ISO C++ forbids declaration of `
   GetClientRect' with no type
../Source/src/Loader.cpp:121: error: initializer list being treated as compound 
   expression
../Source/src/Loader.cpp:122: error: `rcWindow' was not declared in this scope
../Source/src/Loader.cpp:122: error: ISO C++ forbids declaration of `
   GetWindowRect' with no type
../Source/src/Loader.cpp:122: error: initializer list being treated as compound 
   expression
../Source/src/Loader.cpp:123: error: ISO C++ forbids declaration of `width' 
   with no type
../Source/src/Loader.cpp:123: error: redefinition of `int width'
../Source/src/Loader.cpp:120: error: `int width' previously declared here
../Source/src/Loader.cpp:123: error: `rcCli' was not declared in this scope
../Source/src/Loader.cpp:123: error: `rcCli' was not declared in this scope
../Source/src/Loader.cpp:124: error: parse error before `if'
../Source/src/Loader.cpp:126: error: ISO C++ forbids declaration of `height' 
   with no type
../Source/src/Loader.cpp:126: error: redefinition of `int height'
../Source/src/Loader.cpp:120: error: `int height' previously declared here
../Source/src/Loader.cpp:126: error: `rcCli' was not declared in this scope
../Source/src/Loader.cpp:126: error: `rcCli' was not declared in this scope
../Source/src/Loader.cpp:127: error: parse error before `if'
../Source/src/Loader.cpp:130: error: `rcWindow' was not declared in this scope
../Source/src/Loader.cpp:130: error: `rcWindow' was not declared in this scope
../Source/src/Loader.cpp:130: error: `rcWindow' was not declared in this scope
../Source/src/Loader.cpp:130: error: `rcWindow' was not declared in this scope
../Source/src/Loader.cpp:130: error: `rcWindow' was not declared in this scope
../Source/src/Loader.cpp:130: error: `rcWindow' was not declared in this scope
../Source/src/Loader.cpp:130: error: ISO C++ forbids declaration of `MoveWindow
   ' with no type
../Source/src/Loader.cpp:130: error: redefinition of `int MoveWindow'
../Source/src/Loader.cpp:102: error: `int MoveWindow' previously defined here
../Source/src/Loader.cpp:130: error: initializer list being treated as compound 
   expression
../Source/src/Loader.cpp:132: error: parse error before `return'
../Source/src/Loader.cpp:137: error: parse error before `(' token
../Source/src/Loader.cpp:141: error: parse error before `switch'
../Source/src/Loader.cpp:148: error: syntax error before `->' token
../Source/src/Loader.cpp:152: error: syntax error before `->' token
../Source/src/Loader.cpp:156: error: syntax error before `->' token
../Source/src/Loader.cpp:160: error: syntax error before `->' token
../Source/src/Loader.cpp: In function `void 
   __static_initialization_and_destruction_0(int, int)':
../Source/src/Loader.cpp:51: warning: statement with no effect
{standard input}: Assembler messages:
{standard input}:71: Error: symbol `g_pEng' is already defined
{standard input}:92: Error: symbol `g_pEng' is already defined
{standard input}:184: Error: symbol `width' is already defined
{standard input}:191: Error: symbol `height' is already defined
{standard input}:198: Error: symbol `MoveWindow' is already defined
make: *** [Loader.o] Error 1
