VisualStudio.txt 1.4 KB

123456789101112131415161718192021222324252627282930
  1. 1. Start from readme.txt
  2. If you are using the Oxygine All-In-One version with SDL included, you can skip #2
  3. and just go to any example and open it right away
  4. 2. There are prebuilt example solutions for VS2010+
  5. =================================================================================================
  6. - Build SDL:
  7. - Go to folder SDL\VisualC\
  8. - Open SDL.sln and build it in Release configration
  9. - Go to folder SDL\VisualC\Win32\Release\
  10. - and copy SDL2.lib, SDL2main.lib and SDL2.dll to oxygine-framework/libs
  11. - Go to oxygine-framework\examples and choose any example, for example "Demo"
  12. - Open the solution located in oxygine-framework\examples\Demo\proj.win32\
  13. - Try to build the Demo
  14. - Copy all dlls from oxygine-framework\oxygine\third_party\win32\dlls\
  15. and SDL2.dll from oxygine-framework/libs
  16. to: oxygine-framework\examples\Demo\data\
  17. - The working directory of the Demo project should point to the "../data" folder (right mouse-click on the "Demo" Project -> Properties -> "Configuration Properties" -> Debugging -> "Working Directory")
  18. - ready! run!
  19. =================================================================================================
  20. 3. You can generate your own Solution anywhere you want:
  21. - You need Python 2.7 installed
  22. - you need to run this script
  23. oxygine-framework\tools\gen_template.py
  24. example:
  25. python gen_template.py MyProject -t win32 -d path/to/MyProject/