..:: 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 get no error but insted of a dll i get this "CDVDiso_vs2008.ncb"
(02-06-2009, 04:16 PM)Rozencraft Wrote: [ -> ]i get no error but insted of a dll i get this "CDVDiso_vs2008.ncb"

.ncb files are generated by Visual Studio when you open a workspace. They contain Intellisense information. The DLLs are located in bin/plugins/ (relative to the same path where the ncb file shows up).
i get this error
.\SPU2ghz.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.

when trying to compile spu2ghz
i have the dx sdk
i have to download this? DXSDK_Nov08 ?
RE: Compile Guide
Just open the .sln fine. If you get an error about afxres.h, change it to afxresmw.h
change the build to release (or whatever you want) in build -> configuration manager
I was able to compile it fine like that.
Are there any particular problems you're having?





just saw this post, so sorry for above post, but where exactly do i change afxres.h, to afxresmw.h
http://forums.pcsx2.net/thread-3567.html

Read ther our new svn location. Thanks
in the new "merged" repo (rev: 436)
I get alot of these errors when i compile:
Code:
1>------ Build started: Project: pcsx2, Configuration: Release Win32 ------
1>Performing Pre-Build Event...
1>SubWCRev.exe is not recognized as an internal or external command, operable program or batch file.
1>SubWCRev.exe is not recognized as an internal or external command, operable program or batch file.
1>Linking...
1>AboutDlg.obj : error LNK2001: unresolved external symbol "char const * const LabelAuthors" (?LabelAuthors@@3PBDB)
1>AboutDlg.obj : error LNK2001: unresolved external symbol "char const * const LabelGreets" (?LabelGreets@@3PBDB)
1>AdvancedDlg.obj : error LNK2001: unresolved external symbol "struct PcsxConfig Config" (?Config@@3UPcsxConfig@@A)
1>ConfigDlg.obj : error LNK2001: unresolved external symbol "int __cdecl IsBIOS(char *,char *)" (?IsBIOS@@YAHPAD0@Z)
1>WinMain.obj : error LNK2001: unresolved external symbol "char * __cdecl ParseLang(char *)" (?ParseLang@@YAPADPAD@Z)
1>WinMain.obj : error LNK2001: unresolved external symbol "void __cdecl InitCPUTicks(void)" (?InitCPUTicks@@YAXXZ)
1>WinSysExec.obj : error LNK2001: unresolved external symbol "int __cdecl GetPS2ElfName(char *)" (?GetPS2ElfName@@YAHPAD@Z)
1>WinSysExec.obj : error LNK2001: unresolved external symbol "void __cdecl ProcessFKeys(int,int)" (?ProcessFKeys@@YAXHH@Z)
1>Counters.obj : error LNK2001: unresolved external symbol "unsigned __int64 __cdecl GetCPUTicks(void)" (?GetCPUTicks@@YA_KXZ)
1>Counters.obj : error LNK2001: unresolved external symbol "unsigned __int64 __cdecl GetTickFrequency(void)" (?GetTickFrequency@@YA_KXZ)
1>CDVD.obj : error LNK2001: unresolved external symbol "unsigned int BiosVersion" (?BiosVersion@@3IA)
1>Memory.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl GetBiosVersion(void)" (?GetBiosVersion@@YAIXZ)

Any ideas to why?
(02-03-2009, 11:35 PM)FalkonJ Wrote: [ -> ]
(01-24-2009, 04:55 AM)InuTaisho Wrote: [ -> ]plugins won't build on linux, I get following error:

Code:
build.sh: 5: function: not found

It repeats indefinitely...

I'm also getting this error, I'm on Ubuntu 8.10 64-bit.

Look at this post : http://forums.pcsx2.net/thread-3627.html

You must replace :
sh build.sh $option

by :
bash build.sh $option

In build.sh, line 35.

PS :
And optionally (cleaner) :
#!bin/sh
by
#!bin/bash

In plugins/build.sh, line 1.
Ok. I got a registered Microsoft Visual Studio PRO 2008, installed DirectX SDK November 2008, but I'm still getting errors when releasing some plug-ins..

Here are the logs:

Spu2ghz:

PHP Code:
1>------ Build startedProjectSPU2ghzConfigurationRelease Win32 ------
1>Performing Pre-Build Event...
1>SubWCRev'e:\Pcsx2\plugins\spu2ghz\src'
1>Last committed at revision 458
1
>Updated to revision 460
1
>SubWCRev'e:\Pcsx2\plugins\spu2ghz\src'
1>Last committed at revision 458
1
>Updated to revision 460
1
>Compiling...
1>WavFile.cpp
1
>TDStretch.cpp
1
>sse_optimized.cpp
1
>SoundTouch.cpp
1
>RateTransposer.cpp
1
>mmx_optimized.cpp
1
>FIRFilter.cpp
1
>FIFOSampleBuffer.cpp
1
>cpu_detect_x86_win.cpp
1
>AAFilter.cpp
1
>3dnow_win.cpp
1
>dsp.cpp
1
>config.cpp
1
>Compiling...
1>parse.c
1
>imdct.c
1
>downmix.c
1
>bitstream.c
1
>bit_allocate.c
1
>Compiling...
1>decoder.cpp
1
>lowpass.cpp
1
>dsoundout.cpp
1
>.\dsoundout.cpp(23) : fatal error C1083Cannot open include file'dsound.h'No such file or directory
1
>dsound51.cpp
1
>.\dsound51.cpp error C2471cannot update program database 'e:\pcsx2\plugins\spu2ghz\src\win32\release\vc90.pdb'
1>.\dsound51.cpp(23) : fatal error C1083Cannot open include file'dsound.h'No such file or directory
1
>xaudio2out.cpp
1
>.\xaudio2out.cpp error C2471cannot update program database 'e:\pcsx2\plugins\spu2ghz\src\win32\release\vc90.pdb'
1>.\xaudio2out.cpp(21) : fatal error C1083Cannot open include file'xaudio2.h'No such file or directory
1
>waveout.cpp
1
>..\waveout.cpp error C2471cannot update program database 'e:\pcsx2\plugins\spu2ghz\src\win32\release\vc90.pdb'
1>..\waveout.cpp(279) : fatal error C1903unable to recover from previous error(s); stopping compilation
1
>..\waveout.cpp(279) : error C2418cannot delete browser fileRelease\waveout.sbr
1
>wavedump_wav.cpp
1
>..\wavedump_wav.cpp error C2471cannot update program database 'e:\pcsx2\plugins\spu2ghz\src\win32\release\vc90.pdb'
1>..\wavedump_wav.cpp(197) : fatal error C1903unable to recover from previous error(s); stopping compilation
1
>..\wavedump_wav.cpp(197) : error C2418cannot delete browser fileRelease\wavedump_wav.sbr
1
>spu2replay.cpp
1
>..\spu2replay.cpp error C2471cannot update program database 'e:\pcsx2\plugins\spu2ghz\src\win32\release\vc90.pdb'
1>..\spu2replay.cpp(197) : fatal error C1903unable to recover from previous error(s); stopping compilation
1
>..\spu2replay.cpp(197) : error C2418cannot delete browser fileRelease\spu2replay.sbr
1
>debug.cpp
1
>..\debug.cpp error C2471cannot update program database 'e:\pcsx2\plugins\spu2ghz\src\win32\release\vc90.pdb'
1>..\debug.cpp(259) : fatal error C1903unable to recover from previous error(s); stopping compilation
1
>..\debug.cpp(259) : error C2418cannot delete browser fileRelease\debug.sbr
1
>Build log was saved at "file://e:\Pcsx2\plugins\spu2ghz\src\Win32\Release\BuildLog.htm"
1>SPU2ghz 17 error(s), 0 warning(s)
========== 
Build0 succeeded1 failed0 up-to-date0 skipped ========== 

Zero GS:

PHP Code:
1>SubWCRev'e:\Pcsx2\plugins\zerogs\dx'
1>Last committed at revision 458
1
>Updated to revision 460
1
>Performing Custom Build Step
1
Assemblinge:\Pcsx2\plugins\zerogs\dx\x86-32.asm
1
>Compiling...
1>zerogs.cpp
1
>..\zerogs.cpp(20) : fatal error C1083Cannot open include file'd3dx9.h'No such file or directory
1
>x86.cpp
1
>..\x86.cpp(22) : fatal error C1083Cannot open include file'd3dx9.h'No such file or directory
1
>Win32.cpp
1
>.\Win32.cpp(2) : fatal error C1083Cannot open include file'd3dx9.h'No such file or directory
1
>targets.cpp
1
>..\targets.cpp(20) : fatal error C1083Cannot open include file'd3dx9.h'No such file or directory
1
>Regs.cpp
1
>..\Regs.cpp(20) : fatal error C1083Cannot open include file'd3dx9.h'No such file or directory
1
>memcpy_amd.cpp
1
>Mem.cpp
1
>..\Mem.cpp(19) : fatal error C1083Cannot open include file'd3dx9.h'No such file or directory
1
>GSmain.cpp
1
>..\GSmain.cpp(19) : fatal error C1083Cannot open include file'd3dx9.h'No such file or directory
1
>Conf.cpp
1
>.\Conf.cpp(2) : fatal error C1083Cannot open include file'd3dx9.h'No such file or directory
1
>Build log was saved at "file://e:\Pcsx2\plugins\zerogs\dx\Win32\Release\BuildLog.htm"
1>ZeroGS 8 error(s), 0 warning(s)
========== 
Build0 succeeded1 failed0 up-to-date0 skipped ========== 

Zero SPU 2:

PHP Code:
1>------ Build startedProjectZeroSPU2ConfigurationRelease Win32 ------
1>Performing Pre-Build Event...
1>SubWCRev'e:\Pcsx2\plugins\zerospu2'
1>Last committed at revision 458
1
>Updated to revision 460
1
>SubWCRev'e:\Pcsx2\plugins\zerospu2'
1>Last committed at revision 458
1
>Updated to revision 460
1
>Compiling...
1>WavFile.cpp
1
>TDStretch.cpp
1
>sse_optimized.cpp
1
>SoundTouch.cpp
1
>RateTransposer.cpp
1
>FIRFilter.cpp
1
>FIFOSampleBuffer.cpp
1
>cpu_detect_x86_win.cpp
1
>AAFilter.cpp
1
>3dnow_win.cpp
1
>zerospu2.cpp
1
>D:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1020) : warning C4005'ARRAYSIZE' macro redefinition
1
>        e:\pcsx2\plugins\zerospu2\common\PS2Etypes.h(30) : see previous definition of 'ARRAYSIZE'
1>zerodma.cpp
1
>D:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1020) : warning C4005'ARRAYSIZE' macro redefinition
1
>        e:\pcsx2\plugins\zerospu2\common\PS2Etypes.h(30) : see previous definition of 'ARRAYSIZE'
1>Win32.cpp
1
>voices.cpp
1
>D:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1020) : warning C4005'ARRAYSIZE' macro redefinition
1
>        e:\pcsx2\plugins\zerospu2\common\PS2Etypes.h(30) : see previous definition of 'ARRAYSIZE'
1>dsound51.cpp
1
>.\dsound51.cpp(25) : fatal error C1083Cannot open include file'dsound.h'No such file or directory
1
>Build log was saved at "file://e:\Pcsx2\plugins\zerospu2\Win32\Release\BuildLog.htm"
1>ZeroSPU2 1 error(s), 3 warning(s)
========== 
Build0 succeeded1 failed0 up-to-date0 skipped ========== 

CDVDiso, Pcsx2, pthreads and ZeroPAD compiles just fine...

Help please? Any ideas? Any clues ? Am I screwing something? Thanks.
Obviously missing the DX SDK