Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

wxwidgets build.sop.txt 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. https://wiki.wxwidgets.org/WxWidgets_Build_Configurations
  2. in dir C:\wxWidgets-3.0.4\build\msw
  3. 64bit wx build:
  4. mingw32-make SHELL=CMD.exe -f makefile.gcc BUILD=release UNICODE=1 SHARED=0 CXXFLAGS="-std=gnu++11"
  5. in dir C:\wxWidgets-3.0.4x32\build\msw
  6. 32bit wx compile:
  7. mingw32-make.exe -f makefile.gcc BUILD=release CPP="gcc -E -D_M_IX86 -m32" LDFLAGS="-m32" CPPFLAGS="-m32" WINDRES="windres --use-temp-file -F pe-i386" UNICODE=1 SHARED=0 CXXFLAGS="-m32 -fno-keep-inline-dllexport -std=gnu++11"
  8. ---------------------------------------
  9. ******************
  10. FIX TIFF ERROR 32/64 bit
  11. ******************
  12. in wx\src\tiff\libtiff\tif_config.h:
  13. CHANGE:
  14. /* MSVC 14 does have snprintf() and doesn't allow defining it */
  15. #if !defined(_MSC_VER) || _MSC_VER < 1900
  16. # define snprintf _snprintf
  17. #endif
  18. to:
  19. /* MSVC 14 does have snprintf() and doesn't allow defining it. Also MinGW32
  20. starting with GCC 6.3 has changed _snprintf so that it is no longer suitable.
  21. It does have snprintf, so just use it. */
  22. #if defined (__MINGW32__) && (__GNUC__ > 6 || (__GNUC__ == 6 && __GNUC_MINOR__ > 2))
  23. /* do nothing*/
  24. #elif !defined(_MSC_VER) || _MSC_VER < 1900
  25. # define snprintf _snprintf
  26. #endif
  27. -----------------------------------------
  28. ---------------------------------------
  29. ***************************************
  30. TO COMPILE CODEDWELLER WITH -std=gnu++11
  31. ***************************************
  32. add winerror include here in networking.cpp
  33. networking.cpp:
  34. //// Platform Specific Stuff ///////////////////////////////////////////////////
  35. #if defined(WIN32) || defined(WIN64)
  36. #include "winerror.h" // <--- line to add
  37. in /CodeDweller:
  38. g++ -std=gnu++11 -c *.cpp //add -m32 if 32bit
  39. ar rvs libCodedweller.a *.o