Advertisement
Guest User

Building Opera 12.15 with VS2010

a guest
Jan 15th, 2017
625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. Install:
  2. - VS2010
  3. - VS2010 Service Pack 1
  4. - vsyasm 1.2.0 (NOT 1.3.0 - it has a major bug, but 1.2.0 doesn't - make sure to read the readme to see how to install it)
  5. - Python 2.7 (make sure its added to your PATH)
  6. - Perl 5 (ditto above)
  7. - Pike 7.8.352 (might be hard to find, I got it by searching for "pike-v7.8.352-win32.msi")
  8. - (Also make sure you add Pikes bin folder to your systems PATH manually, the installer won't do it)
  9.  
  10. Now open a command prompt at the root of the opera source, and run the following commands to generate all the source files (edit the <PATH-TO-SOURCE-ROOT> in the first line to the full path to the source's root)
  11.  
  12. python modules/hardcore/scripts/operasetup.py -I<PATH-TO-SOURCE-ROOT> -DMSWIN=1 -DSELFTEST=1 --platform_product_config=platforms/windows/config.h --makelang_db=data/strings/english.db --makelang_db=adjunct/quick/english_local.db --makelang_opt=-E --mainline_configuration=current
  13.  
  14. (above command might error at the end about a pch.h file, just ignore it)
  15.  
  16. python modules/hardcore/scripts/sourcessetup.py --ignore-missing-sources
  17.  
  18. python platforms/windows/vcxproj_update.py
  19.  
  20. (note: I'm not sure if these are the 'proper' commands you're meant to use, but running these worked for me and generated all the files needed to build, YMMV)
  21.  
  22. Once all of those have completed open up VS2010 and then open the platforms/windows/Opera_vs2010.sln file (you have to open it from inside VS2010, double clicking the sln file didn't seem to work for me) and then choose your build type, platform, and hit build!
  23.  
  24. Some projects might error because libcurl isn't included with the source, but those aren't critical Opera projects, so don't worry about it :)
  25.  
  26. (note: for the first time you might have to build twice for it to finish building properly)
  27.  
  28. After alls said and done you should end up with a compiled Opera.dll and Opera.exe, just copy those over a 12.15 install and enjoy your homebrew Opera ^^
  29.  
  30. - Xam
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement