Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having trouble building in Visual Studio 2012
05-09-2013, 06:17 PM (This post was last modified: 05-09-2013 08:09 PM by makotech222.)
Post: #1
Having trouble building in Visual Studio 2012
I've been trying everything to get it to work, but i keep coming up with
"========== Build: 5 succeeded, 5 failed, 0 up-to-date, 0 skipped =========="

All i have done so far:
* Make a fork off of github, clone to my harddrive
* Open solution in VS2012
* Update project to 2012
* Build Solution in win32/release

I'm using Windows 8 x64 and i have updated my redists for 2010 and 2012, both x86 and x64. Downloaded the Windows 8 SDK as well. Also did "git submodule update --init" to get the libraries.

I seem to get a lot of errors with texturescaler and also this message: Error 128 error LNK1104: cannot open file \Documents\GitHub\ppsspp\Windows\Debug\native.lib


Anyone have any idea whats wrong?

Edit: Tried it on VS 2010 express and it worked fine. No idea why. Gonna reinstall 2012 and see if that works.

Edit #2: Got it working after reinstalling vs2012. Probably a problem with file paths to SDKs.

I have a second question, though. I can't get it to build the accompanying folders like assets or fonts. Where do those come from?
Find all posts by this user
Quote this message in a reply
05-10-2013, 02:06 AM
Post: #2
RE: Having trouble building in Visual Studio 2012
You need to have 2010 installed for it to work (since it uses the SDK that comes with 2010), even if you use 2012.

The assets and fonts should be in ppsspp/ in assets/ and flash0/fonts/ respectively. However, it won't find them unless you set the working directory under the PPSSPPWindows project's debugging settings to e.g. "../".

-[Unknown]
Find all posts by this user
Quote this message in a reply
05-14-2013, 05:47 PM (This post was last modified: 05-14-2013 06:04 PM by Kyousuke.)
Post: #3
RE: Having trouble building in Visual Studio 2012
(05-09-2013 06:17 PM)makotech222 Wrote:  Error 128 error LNK1104: cannot open file \Documents\GitHub\ppsspp\Windows\Debug\native.lib

Same problem for me but, in both VC++ 2010 and VS 2012.

I keep hitting that wall, it started giving that error for no reason and I didn't modify anything, I'm still trying to understand how to fix it. If you don't mind, can you tell me how to set the path to the SDK libraries? (did you use windows SDK 7 or 8 in VS2010?)

Windows 7 Ultimate 64-bit | Intel® Core™2 Duo CPU E7500 @ 2.93GHz | 3072MB RAM DDR2 | NVIDIA GeForce GT 630 1024MB | http://github.com/KyousukeKyaa
Find all posts by this user
Quote this message in a reply
05-14-2013, 06:36 PM
Post: #4
RE: Having trouble building in Visual Studio 2012
Go to your git powershell, then type

cd ppsspp
git submodule update --init
Find all posts by this user
Quote this message in a reply
06-11-2013, 11:58 AM
Post: #5
RE: Having trouble building in Visual Studio 2012
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
Quote this message in a reply
Post Reply 


Forum Jump: