Posts: 87
Threads: 4
Joined: Jun 2013
Reputation:
0
06-14-2013, 07:46 PM
(This post was last modified: 06-14-2013, 08:37 PM by xemnas.)
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?
Posts: 23
Threads: 0
Joined: Jun 2013
Reputation:
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. 
ズキューーン
Posts: 87
Threads: 4
Joined: Jun 2013
Reputation:
0
06-14-2013, 08:46 PM
(This post was last modified: 06-14-2013, 09:16 PM by xemnas.)
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?
Posts: 23
Threads: 0
Joined: Jun 2013
Reputation:
2
That's for Windows 8, which SDK are you using? O.o
Maybe THIS will help.
ズキューーン
Posts: 3,228
Threads: 25
Joined: Nov 2012
Reputation:
98
I just leave the project using VS 2010 without upgrading it. If I upgraded, I'd get conflicts anyway...
-[Unknown]
Posts: 189
Threads: 1
Joined: May 2013
Reputation:
0
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-.
Posts: 2,392
Threads: 27
Joined: Mar 2013
Reputation:
91
06-15-2013, 02:02 AM
(This post was last modified: 06-15-2013, 02:02 AM by TheDax.)
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.
Posts: 189
Threads: 1
Joined: May 2013
Reputation:
0
Posts: 3,228
Threads: 25
Joined: Nov 2012
Reputation:
98
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]
Posts: 2,392
Threads: 27
Joined: Mar 2013
Reputation:
91
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.
Posts: 189
Threads: 1
Joined: May 2013
Reputation:
0
That'd be why, its using the 7.0a sdk and v100 toolsets instead of the 8.0a sdk and v110 toolsets
Posts: 87
Threads: 4
Joined: Jun 2013
Reputation:
0
Thank you everybody. I'm going to use VS 2010 Express instead.
Posts: 3
Threads: 0
Joined: Jun 2013
Reputation:
0
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.)
Posts: 87
Threads: 4
Joined: Jun 2013
Reputation:
0
Thanks. I can build it now using VC++ 2010 Express.
Posts: 5,371
Threads: 14
Joined: Mar 2013
Reputation:
303
(06-16-2013, 09:53 AM)xemnas Wrote: Thanks. I can build it now using VC++ 2010 Express.
So your problem is resolved
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
|