Compile Guide
(07-02-2009, 08:24 PM)LuisR14 Wrote:
Quote:
(06-30-2009, 04:42 PM)pcsx2fan Wrote: At the top middle dropdown menu, I chose Release SSE4.

(07-02-2009, 08:19 AM)yeyoo Wrote: even if i don't have a cpu that supports the ssse3 plugin
how will you be able to use SSE4 when you say your cpu doesn't support SSSE3? Blink
Last time I checked pcsx2fan != yeyoo... But I might be wrong Tongue
Reply

Sponsored links

oh Tongue, looks like i didn't notice the different names Tongue xD
Windows 7 64bit
Intel Pentium Dual-Core E5200 OC to 3.6GHz, Intel GMA x4500, 1GB DDR2

NinjaMight just work on next guideNinja
Reply
Anyone able to compile latest revision under Linux (env. details below)?

Quote:[Main buil.sh]
kein@debian:~/distrib/pcsx2$ sh build.sh clean
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not foundcho
Building the Pcsx2 Suite.
Note: binaries generated are 32 bit, and require 32 bit versions of all dependencies.
: No such file or directoryin/distrib/pcsx2
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not found
: Command not foundcho
Building the Pcsx2 Suite.
Note: binaries generated are 32 bit, and require 32 bit versions of all dependencies.
: No such file or directoryin/distrib/pcsx2
: Command not found

(repeateing it until ctrl+c'd)

===========================================

[Plugins buidl.sh]

kein@debian:~/distrib/pcsx2/plugins$ sh build.sh
: Command not found
: Command not found
'uild.sh: line 5: syntax error near unexpected token `{
'uild.sh: line 5: `buildplugin() {

===========================================

[PCSX2 build.sh]

kein@debian:~/distrib/pcsx2/pcsx2$ sh build.sh clean
: Command not found
: Command not found
---------------
Building Pcsx2
---------------
: Command not found
build.sh: line 46: syntax error: unexpected EOF

===========================================

[Additional info]

Linux debian 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux
-
GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu)
Copyright © 2007 Free Software Foundation, Inc.
Reply
I've never been able to get gsdx to compile, but I'm now getting different errors than I used to, so I thought I would try posting here to see if anyone can figure it out. This is the error I get:

Error 29 error LNK2001: unresolved external symbol _cgGetLastErrorString GSDeviceOGL.obj GSdx
Error 30 error LNK2001: unresolved external symbol _cgGetLastListing GSDeviceOGL.obj GSdx
Error 31 error LNK2001: unresolved external symbol _cgDestroyContext GSDeviceOGL.obj GSdx
Error 32 error LNK2001: unresolved external symbol _cgGetErrorString GSDeviceOGL.obj GSdx
Error 33 error LNK2001: unresolved external symbol _cgSetErrorHandler GSDeviceOGL.obj GSdx
Error 34 error LNK2001: unresolved external symbol _cgCreateContext GSDeviceOGL.obj GSdx
Error 35 error LNK2001: unresolved external symbol _cgSetParameterSettingMode GSDeviceOGL.obj GSdx
Error 36 fatal error LNK1120: 7 unresolved externals D:\pcsxe2 source\\bin\plugins\GSdx-SSSE3.dll GSdx


I've got the glew stuff, dx sdk, and the nvidia cg toolkit. I'm pretty sure I have everything pointed to the right spot, so what gives?

Not that I really care much, but I've never been able to get xpad to compile either. This is the error I get:

Error 9 error C3861: 'XInputEnable': identifier not found d:\pcsxe2 source\plugins\xpad\xpad.cpp 646 xpad
Error 10 error C3861: 'XInputEnable': identifier not found d:\pcsxe2 source\plugins\xpad\xpad.cpp 674 xpad



Any ideas?
Reply
Guys, I'm getting this when trying to compile r1469. It's a warning, but it does worry me.

Code:
warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
Reply
Yes that is not a good warning and it shouldn't happen unless you have residual (old) build files left over. A full clean+rebuild should fix it and, if not, then a re-checkout of the SVN in a new location might be needed. If you're still having the problem please post a larger snippet from the Output window, specifically so I can see which project it's getting the error for.
Jake Stine (Air) - Programmer - PCSX2 Dev Team
Reply
yeah, I always keep up a clean SVN source to build anytime. It's redundant but clearly.

Besides, here is what i've done to get along well with glew. Install NVIDIA Cg Toolkit, extract glew 1.5.1 to drive C.

In Visual Studio go Tools -> Options -> Projects and Solutions -> VC++ Directories

For Include files thou add these lines to bottom
Code:
C:\Program Files\NVIDIA Corporation\Cg\examples\OpenGL\glew\include
C:\Program Files\NVIDIA Corporation\Cg\include

For Library files thou add these lines to bottom
Code:
C:\Program Files\NVIDIA Corporation\Cg\lib
C:\glew\lib
durable PC since 2008
CPU : E7200 @ 2.53 GHz 1.04 V / OC 3.7 GHz 1.36 V (390*9.5, 4GB DDR2 780)
GPU : 8600GT (GDDR3, 256 MB) / OC (750 / 900)
BOARD : GA-EP31-DS3L (rev 1.0) broken and bought a second hand one replaced
PSU : 300 W
OS : Windows 7 Home Basic x86
Reply
@Air
I see, thanks, I'll clean my directory and re-do the compilation. It's weird, because I've been just updating the directory, shouldn't it just overwritte all the old files?

To think I was playing this afternoon with that revision I compiled Tongue2.
Reply
Help! I'm stuck within Visual Studio 2010 beta1

cannot find the path specified and error MSB3073
PCSX2 project of Visual Studio 2008 automatically converted to Visual Studio 2010. I can compile in Visual Studio 2008 but not in Visual Studio 2010.
Quote:1>------ Build started: Project: ZeroPAD, Configuration: Release Win32 ------
1>Build started 2009/7/8 上午 11:13:39.
1>_PrepareForBuild:
1> Creating directory "Win32\Release\".
1> Creating "Win32\Release\lastbuild.timestamp" because "AlwaysCreate" was specified.
1>PreBuildEvent:
1> The system cannot find the path specified.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: The command ""R:\PCSX2\plugins\zeropad\Windows\\..\..\..\..\common\vsprops\preBuild.cmd" "R:\PCSX2\plugins\zeropad\Windows\\.."
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: :VCEnd" exited with code 3.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.14
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========


I don't know How to add custom path for librarys and Include files.
In Visual Studio 2008, I can add custom path for librarys by Tools -> Options -> Projects and Solutions -> VC++ Directories. but I can't do that within Visual Studio 2010 beta 1, I can't find the entrance.

Thus lead to error LNK1181: cannot open input file 'library.lib'
Quote:1>------ Build started: Project: LilyPad, Configuration: Release Win32 ------
1>Build started 2009/7/8 上午 10:57:35.
1>_PrepareForBuild:
1> Creating "Win32\Release\lastbuild.timestamp"
because "AlwaysCreate"
was specified.
1>PreBuildEvent:
1> SubWCRev: 'R:\PCSX2\plugins\LilyPad'

1> Last committed at revision 1388
1> Updated to revision 1478
1>ClCompile:
1> VKey.cpp
1> LilyPad.cpp
1> Config.cpp
1> XInput.cpp
1> WndProcEater.cpp
1> WindowsMouse.cpp
1> WindowsMessaging.cpp
1> WindowsKeyboard.cpp
1> RawInput.cpp
1> KeyboardQueue.cpp
1> KeyboardHook.cpp
1> InputManager.cpp
1> DirectInput.cpp
1> Diagnostics.cpp
1> DeviceEnumerator.cpp
1>ResourceCompile:
1> Microsoft ® Windows ® Resource Compiler Version 6.1.7000.0
1>
1> Copyright © Microsoft Corporation. All rights reserved.
1>
1>
1>LINK : fatal error LNK1181: cannot open input file 'dxguid.lib'

1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:08.73
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
durable PC since 2008
CPU : E7200 @ 2.53 GHz 1.04 V / OC 3.7 GHz 1.36 V (390*9.5, 4GB DDR2 780)
GPU : 8600GT (GDDR3, 256 MB) / OC (750 / 900)
BOARD : GA-EP31-DS3L (rev 1.0) broken and bought a second hand one replaced
PSU : 300 W
OS : Windows 7 Home Basic x86
Reply
I don't know why but almost every time when I'm compiling pcsx2,GSdx,SPU2-X,ZeroSPU and LilyPad I have to compile twice in a row GSdx to become the newest rev. and now this happens to SPU2-X too.

The first time when I compile it,I can see that my VC++ IS compiling GSdx but when everything finish when I try to compile it again(to show me that everything is up to date),GSdx is compiled again and this time when it finish,then it's the newest rev. not on my first try.
Reply




Users browsing this thread: 1 Guest(s)