Compile Guide
EDIT: Post removed by author.
Reply

Sponsored links

Not sure about shameless plugs being frowned upon, but linking to pre-built versions of SVN are. If someone can't manage to compile the emu from source, they probably shouldn't be touching the SVN builds anyways.
[Image: 2748844.png]
Reply
(08-25-2009, 09:13 PM)Ferocious Wrote: Managed to build the new SVN (first time yey). Everything went fine except one error on gsdx, and I cant find any reference to this error on the forum. So here goes:

Code:
e:\pcsx2 svn\plugins\gsdx\stdafx.h(41) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory

How do i fix that?

VC++ Express 2008 SP1 doesn't include that atl thingy, to get the latest atl ones, install VS2010, you can then add corresponding path to VC++ Express 2008 SP1 or compile by VS2010.

I think VS2010 Professional is sufficient.
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 know how to compile Pcsx2, however I keep getting this error with Xpad when compiling Pcsx2:

Code:
Error    6    error LNK2001: unresolved external symbol _XInputEnable@4  xpad.obj
Error    7    fatal error LNK1120: 1 unresolved externals    ..\..\bin\plugins\xpad.dll

Anyone have an idea what it's caused from? I Didn't have any problems compiling this until about a week or two ago.
[Image: logo.gif]
Reply
(09-03-2009, 03:32 AM)Xtrememax Wrote: I know how to compile Pcsx2, however I keep getting this error with Xpad when compiling Pcsx2:

Code:
Error    6    error LNK2001: unresolved external symbol _XInputEnable@4  xpad.obj
Error    7    fatal error LNK1120: 1 unresolved externals    ..\..\bin\plugins\xpad.dll

Anyone have an idea what it's caused from? I Didn't have any problems compiling this until about a week or two ago.

I have always had a problem compiling this specific plug-in, however it somehow fixed itself after installing Windows 7 Professional RTM (got it via MSDNAA from my university) Smile
ChenZen - A blog for games, technology, gadgets, anime, manga, music, or about anything else that interests the average geek.
Reply
(09-03-2009, 03:32 AM)Xtrememax Wrote: I know how to compile Pcsx2, however I keep getting this error with Xpad when compiling Pcsx2:

Code:
Error    6    error LNK2001: unresolved external symbol _XInputEnable@4  xpad.obj
Error    7    fatal error LNK1120: 1 unresolved externals    ..\..\bin\plugins\xpad.dll

Anyone have an idea what it's caused from? I Didn't have any problems compiling this until about a week or two ago.

Run clean_msvc.cmd once. That should do it
[Image: newsig.jpg]
Reply
I'm no longer able to compile with an svn error
Reply
Next time at least tell us if it's Linux or Win32 you're building. I know enough about you to know that you cross compile both win32 and linux builds, and if I didn't know that I'd have assumed it a win32-related post. Which clearly it was not.
Jake Stine (Air) - Programmer - PCSX2 Dev Team
Reply
(09-04-2009, 04:02 AM)Air Wrote: Next time at least tell us if it's Linux or Win32 you're building. I know enough about you to know that you cross compile both win32 and linux builds, and if I didn't know that I'd have assumed it a win32-related post. Which clearly it was not.

sorry, I didn't know the new build was capable of cross compile. I'm talking about a win 32 build, not linux.

more to note: I always spell out if it's linux
Reply
When I compiled GSdx, I got Message like this

Code:
1>------ Skipped Build: Project: SoundTouch, Configuration: Release Win32 ------
1>Project not selected to build for this solution configuration
2>------ Skipped Build: Project: bzip2, Configuration: Release Win32 ------
2>Project not selected to build for this solution configuration
3>------ Skipped Build: Project: w32pthreads, Configuration: Release Win32 ------
3>Project not selected to build for this solution configuration
4>------ Skipped Build: Project: zlib, Configuration: Release Win32 ------
4>Project not selected to build for this solution configuration
5>------ Skipped Build: Project: DEV9null, Configuration: Release Win32 ------
5>Project not selected to build for this solution configuration
6>------ Skipped Build: Project: FWnull, Configuration: Release Win32 ------
6>Project not selected to build for this solution configuration
7>------ Skipped Build: Project: ZeroPAD, Configuration: Release Win32 ------
7>Project not selected to build for this solution configuration
8>------ Skipped Build: Project: CDVDnull, Configuration: Release Win32 ------
8>Project not selected to build for this solution configuration
9>------ Skipped Build: Project: CDVDolio, Configuration: Release Win32 ------
9>Project not selected to build for this solution configuration
10>------ Skipped Build: Project: xpad, Configuration: Release Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: ZeroSPU2, Configuration: Release Win32 ------
11>Project not selected to build for this solution configuration
12>------ Skipped Build: Project: LilyPad, Configuration: Release Win32 ------
12>Project not selected to build for this solution configuration
13>------ Skipped Build: Project: USBnull, Configuration: Release Win32 ------
13>Project not selected to build for this solution configuration
14>------ Build started: Project: GSdx, Configuration: Release SSSE3 Win32 ------
14>Performing Pre-Build Event...
15>------ Skipped Build: Project: SPU2-X, Configuration: Release Win32 ------
15>Project not selected to build for this solution configuration
16>------ Skipped Build: Project: CDVDiso, Configuration: Release Win32 ------
16>Project not selected to build for this solution configuration
17>------ Skipped Build: Project: ZeroGS, Configuration: Release Win32 ------
17>Project not selected to build for this solution configuration
18>------ Skipped Build: Project: pcsx2, Configuration: Release Win32 ------
18>Project not selected to build for this solution configuration
14>SubWCRev: 'd:\PCSX2SOURCE\plugins\GSdx'
14>Last committed at revision 1650
14>Updated to revision 1750
14>Compiling...
14>stdafx.cpp
14>Compiling...
14>GSWnd.cpp
14>GSVertexTrace.cpp
14>GSVertexSW.cpp
14>GSVertexList.cpp
14>GSVector.cpp
14>GSUtil.cpp
14>GSThread.cpp
14>GSTextureOGL.cpp
14>GSTextureNull.cpp
14>GSTextureFX9.cpp
14>GSTextureFX11.cpp
14>GSTextureFX10.cpp
14>GSTextureFX.cpp
14>GSTextureCacheSW.cpp
14>GSTextureCacheOGL.cpp
14>GSTextureCache9.cpp
14>GSTextureCache11.cpp
14>GSTextureCache10.cpp
14>GSTextureCache.cpp
14>GSTexture9.cpp
14>Compiling...
14>GSTexture7.cpp
14>GSTexture11.cpp
14>GSTexture10.cpp
14>GSTexture.cpp
14>GSTables.cpp
14>GSSetupPrimCodeGenerator.cpp
14>GSSettingsDlg.cpp
14>.\GSSettingsDlg.cpp(209) : warning C4189: 'dx11' : local variable is initialized but not referenced
14>.\GSSettingsDlg.cpp(210) : warning C4189: 'ogl' : local variable is initialized but not referenced
14>GSSetting.cpp
14>GSRendererSW.cpp
14>GSRendererOGL.cpp
14>GSRendererNull.cpp
14>GSRendererHW.cpp
14>GSRendererDX11.cpp
14>GSRendererDX.cpp
14>GSRenderer.cpp
14>GSPerfMon.cpp
14>GSFunctionMap.cpp
14>GSDump.cpp
14>GSDrawScanlineCodeGenerator.cpp
14>GSDrawScanline.cpp
14>.\GSDrawScanline.cpp(119) : warning C4244: '=' : conversion from 'const int' to 'uint16', possible loss of data
14>.\GSDrawScanline.cpp(120) : warning C4244: '=' : conversion from 'const int' to 'uint16', possible loss of data
14>.\GSDrawScanline.cpp(145) : warning C4244: '=' : conversion from 'const int' to 'uint16', possible loss of data
14>.\GSDrawScanline.cpp(146) : warning C4244: '=' : conversion from 'const int' to 'uint16', possible loss of data
14>Compiling...
14>GSDirtyRect.cpp
14>GSDialog.cpp
14>GSDeviceOGL.cpp
14>.\GSDeviceOGL.cpp(134) : warning C4189: 'str' : local variable is initialized but not referenced
14>GSDeviceNull.cpp
14>GSDevice9.cpp
14>GSDevice7.cpp
14>GSDevice11.cpp
14>GSDevice10.cpp
14>GSDevice.cpp
14>GSCrc.cpp
14>GSCodeBuffer.cpp
14>GSClut.cpp
14>GSCaptureDlg.cpp
14>GSCapture.cpp
14>GSBlock.cpp
14>GSAlignedClass.cpp
14>GS.cpp
14>GPUState.cpp
14>GPUSetupPrimCodeGenerator.cpp
14>GPUSettingsDlg.cpp
14>.\GPUSettingsDlg.cpp(195) : warning C4189: 'dx11' : local variable is initialized but not referenced
14>Compiling...
14>GPURendererSW.cpp
14>GPURenderer.cpp
14>GPULocalMemory.cpp
14>GPUDrawScanlineCodeGenerator.cpp
14>GPUDrawScanline.cpp
14>GPU.cpp
14>Compiling...
14>wxutil.cpp
14>wxlist.cpp
14>wxdebug.cpp
14>vtrans.cpp
14>transip.cpp
14>transfrm.cpp
14>sysclock.cpp
14>strmctl.cpp
14>source.cpp
14>seekpt.cpp
14>schedule.cpp
14>renbase.cpp
14>refclock.cpp
14>pullpin.cpp
14>pstream.cpp
14>outputq.cpp
14>mtype.cpp
14>ddmm.cpp
14>ctlutil.cpp
14>combase.cpp
14>Compiling...
14>amvideo.cpp
14>amfilter.cpp
14>amextra.cpp
14>Compiling...
14>GSState.cpp
14>GSRendererDX9.cpp
14>GSRendererDX10.cpp
14>GSRasterizer.cpp
14>GSLocalMemory.cpp
14>.\GSLocalMemory.cpp(1310) : warning C4244: '=' : conversion from 'uint32' to 'uint16', possible loss of data
14>.\GSLocalMemory.cpp(1327) : warning C4244: '=' : conversion from 'uint32' to 'uint8', possible loss of data
14>.\GSLocalMemory.cpp(1344) : warning C4244: '=' : conversion from 'uint32' to 'uint8', possible loss of data
14>.\GSLocalMemory.cpp(1361) : warning C4244: '=' : conversion from 'uint32' to 'uint8', possible loss of data
14>.\GSLocalMemory.cpp(1378) : warning C4244: '=' : conversion from 'uint32' to 'uint8', possible loss of data
14>.\GSLocalMemory.cpp(1395) : warning C4244: '=' : conversion from 'uint32' to 'uint8', possible loss of data
14>GSdx.cpp
14>Compiling resources...
14>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
14>Copyright (C) Microsoft Corporation.  All rights reserved.
14>Linking...
14>   Creating library D:\PCSX2SOURCE\\bin\plugins\GSdx-SSSE3.lib and object D:\PCSX2SOURCE\\bin\plugins\GSdx-SSSE3.exp
14>GSdx-SSSE3.exp : warning LNK4070: /OUT:GSdx.dll directive in .EXP differs from output filename 'D:\PCSX2SOURCE\\bin\plugins\GSdx-SSSE3.dll'; ignoring directive
14>Generating code
14>d:\pcsx2source\plugins\gsdx\baseclasses\wxutil.cpp(420) : warning C4706: assignment within conditional expression
14>d:\pcsx2source\plugins\gsdx\baseclasses\schedule.cpp(120) : warning C4706: assignment within conditional expression
14>d:\pcsx2source\plugins\gsdx\baseclasses\outputq.cpp(366) : warning C4701: potentially uninitialized local variable 'ppacket' used
14>d:\pcsx2source\plugins\gsdx\baseclasses\outputq.cpp(312) : warning C4701: potentially uninitialized local variable 'lNumberToSend' used
14>d:\pcsx2source\plugins\gsdx\baseclasses\transip.cpp(772) : warning C4701: potentially uninitialized local variable 'Actual' used
14>Finished generating code
14>GSdx-SSSE3.exp : warning LNK4070: /OUT:GSdx.dll directive in .EXP differs from output filename 'D:\PCSX2SOURCE\\bin\plugins\GSdx-SSSE3.dll'; ignoring directive
14>LINK : warning LNK4199: /DELAYLOAD:d3d10.dll ignored; no imports found from d3d10.dll
14>LINK : warning LNK4199: /DELAYLOAD:d3d11.dll ignored; no imports found from d3d11.dll
14>LINK : warning LNK4199: /DELAYLOAD:cgGL.dll ignored; no imports found from cgGL.dll
14>LINK : warning LNK4199: /DELAYLOAD:glut32.dll ignored; no imports found from glut32.dll
14>Embedding manifest...
14>Performing Post-Build Event...
14>Build log was saved at "file://d:\PCSX2SOURCE\plugins\GSdx\Win32\Release SSSE3\BuildLog.htm"
14>GSdx - 0 error(s), 25 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 17 skipped ==========

Is it ok with too many warning?
Reply




Users browsing this thread: 3 Guest(s)