• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 175 176 177 178 179 ... 369 Next »

vs 2012 can not generate the X64?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
vs 2012 can not generate the X64?
03-06-2013, 05:36 AM
#7
alenofx
Unregistered
 
I've built the current master branch for x64 using visual studio 2012 on Windows 8, but unfortunately some problems remains.

To fix the locks errors the _WIN32_WINNT macro needs to be >= 0x0600 (Windows Vista or newer, see http://msdn.microsoft.com/en-us/library/windows/desktop/aa383745.aspx for values);
I've also added the include to OpenALStream.cpp (mem_fun not found) and disabled portaudio (ksguid.lib not found).

Unfortunately, "VirtualAlloc" returns a pointer with a very high address (here the "Executable memory ended up above 2GB!" error); this can be fixed using the "/LARGEADDRESSAWARE:NO" linker option, but still some pointers are >2GB and it will lead to the "BackPatch : Currently only supporting reads." errors during emulation.

Also, the current x64 vs2010 build has the LARGEADDRESSAWARE option enabled, so I don't know if it's caused by a different behavior in the Windows SDK for Windows 8 or a misconfiguration in the project.

*** UPDATE ***
The problem seems related to the address space layout randomization enabled for Windows Vista and newer.
It needs to be disabled with the "/DYNAMICBASE:NO" linker option, while LARGEADDRESSAWARE needs to be left enabled.

All working fine now. Big Grin
Reply
« Next Oldest | Next Newest »


Messages In This Thread
vs 2012 can not generate the X64? - Myoko - 12-14-2012, 07:27 PM
RE: vs 2012 can not generate the X64? - DefenderX - 12-14-2012, 10:29 PM
RE: vs 2012 can not generate the X64? - Myoko - 12-14-2012, 11:46 PM
RE: vs 2012 can not generate the X64? - DefenderX - 12-15-2012, 12:21 AM
RE: Visual Studio 2012 can not generate the X64? - Myoko - 12-15-2012, 12:50 AM
RE: vs 2012 can not generate the X64? - Myoko - 12-16-2012, 12:25 PM
RE: vs 2012 can not generate the X64? - alenofx - 03-06-2013, 05:36 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode