Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot build on Windows
#1
I cannot build the solution. There are 108 errors.

"Error 9 error C3848: expression having type 'const std::_Bind<_Forced,_Ret,_Fun,_V0_t,_V1_t,_V2_t,_V3_t,_V4_t,_V5_t,<unnamed-symbol>>' would lose some const-volatile qualifiers in order to call 'void std::_Bind<_Forced,_Ret,_Fun,_V0_t,_V1_t,_V2_t,_V3_t,_V4_t,_V5_t,<unnamed-symbol>>::operator ()(void)' \ppsspp\native\thread\thread.h 245 1 native"

"LINK : fatal error LNK1104: cannot open file '\ppsspp\Windows\Debug\native.lib'"

I'm using Visual Studio Express 2012. Does anybody know how to fix this?
#2
Try...

(06-11-2013, 11:58 AM)KrossX Wrote: I was also having troubles compiling with VS2012. I've had to do the following:

native/thread.h:248, remove const (otherwise, error C3848)
define _VARIADIC_MAX=10 for the GPU project. (otherwise, error C2780 because of This)

Side effects? Dunno, but it compiles now. Tongue
ズキューーン
#3
Thank you very much! I can build it now.

Now when I run PPSSPPDebug.exe. There is an error: "This program can't start because XINPUT1_4.dll is missing". What is this?
#4
That's for Windows 8, which SDK are you using? O.o

Maybe THIS will help.
ズキューーン
#5
I just leave the project using VS 2010 without upgrading it. If I upgraded, I'd get conflicts anyway...

-[Unknown]
#6
Visual Studio 2012 targets Metro crap, thus xinput1_4 is the default.

you need DirectX SDK, and even then you'll need to hack around with the includes to make it build properly.

I don't think i'll be upgrading from 2010 -ever-.
#7
I didn't have to edit anything in the source to get it to compile, though I have VS 2012 pro for Desktop.

Maybe Express 2012 is just no good for it?
4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
#8
thats possible.
#9
Express 2012 works fine for me, so long as it's installed side-by-side with Express 2010 and the projects aren't upgraded (I think it offers the first time you open it.)

-[Unknown]
#10
Yeah, I should've mentioned I didn't upgrade the project either.

Running VS 2010 pro and VS 2012 pro, with 2012 as the dev environment.
4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
#11
That'd be why, its using the 7.0a sdk and v100 toolsets instead of the 8.0a sdk and v110 toolsets
#12
Thank you everybody. I'm going to use VS 2010 Express instead.
#13
make the Project PPSSPPWindows link with XINPUT9_1_0.LIB not xinput.lib.

test by windows 7 x64 with update the sln to VS2012.
(i only had the VS2012 installed,cann't by compile without update to VS2012.)
#14
Thanks. I can build it now using VC++ 2010 Express.
#15
(06-16-2013, 09:53 AM)xemnas Wrote: Thanks. I can build it now using VC++ 2010 Express.

So your problem is resolved Smile

Closed.
♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing
♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing
♦ PSP-3004 | 6.60 PRO-C2


Forum Jump: