..:: PCSX2 Forums ::..

Full Version: Compile Guide
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can compile all plugin in Pcsx2 project, except Gsdx as Release SSE4 ( My CPU has SSE4.1 and I still can use Gsdx SSE4 ). it has 4 error in the console Sad
Quote:1> Creating library Win32\Release SSE4\GSdx.lib and object Win32\Release SSE4\GSdx.exp
1>GPU.obj : error LNK2001: unresolved external symbol "public: __thiscall GSRasterizerList::GSRasterizerList(void)" (??0GSRasterizerList@@QAE@XZ)
1>GPU.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall GSRasterizerList::~GSRasterizerList(void)" (??1GSRasterizerList@@UAE@XZ)
1>GPU.obj : error LNK2001: unresolved external symbol "private: void __thiscall GSRasterizerList::FreeRasterizers(void)" (?FreeRasterizers@GSRasterizerList@@AAEXXZ)
1>GPU.obj : error LNK2001: unresolved external symbol "public: __thiscall GSRasterizerMT::GSRasterizerMT(class IDrawScanline *,int,int,long *)" (??0GSRasterizerMT@@QAE@PAVIDrawScanline@@HHPAJ@Z)
1>Win32\Release SSE4\GSdx.dll : fatal error LNK1120: 4 unresolved externals
Can someone tell me what is wrong with this warning message. Thanks.
I got this message but all the dll and exe seems work fine...

Warning 1 Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release cl ZeroPAD
Warning 2 warning C4244: 'argument' : conversion from 'LPARAM' to 'LONG', possible loss of data c:\2\plugins\zeropad\Windows\win.cpp 140 ZeroPAD
Warning 3 warning C4312: 'type cast' : conversion from 'long' to 'HWND' of greater size c:\2\plugins\zeropad\Windows\win.cpp 143 ZeroPAD
Warning 4 warning C4312: 'type cast' : conversion from 'LONG' to 'WNDPROC' of greater size c:\2\plugins\zeropad\Windows\win.cpp 144 ZeroPAD
Warning 5 warning C4244: 'argument' : conversion from 'LPARAM' to 'LONG', possible loss of data c:\2\plugins\zeropad\Windows\win.cpp 145 ZeroPAD
Warning 6 warning C4312: 'type cast' : conversion from 'LONG' to 'WNDPROC' of greater size c:\2\plugins\zeropad\Windows\win.cpp 145 ZeroPAD
Warning 7 warning C4244: 'argument' : conversion from 'LPARAM' to 'LONG', possible loss of data c:\2\plugins\zeropad\Windows\win.cpp 153 ZeroPAD
Warning 8 warning C4244: '=' : conversion from 'WPARAM' to 'u32', possible loss of data c:\2\plugins\zeropad\Windows\win.cpp 195 ZeroPAD
Warning 9 warning C4244: '=' : conversion from 'WPARAM' to 'u32', possible loss of data c:\2\plugins\zeropad\Windows\win.cpp 210 ZeroPAD
Warning 10 warning C4244: '=' : conversion from 'WPARAM' to 'int', possible loss of data c:\2\plugins\zeropad\Windows\win.cpp 380 ZeroPAD
Warning 11 warning C4700: uninitialized local variable 'numkeys' used c:\2\plugins\zeropad\windows\win.cpp 349 ZeroPAD
Warning 12 warning C4700: uninitialized local variable 'pkeyboard' used c:\2\plugins\zeropad\windows\win.cpp 350 ZeroPAD
Warning 13 warning C4005: 'ARRAYSIZE' : macro redefinition C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h 1020 ZeroSPU2
Warning 14 warning C4005: 'ARRAYSIZE' : macro redefinition C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h 1020 ZeroSPU2
Warning 15 warning C4005: 'ARRAYSIZE' : macro redefinition C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h 1020 ZeroSPU2
Warning 16 warning C4244: '=' : conversion from 'unsigned long' to 'u8', possible loss of data c:\2\plugins\zerogs\dx\Win32\Conf.cpp 74 ZeroGS
Warning 17 warning C4018: '>' : signed/unsigned mismatch c:\2\plugins\GSdx\GSTextureCacheSW.cpp 302 GSdx
Warning 18 warning C4018: '<' : signed/unsigned mismatch c:\2\plugins\GSdx\GSDrawScanline.cpp 119 GSdx
Warning 19 warning C4244: '=' : conversion from 'UINT32' to 'unsigned short', possible loss of data c:\2\plugins\GSdx\GSDrawScanline.cpp 119 GSdx
Warning 20 warning C4018: '<' : signed/unsigned mismatch c:\2\plugins\GSdx\GSDrawScanline.cpp 120 GSdx
Warning 21 warning C4244: '=' : conversion from 'UINT32' to 'unsigned short', possible loss of data c:\2\plugins\GSdx\GSDrawScanline.cpp 120 GSdx
Warning 22 warning C4244: '=' : conversion from 'UINT64' to 'unsigned short', possible loss of data c:\2\plugins\GSdx\GSDrawScanline.cpp 145 GSdx
Warning 23 warning C4018: '<' : signed/unsigned mismatch c:\2\plugins\GSdx\GSDrawScanline.cpp 146 GSdx
Warning 24 warning C4244: '=' : conversion from 'UINT32' to 'unsigned short', possible loss of data c:\2\plugins\GSdx\GSDrawScanline.cpp 146 GSdx
Warning 25 warning C4389: '!=' : signed/unsigned mismatch c:\2\plugins\GSdx\GSDevice7.cpp 145 GSdx
Warning 26 warning C4389: '!=' : signed/unsigned mismatch c:\2\plugins\GSdx\GSDevice7.cpp 145 GSdx
Warning 27 warning C4389: '==' : signed/unsigned mismatch c:\2\plugins\GSdx\GSState.cpp 1057 GSdx
Warning 28 warning C4018: '<' : signed/unsigned mismatch c:\2\plugins\GSdx\GSState.cpp 1057 GSdx
Warning 29 warning C4389: '==' : signed/unsigned mismatch c:\2\plugins\GSdx\GSState.cpp 1057 GSdx
Warning 30 warning C4018: '>=' : signed/unsigned mismatch c:\2\plugins\GSdx\GSState.cpp 1083 GSdx
Warning 31 warning C4018: '>' : signed/unsigned mismatch c:\2\plugins\GSdx\GSState.cpp 1100 GSdx
Warning 32 warning C4018: '<' : signed/unsigned mismatch c:\2\plugins\GSdx\GSState.cpp 1107 GSdx
Warning 33 warning C4389: '==' : signed/unsigned mismatch c:\2\plugins\GSdx\GSState.cpp 1141 GSdx
Warning 34 warning C4389: '==' : signed/unsigned mismatch c:\2\plugins\GSdx\GSState.cpp 1141 GSdx
Warning 35 warning C4244: '=' : conversion from 'DWORD' to 'WORD', possible loss of data c:\2\plugins\GSdx\GSLocalMemory.cpp 1429 GSdx
Warning 36 warning C4244: '=' : conversion from 'DWORD' to 'BYTE', possible loss of data c:\2\plugins\GSdx\GSLocalMemory.cpp 1446 GSdx
Warning 37 warning C4244: '=' : conversion from 'unsigned long' to 'BYTE', possible loss of data c:\2\plugins\GSdx\GSLocalMemory.cpp 1463 GSdx
Warning 38 warning C4244: '=' : conversion from 'DWORD' to 'BYTE', possible loss of data c:\2\plugins\GSdx\GSLocalMemory.cpp 1480 GSdx
Warning 39 warning C4244: '=' : conversion from 'unsigned long' to 'BYTE', possible loss of data c:\2\plugins\GSdx\GSLocalMemory.cpp 1497 GSdx
Warning 40 warning C4244: '=' : conversion from 'unsigned long' to 'BYTE', possible loss of data c:\2\plugins\GSdx\GSLocalMemory.cpp 1514 GSdx
Warning 41 warning C4706: assignment within conditional expression c:\2\plugins\gsdx\baseclasses\wxutil.cpp 420 GSdx
Warning 42 warning C4706: assignment within conditional expression c:\2\plugins\gsdx\baseclasses\schedule.cpp 120 GSdx
1>LINK : fatal error LNK1181: cannot open input file 'dsound.lib'
i get this error everytime even though i put the directories for lib and i've tried it a million times
(02-15-2009, 10:43 PM)LuisR14 Wrote: [ -> ]you have to link to dsound.lib (which means you have to have the dx sdk installed) Smile

(02-16-2009, 06:58 AM)LuisR14 Wrote: [ -> ]go to project->properties, click the plus on "configuration properties->linker" in "input:additional dependencies" you type it there. Smile
I added the dsound.lib in additional dependencies and it still gives me that fatal error and i've installed directx SDK nov 2008 and linked it exactly and it just won't compile it
You have to add it into Include path and Lib path, not only Include path
(02-19-2009, 05:30 AM)Funnnny Wrote: [ -> ]You have to add it into Include path and Lib path, not only Include path
yea that also (forgot to mention it)
if you mean setting both paths for the sound plugin i've done both include and lib and still i get that error

is it possible you could explain where cause i put in C/C++ in general in Additional Include directories the exact path to it from directx SDK and it still won't compile can't figure it out
ok try this.
(02-16-2009, 05:17 PM)LuisR14 Wrote: [ -> ]go to "Tools->Options->Projects and Solutions->VC++ Directories" and you put the include folders there (make sure you choose the right option under "Show Directories for") Smile

(02-17-2009, 02:12 AM)dralor Wrote: [ -> ]in the include files under properties in VC++ include the include folder of the directx sdk. under the lib files in the same way include the directx SDk lib files. You have to do both or it won't compile.

(02-17-2009, 02:44 AM)tabasket Wrote: [ -> ]make sure that when you add the lib files for sdk, add the x64 and x86 folder separately.

oh and next time edit your post instead of double posting. Closedeyes
sorry about the double post =/ just so frustrating so under the directories for include files i put C:\Program Files\Microsoft DirectX SDK (November 2008)\Include is that wrong?