This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rpcs3 compilation issue
#1
Hello. I'm trying to compile rpcs3 on Windows 8.1 with Visual Studio 2015 but no luck. There is an error in file /Emu/Memory/vm.cpp at line 241 pred = [exception = std::current_exception()]() -> bool
Operator() must return a value.
If anyone could help please. Thanks in advance!
Reply
#2
Are you using Visual Studio 2015 with Update 1?
Reply
#3
(01-26-2016, 09:34 PM)flashmozzg Wrote: Are you using Visual Studio 2015 with Update 1?
Oh. Yeah, that may be a problem. I haven't updated it in a while. Just to be sure, you CAN compile on Windows 8.1 right?
Reply
#4
(01-27-2016, 05:44 AM)MrComputerRevo Wrote:
(01-26-2016, 09:34 PM)flashmozzg Wrote: Are you using Visual Studio 2015 with Update 1?
Oh. Yeah, that may be a problem. I haven't updated it in a while. Just to be sure, you CAN compile on Windows 8.1 right?

Yes you can. You just need the Update 1.
Reply
#5
That got rid of that error. But now there are 2 linker errors about not finding LLVMMCJIT.lib and asmjit.lib. But its still linking so maybe it's fine?
EDIT: No, it wasn't fine... But I built asmjit separately and now trying again.
EDIT2: Successfully compiled. Thanks for your answers!
Reply
#6
Also, uhm. Slightly off topic but for some reason Windows 10 is slower for me at recompiling SPU functions than 8.1. In 8.1 it takes 2-3 seconds and in 10 it takes more than 10 sometimes... Hardware is the same. Why is that?
Reply
#7
(01-28-2016, 05:35 AM)MrComputerRevo Wrote: Also, uhm. Slightly off topic but for some reason Windows 10 is slower for me at recompiling SPU functions than 8.1. In 8.1 it takes 2-3 seconds and in 10 it takes more than 10 sometimes... Hardware is the same. Why is that?

You probably shouldn't be using it. It's kind of known to be sometimes slower and possibly inaccurate.
Reply
#8
(01-28-2016, 05:37 AM)tambre Wrote:
(01-28-2016, 05:35 AM)MrComputerRevo Wrote: Also, uhm. Slightly off topic but for some reason Windows 10 is slower for me at recompiling SPU functions than 8.1. In 8.1 it takes 2-3 seconds and in 10 it takes more than 10 sometimes... Hardware is the same. Why is that?

You probably shouldn't be using it. It's kind of known to be sometimes slower and possibly inaccurate.
Oh, is PPU recompiled any better?
Reply
#9
(01-28-2016, 05:57 AM)MrComputerRevo Wrote:
(01-28-2016, 05:37 AM)tambre Wrote:
(01-28-2016, 05:35 AM)MrComputerRevo Wrote: Also, uhm. Slightly off topic but for some reason Windows 10 is slower for me at recompiling SPU functions than 8.1. In 8.1 it takes 2-3 seconds and in 10 it takes more than 10 sometimes... Hardware is the same. Why is that?

You probably shouldn't be using it. It's kind of known to be sometimes slower and possibly inaccurate.
Oh, is PPU recompiled any better?
PPU llvm jit is usually better (in simple games like Sonic CD it's undoubtedly better, can get easily 300+ fps with it) but it takes time to warm up (for "hard" games it can take up several minutes) and it's less accurate/stable when interpreter 2. So the rule of thumb is to always test with interp 2 for both spu and ppu and if the game works and you want extra speed - try recompilers.
Reply
#10
(01-28-2016, 10:40 AM)flashmozzg Wrote: PPU llvm jit is usually better (in simple games like Sonic CD it's undoubtedly better, can get easily 300+ fps with it) but it takes time to warm up (for "hard" games it can take up several minutes) and it's less accurate/stable when interpreter 2. So the rule of thumb is to always test with interp 2 for both spu and ppu and if the game works and you want extra speed - try recompilers.

Argg... Back on topic, I've installed Windows 10 and now it's not compiling again... Error C2220 warning treated as error - no 'object' file generated D3D12GSRender c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility Line 2229
I'm really sorry that I'm bothering you with all this but I just really want to find out more about programming emulators. I'm familiar with programming software but not systems...

EDIT: I've disabled Treat Warnings as Errors and it went through, just don't know how "right" of a solution this is.
EDIT2: OK, last question. How do you debug with VS? The debug build crashes for me with Expression: "Standard C++ Libraries Out of Range". Thank you for all of the answers so far.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)