Post Reply 
 
Thread Rating:
  • 4 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guide:- Compiling PPSSPP on Windows for Dummies (updated for MSVC 2013)
09-16-2013, 05:51 PM (This post was last modified: 09-16-2013 05:59 PM by solarmystic.)
Post: #61
RE: Guide:- Compiling PPSSPP on Windows for Dummies
(09-16-2013 03:24 PM)Ritori Wrote:  
(09-16-2013 03:10 PM)solarmystic Wrote:  
(09-16-2013 04:07 AM)Ritori Wrote:  That what I doing after click VC++ Directories then set Configuration: All Configurations in Platfrom after I set to All Platforms it auto pop up box to Frameworks and References.

In that case, try and just set it to Win32. What happens then?

You set Configuration: All Configurations and Platform: Active(Win32)?

(btw how can you has Active(x64)? )

Yes.

By the way, if you just did a git pull -v --progress "origin" recently, you don't have to go through that entire process of changing the GPU properties, since the latest ppsspp updates by Henrik have already changed the properties for you. I'll have to change the guide again to reflect that, since it's automatic now.

Much easier that way, and you don't have to change any GPU project settings. That's what I've discovered at least.

To get Active (x64) just change the chosen platform here:-

[Image: iQGR6kiNtUheH.PNG]

You still need to change the Platform toolset to Windows7.1SDK if you intend to build for 64 bit though for the 5 projects I mentioned in the guide, assuming you've installed the Windows 7.1 SDK properly:-

native
PPSSPPWindows
PPSSPPHeadless
UnitTest
zlib


Sorry if it's been a bit confusing for you.

Modified/reverted the guide again to reflect the fact that both scenarios are covered in terms of the DX9SDK situation.

Latest git revisions have altered the GPU.vcxproj file to cover both scenarios. The paths are both linked to the dx9sdk mini submodule in the ppsspp git directory and the windowsdxsdk directory, so if you have either, the solution will build without hassle.

Update to the latest builds with a git pull -v --progress "origin" and you'll notice that it's already been settled for you.

[Image: idHWi1zNO4bgU.PNG]

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
09-16-2013, 07:09 PM
Post: #62
RE: Guide:- Compiling PPSSPP on Windows for Dummies
It not that confused btw i already git pull -v --progress "origin"

I still got problem with 64 bit maybe I need install Window 7.1 SDK again.
32 bit build is work fine Smile

I worse write english so take easy on me
(even my own language realy bad T_T)

Rig to test now :
Windows 8 64 bit (Laptop)
Intel® Core™ i3-3110M (2.4GHz, 3MB L3 Cache)
Nvidia GT720M 2GB
Find all posts by this user
Quote this message in a reply
09-16-2013, 07:26 PM
Post: #63
RE: Guide:- Compiling PPSSPP on Windows for Dummies
(09-16-2013 07:09 PM)Ritori Wrote:  It not that confused btw i already git pull -v --progress "origin"

I still got problem with 64 bit maybe I need install Window 7.1 SDK again.
32 bit build is work fine Smile

If you installed it properly in the first place, and changed all the relevant platform toolsets to use Windows7.1SDK it should work. I already showed you which components are needed in the guide for the 7.1 SDK. Don't skip any of them.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
09-16-2013, 07:36 PM
Post: #64
RE: Guide:- Compiling PPSSPP on Windows for Dummies
I just notice after I recheck. In control panel i missing 2 thing
Microsoft Visual Compilers 2010 Stardard... and other one .

Windows SDK 7.1 and MSVC 2010 redistriblutables is already be installer Smile

I worse write english so take easy on me
(even my own language realy bad T_T)

Rig to test now :
Windows 8 64 bit (Laptop)
Intel® Core™ i3-3110M (2.4GHz, 3MB L3 Cache)
Nvidia GT720M 2GB
Find all posts by this user
Quote this message in a reply
09-16-2013, 09:01 PM
Post: #65
RE: Guide:- Compiling PPSSPP on Windows for Dummies
(09-16-2013 07:36 PM)Ritori Wrote:  I just notice after I recheck. In control panel i missing 2 thing
Microsoft Visual Compilers 2010 Stardard... and other one .

Windows SDK 7.1 and MSVC 2010 redistriblutables is already be installer Smile

Yep, I told you not to skip any of them. Install every single Windows 7.1 SDK component just to be on the safe side.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
09-17-2013, 02:47 PM
Post: #66
RE: Guide:- Compiling PPSSPP on Windows for Dummies
maybe i should pm a dev 'bout the atlases...

Contact::::
I don't exist anymore, no use calling a dead person
Find all posts by this user
Quote this message in a reply
09-18-2013, 04:55 AM (This post was last modified: 09-18-2013 09:43 AM by Ritori.)
Post: #67
RE: Guide:- Compiling PPSSPP on Windows for Dummies
Should I unistall this? I can't install other missing component.

Edit:
Look liked I found solution about my problem :-
http://connect.microsoft.com/VisualStudi...6-pc-based

solarmystic maybe you can edit about this problem for 64 bit section

In order to install the x64 compilers from the Windows 7 SDK after installing Visual Studio 2010 Service Pack 1, you'll need to install the Visual C++ 2010 SP1 Compiler Update for the Windows SDK 7.1. The update is available from here: http://go.microsoft.com/fwlink/?LinkID=212355

When you install the Windows SDK, make sure to clear the "Visual C++ Compilers" checkbox, and install the SDK. Once the SDK is installed, install the compiler update to install the x64 compilers.

It work for me Smile


Attached File(s) Thumbnail(s)
   

I worse write english so take easy on me
(even my own language realy bad T_T)

Rig to test now :
Windows 8 64 bit (Laptop)
Intel® Core™ i3-3110M (2.4GHz, 3MB L3 Cache)
Nvidia GT720M 2GB
Find all posts by this user
Quote this message in a reply
09-18-2013, 06:56 PM (This post was last modified: 09-18-2013 06:59 PM by solarmystic.)
Post: #68
RE: Guide:- Compiling PPSSPP on Windows for Dummies
(09-18-2013 04:55 AM)Ritori Wrote:  Should I unistall this? I can't install other missing component.

Edit:
Look liked I found solution about my problem :-
http://connect.microsoft.com/VisualStudi...6-pc-based

solarmystic maybe you can edit about this problem for 64 bit section

In order to install the x64 compilers from the Windows 7 SDK after installing Visual Studio 2010 Service Pack 1, you'll need to install the Visual C++ 2010 SP1 Compiler Update for the Windows SDK 7.1. The update is available from here: http://go.microsoft.com/fwlink/?LinkID=212355

When you install the Windows SDK, make sure to clear the "Visual C++ Compilers" checkbox, and install the SDK. Once the SDK is installed, install the compiler update to install the x64 compilers.

It work for me Smile

Interesting. I never encountered the problem because I never installed Visual Studio Service Pack 1 on top of my Visual C++ Express installation, and the guide reflects that situation. The way I did it is the way I wrote it in the guide, and I never had to uninstall anything to get those x64 compilers to install successfully.

Both the SDK and the Visual C++ programs were installed from the standalone ISOs. Perfects the web installer for Visual C++ Express automatically installs VS 2010 SP1 together with it? Hmm...

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
10-11-2013, 08:46 PM (This post was last modified: 10-11-2013 08:49 PM by Ritori.)
Post: #69
RE: Guide:- Compiling PPSSPP on Windows for Dummies
Now i ask how to revert(delete) something on past and build latest version without it...
http://stackoverflow.com/questions/41140...git-commit

Code:
# This will destroy any local modifications
# Don't do it if you have uncommitted work you want to keep
git reset --hard 0d1d7fc32

# Alternatively, if there's work to keep:
git stash
git reset --hard 0d1d7fc32
git stash pop
# This saves the modifications, then reapplies that patch after resetting.
# You could get merge conflicts, if you've modified things which were
# changed since the commit you reset to

should i use git reset --hard etc or that alternatively?

I worse write english so take easy on me
(even my own language realy bad T_T)

Rig to test now :
Windows 8 64 bit (Laptop)
Intel® Core™ i3-3110M (2.4GHz, 3MB L3 Cache)
Nvidia GT720M 2GB
Find all posts by this user
Quote this message in a reply
10-12-2013, 02:56 AM (This post was last modified: 10-12-2013 02:57 AM by solarmystic.)
Post: #70
RE: Guide:- Compiling PPSSPP on Windows for Dummies
(10-11-2013 08:46 PM)Ritori Wrote:  should i use git reset --hard etc or that alternatively?

Do "git reset --hard" if you don't have any current modifications to the project that you did personally. If you've just been building PPSSPP without changing anything, you can safely do this.

Do "git stash save" if you have changes you want to reapply after you're done. If you have been altering the files for your own builds, do this.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
11-03-2013, 10:55 AM
Post: #71
RE: Guide:- Compiling PPSSPP on Windows for Dummies
Need help about bisect stuff now, game i want bisect is working on 0.8.1 but on latest one don't and i want to from 0.8.1 onward (ofc i still don't which right version but stable 0.8.1 working alright). I try to bisect but i stuck at this point:-

Code:
Now you need a new reference point. If you know the last revision that worked, use git checkout <version>. For example, git checkout v0.9.1-134-g554ca84. If you don't know the version, you can browse recent commits and try one a few back, or just go 100 commits back using git checkout HEAD~100.

I don't know which git checkout <version> on 0.8.1 is c743e02 that all information i could get.
the main problem is I don't what i should type.. for example git checkout 0.8.1-c743e02 is this right already? Huh

I worse write english so take easy on me
(even my own language realy bad T_T)

Rig to test now :
Windows 8 64 bit (Laptop)
Intel® Core™ i3-3110M (2.4GHz, 3MB L3 Cache)
Nvidia GT720M 2GB
Find all posts by this user
Quote this message in a reply
11-19-2013, 04:27 PM (This post was last modified: 11-19-2013 04:41 PM by Kyhel.)
Post: #72
RE: Guide:- Compiling PPSSPP on Windows for Dummies
Hi Smile

I'm having troubles compiling PPSSPP.

I just followed your guide step by step, both on my Windows 7 Pro x64 PC, and on a clean Virtual machine with the same system freshly installed, but i can't get it to work.

I'm using the last version on git : v0.9.5-510-ga5a69e9 (But i think through my different and consecutive tries i may have used previous ones). Unfortunatly, when i follow your guide, there is no PPSSPP.sln, but some CMakeList files. So i tried to get around this, downloaded CMake, using the GUI, i asked to build for Visual Studio 10, which said it couldn't find SDL library (i don't know why because it shouldn't be needed on windows). So i downloaded it too, told CMake where to find it, and it managed to configure and generate the files.

So know i have a PPSSPP.sln file, which is great. So i launch it on Visual Studio, but of course the solutions aren't exactly the same (ALL BUILD is bolded), but i keep going, set the working directories of ALL BUILD and PPSSPPWindows, set to release mode and hit Build Solution.

That's when things get bad.
I get a bunch of errors like that :

Code:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\dsound.h(237): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\WinNls.h(1334): error C2146: syntax error : missing ';' before identifier 'BOOL'

..\ppsspp\Windows\Debugger\CtrlDisAsmView.cpp(323): error C2664: 'CreateFontA' : cannot convert parameter 14 from 'const wchar_t [15]' to 'LPCSTR'

And i end up with

Code:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\WinNls.h(1335): fatal error C1003: error count exceeds 100; stopping compilation
  stdafx.cpp
  Generating Code...
Done Building Project "C:\Programming\ppsspp_build\PPSSPPWindows.vcxproj" (build target(s)) -- FAILED.

Build FAILED.

(It's just for the PPSSPPWindows build, but i have the same for many others).

In the end i have 11 succeeded builds, and 5 failed (i don't know which ones).

Does anyone have any idea why everything goes wrong like that ?

I have also tried to build with CMake using MinGW (again asking me about the SDL), which i manage to get me to generate the files, but when i use mingw32-make, i get errors like :

Code:
#error needs at least version 1000 of MSC
from ppsspp/Common/ABI.cpp:18

and

Code:
#error Arch not supported
from ABI.cpp:28

Code:
#error "Don't build this on arm"
from ppsspp/Common/x64Emitter.h:27

And exactly the same errors using CMake making unix MakeFiles and using Gnuwin make.

I must say i'm a bit lost.

Though i manage to build this on my mac with CMake and make. Even with Xcode.

I'm just not used to Windows programming. So if anyone can give me updated instructions on how to build this, i'ld really appreciate.

Thanks.

Kyhel

PS : I'm trying all this cause i'ld like to get adhoc-support branch from igorcalabria work on my PC and my friend's to play together, since i can already get it to work on my mac (with all limited capabilities of the port).

Kyhel,
French Student
Thanks to all PPSSPP team for this amazing emulator !

Experimental PPSSPP Adhoc Support build here : http://forums.ppsspp.org/showthread.php?tid=3595&pid=59241#pid59241
Please read the whole post.
Find all posts by this user
Quote this message in a reply
11-19-2013, 04:46 PM
Post: #73
RE: Guide:- Compiling PPSSPP on Windows for Dummies
Quote:PS : I'm trying all this cause i'ld like to get adhoc-support branch from igorcalabria work on my PC and my friend's to play together, since i can already get it to work on my mac (with all limited capabilities of the port).

You know that you need change some code to build on Windows?? at least it build for me use LunaMoo is Method Smile
Look here https://github.com/hrydgard/ppsspp/issues/4490

if that still don't work maybe you not follow solarmytic is tutorial carefully?
Are sure that PPSSPP.sln don't has in PPSSPP/Windows/ ?

I worse write english so take easy on me
(even my own language realy bad T_T)

Rig to test now :
Windows 8 64 bit (Laptop)
Intel® Core™ i3-3110M (2.4GHz, 3MB L3 Cache)
Nvidia GT720M 2GB
Find all posts by this user
Quote this message in a reply
11-19-2013, 05:20 PM
Post: #74
RE: Guide:- Compiling PPSSPP on Windows for Dummies
Thank you for this so quick answer, it's good to have such a nice community.

I feel a bit stupid now, i wasn't looking in the right folder...

It works like a charm.

But now i have a clue to get the next step, get igorcalabria's branch to work.

Thanks a lot Big Grin

Kyhel,
French Student
Thanks to all PPSSPP team for this amazing emulator !

Experimental PPSSPP Adhoc Support build here : http://forums.ppsspp.org/showthread.php?tid=3595&pid=59241#pid59241
Please read the whole post.
Find all posts by this user
Quote this message in a reply
11-25-2013, 01:39 AM
Post: #75
RE: Guide:- Compiling PPSSPP on Windows for Dummies
So uh, I'm doing everything right in the OP, but looking at the screenshots, I seem to be missing the x64 folder in the windows folder. I also seem to be getting warnings where the source points to a missing file that happens to be in said x64 folder. Anyone know what's going on here?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: