JPeterson

wxcode

Oct 10th, 2012
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.95 KB | None | 0 0
  1. # Create MSYS environment from commands in http://pastebin.com/eJEWjteL
  2.  
  3. svn co https://wxcode.svn.sourceforge.net/svnroot/wxcode/trunk/wxCode/components/wxrarinputstream && cd wxrarinputstream/build && export WXWIN=/c/Files/Source/Libraries/wxWidgets/ && mingw32-make -fmakefile.gcc WX_SHARED=1 WX_UNICODE=1 WX_DEBUG=0 WX_VERSION=29 2>&1|tee make.log
  4.  
  5. if not exist ..\lib\gcc_lib mkdir ..\lib\gcc_lib
  6. g++ -c -o gccmswu\rarinputstream_lib_rarstream.o -DHAVE_W32API_H -DWXUSINGDLL -D_UNICODE  -D__WXMSW__ -Ic:/Files/Source/Libraries/wxWidgets/\lib\gcc_dll\mswu -Ic:/Files/Source/Libraries/wxWidgets/\include -O2  -W -Wall -I..\include  -DFILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRARDLL -DSILENT   -MTgccmswu\rarinputstream_lib_rarstream.o -MFgccmswu\rarinputstream_lib_rarstream.o.d -MD -MP ../src/common/rarstream.cpp
  7. g++ -c -o gccmswu\rarinputstream_lib_arccmt.o -DHAVE_W32API_H -DWXUSINGDLL -D_UNICODE  -D__WXMSW__ -Ic:/Files/Source/Libraries/wxWidgets/\lib\gcc_dll\mswu -Ic:/Files/Source/Libraries/wxWidgets/\include -O2  -W -Wall -I..\include  -DFILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRARDLL -DSILENT   -MTgccmswu\rarinputstream_lib_arccmt.o -MFgccmswu\rarinputstream_lib_arccmt.o.d -MD -MP ../src/unrar/arccmt.cpp
  8. g++ -c -o gccmswu\rarinputstream_lib_archive.o -DHAVE_W32API_H -DWXUSINGDLL -D_UNICODE  -D__WXMSW__ -Ic:/Files/Source/Libraries/wxWidgets/\lib\gcc_dll\mswu -Ic:/Files/Source/Libraries/wxWidgets/\include -O2  -W -Wall -I..\include  -DFILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRARDLL -DSILENT   -MTgccmswu\rarinputstream_lib_archive.o -MFgccmswu\rarinputstream_lib_archive.o.d -MD -MP ../src/unrar/archive.cpp
  9. g++ -c -o gccmswu\rarinputstream_lib_arcread.o -DHAVE_W32API_H -DWXUSINGDLL -D_UNICODE  -D__WXMSW__ -Ic:/Files/Source/Libraries/wxWidgets/\lib\gcc_dll\mswu -Ic:/Files/Source/Libraries/wxWidgets/\include -O2  -W -Wall -I..\include  -DFILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRARDLL -DSILENT   -MTgccmswu\rarinputstream_lib_arcread.o -MFgccmswu\rarinputstream_lib_arcread.o.d -MD -MP ../src/unrar/arcread.cpp
  10. g++ -c -o gccmswu\rarinputstream_lib_beosea.o -DHAVE_W32API_H -DWXUSINGDLL -D_UNICODE  -D__WXMSW__ -Ic:/Files/Source/Libraries/wxWidgets/\lib\gcc_dll\mswu -Ic:/Files/Source/Libraries/wxWidgets/\include -O2  -W -Wall -I..\include  -DFILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRARDLL -DSILENT   -MTgccmswu\rarinputstream_lib_beosea.o -MFgccmswu\rarinputstream_lib_beosea.o.d -MD -MP ../src/unrar/beosea.cpp
  11. g++ -c -o gccmswu\rarinputstream_lib_cmddata.o -DHAVE_W32API_H -DWXUSINGDLL -D_UNICODE  -D__WXMSW__ -Ic:/Files/Source/Libraries/wxWidgets/\lib\gcc_dll\mswu -Ic:/Files/Source/Libraries/wxWidgets/\include -O2  -W -Wall -I..\include  -DFILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRARDLL -DSILENT   -MTgccmswu\rarinputstream_lib_cmddata.o -MFgccmswu\rarinputstream_lib_cmddata.o.d -MD -MP ../src/unrar/cmddata.cpp
  12. g++ -c -o gccmswu\rarinputstream_lib_coder.o -DHAVE_W32API_H -DWXUSINGDLL -D_UNICODE  -D__WXMSW__ -Ic:/Files/Source/Libraries/wxWidgets/\lib\gcc_dll\mswu -Ic:/Files/Source/Libraries/wxWidgets/\include -O2  -W -Wall -I..\include  -DFILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRARDLL -DSILENT   -MTgccmswu\rarinputstream_lib_coder.o -MFgccmswu\rarinputstream_lib_coder.o.d -MD -MP ../src/unrar/coder.cpp
  13. ../src/unrar/arccmt.cpp:1:6: error: 'Archive' has not been declared
  14. ../src/unrar/arccmt.cpp:1:26: error: 'Array' was not declared in this scope
  15. ../src/unrar/arccmt.cpp:1:32: error: 'byte' was not declared in this scope
  16. ../src/unrar/arccmt.cpp:1:39: error: 'CmtData' was not declared in this scope
  17. ../src/unrar/arccmt.cpp:2:1: error: expected ',' or ';' before '{' token
  18. In file included from ../src/unrar/rar.hpp:5:0,
  19.                  from ../src/unrar/arcread.cpp:1:
  20. ../src/unrar/os.hpp:58:19: fatal error: new.h: No such file or directory
  21. compilation terminated.
  22. In file included from ../src/unrar/rar.hpp:5:0,
  23.                  from ../src/unrar/archive.cpp:1:
  24. ../src/unrar/os.hpp:58:19: fatal error: new.h: No such file or directory
  25. compilation terminated.
  26. ../src/unrar/coder.cpp:3:21: error: 'RangeCoder' has not been declared
  27. ../src/unrar/coder.cpp: In function 'unsigned int GetChar()':
  28. ../src/unrar/coder.cpp:5:10: error: 'UnpackRead' was not declared in this scope
  29. ../src/unrar/coder.cpp: At global scope:
  30. ../src/unrar/coder.cpp:9:6: error: 'RangeCoder' has not been declared
  31. ../src/unrar/coder.cpp:9:30: error: variable or field 'InitDecoder' declared void
  32. ../src/unrar/coder.cpp:9:30: error: 'Unpack' was not declared in this scope
  33. ../src/unrar/coder.cpp:9:38: error: 'UnpackRead' was not declared in this scope
  34. ../src/unrar/coder.cpp:31:12: error: 'RangeCoder' has not been declared
  35. ../src/unrar/coder.cpp: In function 'int GetCurrentCount()':
  36. ../src/unrar/coder.cpp:33:11: error: 'code' was not declared in this scope
  37. ../src/unrar/coder.cpp:33:16: error: 'low' was not declared in this scope
  38. ../src/unrar/coder.cpp:33:22: error: 'range' was not declared in this scope
  39. ../src/unrar/coder.cpp:33:31: error: 'SubRange' was not declared in this scope
  40. ../src/unrar/coder.cpp: At global scope:
  41. ../src/unrar/coder.cpp:37:8: error: 'uint' does not name a type
  42. ../src/unrar/coder.cpp:43:13: error: 'RangeCoder' has not been declared
  43. ../src/unrar/coder.cpp: In function 'void Decode()':
  44. ../src/unrar/coder.cpp:45:3: error: 'low' was not declared in this scope
  45. ../src/unrar/coder.cpp:45:10: error: 'range' was not declared in this scope
  46. ../src/unrar/coder.cpp:45:16: error: 'SubRange' was not declared in this scope
  47. makefile.gcc:349: recipe for target 'gccmswu\rarinputstream_lib_arccmt.o' failed
  48. mingw32-make: *** [gccmswu\rarinputstream_lib_arccmt.o] Error 1
  49. mingw32-make: *** Waiting for unfinished jobs....
  50. makefile.gcc:355: recipe for target 'gccmswu\rarinputstream_lib_arcread.o' failed
  51. mingw32-make: *** [gccmswu\rarinputstream_lib_arcread.o] Error 1
  52. ../src/unrar/beosea.cpp:3:18: error: variable or field 'ExtractBeEA' declared void
  53. ../src/unrar/beosea.cpp:3:18: error: 'Archive' was not declared in this scope
  54. ../src/unrar/beosea.cpp:3:27: error: 'Arc' was not declared in this scope
  55. ../src/unrar/beosea.cpp:3:31: error: expected primary-expression before 'char'
  56. makefile.gcc:352: recipe for target 'gccmswu\rarinputstream_lib_archive.o' failed
  57. mingw32-make: *** [gccmswu\rarinputstream_lib_archive.o] Error 1
  58. makefile.gcc:364: recipe for target 'gccmswu\rarinputstream_lib_coder.o' failed
  59. mingw32-make: *** [gccmswu\rarinputstream_lib_coder.o] Error 1
  60. makefile.gcc:358: recipe for target 'gccmswu\rarinputstream_lib_beosea.o' failed
  61. mingw32-make: *** [gccmswu\rarinputstream_lib_beosea.o] Error 1
  62. In file included from ../src/unrar/rar.hpp:5:0,
  63.                  from ../src/unrar/cmddata.cpp:1:
  64. ../src/unrar/os.hpp:58:19: fatal error: new.h: No such file or directory
  65. compilation terminated.
  66. makefile.gcc:361: recipe for target 'gccmswu\rarinputstream_lib_cmddata.o' failed
  67. mingw32-make: *** [gccmswu\rarinputstream_lib_cmddata.o] Error 1
  68. ../src/common/rarstream.cpp: In constructor 'wxRarInputStream::wxRarInputStream(const wxChar*)':
  69. ../src/common/rarstream.cpp:67:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  70. ../src/common/rarstream.cpp: In member function 'bool wxRarInputStream::OpenNextFile()':
  71. ../src/common/rarstream.cpp:100:58: error: 'wxMessageBox' was not declared in this scope
  72. ../src/common/rarstream.cpp: In member function 'bool wxRarInputStream::ExtractFile(const char*, const char*)':
  73. ../src/common/rarstream.cpp:117:62: error: 'wxMessageBox' was not declared in this scope
  74. ../src/common/rarstream.cpp: At global scope:
  75. ../src/common/rarstream.cpp:124:6: warning: unused parameter 'szFileName' [-Wunused-parameter]
  76. ../src/common/rarstream.cpp:129:6: warning: unused parameter 'Info' [-Wunused-parameter]
  77. ../src/common/rarstream.cpp:134:8: warning: unused parameter 'buffer' [-Wunused-parameter]
  78. ../src/common/rarstream.cpp:134:8: warning: unused parameter 'bufsize' [-Wunused-parameter]
  79. makefile.gcc:346: recipe for target 'gccmswu\rarinputstream_lib_rarstream.o' failed
  80. mingw32-make: *** [gccmswu\rarinputstream_lib_rarstream.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment