Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot build on Windows
06-14-2013, 07:46 PM (This post was last modified: 06-14-2013 08:37 PM by xemnas.)
Post: #1
Cannot build on Windows
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?
Find all posts by this user
06-14-2013, 08:34 PM
Post: #2
RE: Cannot build on Windows
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

ズキューーン
Find all posts by this user
06-14-2013, 08:46 PM (This post was last modified: 06-14-2013 09:16 PM by xemnas.)
Post: #3
RE: Cannot build on Windows
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?
Find all posts by this user
06-14-2013, 10:17 PM
Post: #4
RE: Cannot build on Windows
That's for Windows 8, which SDK are you using? O.o

Maybe THIS will help.

ズキューーン
Find all posts by this user
06-14-2013, 10:29 PM
Post: #5
RE: Cannot build on Windows
I just leave the project using VS 2010 without upgrading it. If I upgraded, I'd get conflicts anyway...

-[Unknown]
Find all posts by this user
06-14-2013, 11:30 PM
Post: #6
RE: Cannot build on Windows
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-.
Find all posts by this user
06-15-2013, 02:02 AM (This post was last modified: 06-15-2013 02:02 AM by TheDax.)
Post: #7
RE: Cannot build on Windows
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.
Find all posts by this user
06-15-2013, 02:42 AM
Post: #8
RE: Cannot build on Windows
thats possible.
Find all posts by this user
06-15-2013, 03:15 AM
Post: #9
RE: Cannot build on Windows
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]
Find all posts by this user
06-15-2013, 03:17 AM
Post: #10
RE: Cannot build on Windows
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.
Find all posts by this user
06-15-2013, 03:42 AM
Post: #11
RE: Cannot build on Windows
That'd be why, its using the 7.0a sdk and v100 toolsets instead of the 8.0a sdk and v110 toolsets
Find all posts by this user
06-15-2013, 10:04 AM
Post: #12
RE: Cannot build on Windows
Thank you everybody. I'm going to use VS 2010 Express instead.
Find all posts by this user
06-16-2013, 06:07 AM
Post: #13
RE: Cannot build on Windows
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.)
Find all posts by this user
06-16-2013, 09:53 AM
Post: #14
RE: Cannot build on Windows
Thanks. I can build it now using VC++ 2010 Express.
Find all posts by this user
06-16-2013, 07:27 PM
Post: #15
RE: Cannot build on Windows
(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
Find all posts by this user
Thread Closed 


Forum Jump: