Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows - Compile Guide and Support
And same problem again, this time with the 2012 project file with Visual Studio 2012 Angry

[Image: XRN4oVs.png]

Code:
1>------ Build started: Project: GSdx, Configuration: Debug SSE2 Win32 ------
1>Build started 4/16/2015 7:03:45 PM.
1>PrepareForBuild:
1>  Creating directory "C:\Development\Project Source\PCSX2\bin\plugins\".
1>InitializeBuildStatus:
1>  Creating "Win32\Debug SSE2\GSdx.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>PreBuildEvent:
1>  'SubWCRev.exe' is not recognized as an internal or external command,
1>  operable program or batch file.
1>  Automatic revision update unavailable, using generic template instead.
1>  You can safely ignore this message - see svnrev.h for details.
1>          1 file(s) copied.
1>          1 file(s) copied.
1>ClCompile:
1>  stdafx.cpp
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(69): error C2059: syntax error : '__stdcall'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(70): error C2059: syntax error : '__stdcall'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(71): error C2065: 'GLuint64' : undeclared identifier
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(71): error C2146: syntax error : missing ')' before identifier 'handle'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(71): error C2165: 'left-side modifier' : cannot modify pointers to data
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(71): error C2513: 'void *' : no variable declared before '='
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(71): error C2059: syntax error : ')'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(72): error C2065: 'GLuint64' : undeclared identifier
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(72): error C2146: syntax error : missing ')' before identifier 'handle'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(72): error C2165: 'left-side modifier' : cannot modify pointers to data
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(72): error C2513: 'void *' : no variable declared before '='
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(72): error C2059: syntax error : ')'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(73): error C2059: syntax error : '__stdcall'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(74): error C2065: 'GLuint64' : undeclared identifier
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(74): error C2146: syntax error : missing ')' before identifier 'handle'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(74): error C2165: 'left-side modifier' : cannot modify pointers to data
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(74): error C2513: 'void *' : no variable declared before '='
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(74): error C2059: syntax error : ')'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(75): error C2065: 'GLuint64' : undeclared identifier
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(75): error C2146: syntax error : missing ')' before identifier 'handle'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(75): error C2165: 'left-side modifier' : cannot modify pointers to data
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(75): error C2513: 'void *' : no variable declared before '='
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(75): error C2059: syntax error : ')'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(76): error C2061: syntax error : identifier 'GLuint64'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(77): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(77): error C2143: syntax error : missing ',' before '*'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(78): error C2061: syntax error : identifier 'GLuint64'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(79): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(79): error C2143: syntax error : missing ',' before '*'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(80): error C2065: 'GLuint64' : undeclared identifier
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(80): error C2146: syntax error : missing ')' before identifier 'handle'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(80): error C2165: 'left-side modifier' : cannot modify pointers to data
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(80): error C2513: 'GLboolean *' : no variable declared before '='
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(80): error C2059: syntax error : ')'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(81): error C2065: 'GLuint64' : undeclared identifier
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(81): error C2146: syntax error : missing ')' before identifier 'handle'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(81): error C2165: 'left-side modifier' : cannot modify pointers to data
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(81): error C2513: 'GLboolean *' : no variable declared before '='
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(81): error C2059: syntax error : ')'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(97): error C2146: syntax error : missing ';' before identifier 'gl_BindSampler'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(97): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(97): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(99): error C2146: syntax error : missing ';' before identifier 'gl_BlendEquationSeparateiARB'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(99): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(99): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(100): error C2146: syntax error : missing ';' before identifier 'gl_BlendFuncSeparateiARB'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(100): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(100): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(111): error C2146: syntax error : missing ';' before identifier 'gl_CreateShaderProgramv'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(115): error C2146: syntax error : missing ';' before identifier 'gl_DeleteSamplers'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(115): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(115): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(120): error C2146: syntax error : missing ';' before identifier 'gl_DrawElementsBaseVertex'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(126): error C2146: syntax error : missing ';' before identifier 'gl_GenSamplers'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(126): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(126): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(129): error C2146: syntax error : missing ';' before identifier 'gl_GetDebugMessageLogARB'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(138): error C2146: syntax error : missing ';' before identifier 'gl_ProgramParameteri'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(139): error C2146: syntax error : missing ';' before identifier 'gl_SamplerParameterf'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(140): error C2146: syntax error : missing ';' before identifier 'gl_SamplerParameteri'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(144): error C2146: syntax error : missing ';' before identifier 'gl_UseProgramStages'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(148): error C2146: syntax error : missing ';' before identifier 'gl_FenceSync'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(149): error C2146: syntax error : missing ';' before identifier 'gl_DeleteSync'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(149): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(149): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(150): error C2146: syntax error : missing ';' before identifier 'gl_ClientWaitSync'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(150): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(150): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(153): error C2146: syntax error : missing ';' before identifier 'gl_UniformSubroutinesuiv'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(153): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(153): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(155): error C2146: syntax error : missing ';' before identifier 'gl_BindProgramPipeline'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(155): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(155): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(156): error C2146: syntax error : missing ';' before identifier 'gl_DeleteProgramPipelines'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(156): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(156): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(157): error C2146: syntax error : missing ';' before identifier 'gl_GenProgramPipelines'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(157): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(157): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(158): error C2146: syntax error : missing ';' before identifier 'gl_GetProgramPipelineiv'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(158): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(158): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(159): error C2146: syntax error : missing ';' before identifier 'gl_ValidateProgramPipeline'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(159): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(159): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(160): error C2146: syntax error : missing ';' before identifier 'gl_GetProgramPipelineInfoLog'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(160): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(160): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(164): error C2146: syntax error : missing ';' before identifier 'gl_ProgramUniform1i'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(164): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(164): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(170): error C2146: syntax error : missing ';' before identifier 'gl_BindImageTexture'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(170): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(170): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(171): error C2146: syntax error : missing ';' before identifier 'gl_MemoryBarrier'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(171): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(171): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(172): error C2146: syntax error : missing ';' before identifier 'gl_TexStorage2D'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(172): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(172): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(180): error C2146: syntax error : missing ';' before identifier 'gl_GetTextureSamplerHandleARB'
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\development\project source\pcsx2\plugins\gsdx\GLLoader.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.66
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Reply

Sponsored links

AFAIK Gregory's recent changes require C++11 features that <VS13 don't have. Either grab the community edition or revert to an older revision.
Reply
Oh, yes! Laugh
I've installed all updates from Windows Update!
And now I can Build GSdx PS - X

EDIT: I'm using the pcsx2-1.2.1 source code! PS - Circle

[Image: 6cihiUj.png]

[Image: u9NLT48.png]
Reply
I had some problems while compiling my devel build.

First of all, I can't understand why I had to provide again windows SDK path to VS because it couldn't find "windows.h" in line 207 of opencl.cpp.

Speaking of that project, __useHeader (found in sal_supp.h) and __on_failure (found in specstrings_supp.h) "macro redefinition" warnings were present.

Then "unreachable code" warning is produced in line 113 of gssetting.cpp.
Reply
i just updated PCSX2 to the latest Git revision, and can not build successfully anymore Sad

VS 2013 Ultimate shows me this error after building:

Code:
1>------ Rebuild All started: Project: pcsx2, Configuration: Release Win32 ------
1>  commit 809ccc2479c9737b0809c7eef58d7ce830de97c2
1>  Author: refractionpcsx2 <refraction@gmail.com>
1>  Date:   Tue Jun 9 23:55:46 2015 +0100
1>  
1>      Revert "Merge branch 'master' of https://github.com/PCSX2/pcsx2"
1>      
1>      This reverts commit bbf4b58306a480780c5a963ea6ebb694faf2bca0, reversing
1>      changes made to 5f201e21eeb0c4ab287b53e2e44e22a9e5f2d591.
1>          1 Datei(en) kopiert.
1>  Performing Custom Build Tools
1>  Bin2CPP Output > ConfigIcon_Appearance.h
1>  Bin2CPP Output > AppIcon16.h
1>  Bin2CPP Output > AppIcon32.h
1>  Bin2CPP Output > AppIcon64.h
1>  Bin2CPP Output > BackgroundLogo.h
1>  Bin2CPP Output > ButtonIcon_Camera.h
1>  Bin2CPP Output > ConfigIcon_Cpu.h
1>  Bin2CPP Output > ConfigIcon_Gamefixes.h
1>  Bin2CPP Output > ConfigIcon_MemoryCard.h
1>  Bin2CPP Output > ConfigIcon_Paths.h
1>  Bin2CPP Output > ConfigIcon_Plugins.h
1>  Bin2CPP Output > ConfigIcon_Speedhacks.h
1>  Bin2CPP Output > ConfigIcon_Video.h
1>  Bin2CPP Output > Dualshock.h
1>  Performing Custom Build Tools
1>  Bin2CPP Output > Breakpoint_Active.h
1>  Performing Custom Build Tools
1>  Bin2CPP Output > Breakpoint_Inactive.h
1>  PrecompiledHeader.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(126): error C2039: 'fmaf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(126): error C3861: 'fmaf': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(131): error C2039: 'fma' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(131): error C3861: 'fma': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(136): error C2039: 'fmal' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(136): error C3861: 'fmal': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(154): error C2039: 'remquof' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(154): error C3861: 'remquof': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(159): error C2039: 'remquo' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(159): error C3861: 'remquo': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(164): error C2039: 'remquol' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(164): error C3861: 'remquol': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(26): error C2039: 'fabs' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(26): error C2873: 'fabs' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(28): error C2039: 'modf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(28): error C2873: 'modf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(32): error C2039: 'acosf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(32): error C2873: 'acosf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(32): error C2039: 'asinf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(32): error C2873: 'asinf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(33): error C2039: 'atanf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(33): error C2873: 'atanf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(33): error C2039: 'atan2f' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(33): error C2873: 'atan2f' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(33): error C2039: 'ceilf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(33): error C2873: 'ceilf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(34): error C2039: 'cosf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(34): error C2873: 'cosf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(34): error C2039: 'coshf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(34): error C2873: 'coshf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(34): error C2039: 'expf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(34): error C2873: 'expf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(35): error C2039: 'fabsf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(35): error C2873: 'fabsf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(35): error C2039: 'floorf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(35): error C2873: 'floorf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(35): error C2039: 'fmodf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(35): error C2873: 'fmodf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(36): error C2039: 'frexpf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(36): error C2873: 'frexpf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(36): error C2039: 'ldexpf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(36): error C2873: 'ldexpf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(36): error C2039: 'logf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(36): error C2873: 'logf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(37): error C2039: 'log10f' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(37): error C2873: 'log10f' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(37): error C2039: 'modff' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(37): error C2873: 'modff' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(37): error C2039: 'powf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(37): error C2873: 'powf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(38): error C2039: 'sinf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(38): error C2873: 'sinf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(38): error C2039: 'sinhf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(38): error C2873: 'sinhf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(38): error C2039: 'sqrtf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(38): error C2873: 'sqrtf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(39): error C2039: 'tanf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(39): error C2873: 'tanf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(39): error C2039: 'tanhf' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(39): error C2873: 'tanhf' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(41): error C2039: 'acosl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(41): error C2873: 'acosl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(41): error C2039: 'asinl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(41): error C2873: 'asinl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(42): error C2039: 'atanl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(42): error C2873: 'atanl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(42): error C2039: 'atan2l' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(42): error C2873: 'atan2l' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(42): error C2039: 'ceill' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(42): error C2873: 'ceill' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(43): error C2039: 'cosl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(43): error C2873: 'cosl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(43): error C2039: 'coshl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(43): error C2873: 'coshl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(43): error C2039: 'expl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(43): error C2873: 'expl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(44): error C2039: 'fabsl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(44): error C2873: 'fabsl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(44): error C2039: 'floorl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(44): error C2873: 'floorl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(44): error C2039: 'fmodl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(44): error C2873: 'fmodl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(45): error C2039: 'frexpl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(45): error C2873: 'frexpl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(45): error C2039: 'ldexpl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(45): error C2873: 'ldexpl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(45): error C2039: 'logl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(45): error C2873: 'logl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(46): error C2039: 'log10l' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(46): error C2873: 'log10l' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(46): error C2039: 'modfl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(46): error C2873: 'modfl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(46): error C2039: 'powl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(46): error C2873: 'powl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(47): error C2039: 'sinl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(47): error C2873: 'sinl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(47): error C2039: 'sinhl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(47): error C2873: 'sinhl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(47): error C2039: 'sqrtl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(47): error C2873: 'sqrtl' : symbol cannot be used in a using-declaration
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(48): error C2039: 'tanl' : is not a member of '`global namespace''
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(48): fatal error C1003: error count exceeds 100; stopping compilation
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


or VS2013 says:
Code:
27>..\..\x86\iMMI.cpp(28): fatal error C1083: Cannot open include file: 'Utilities/Math.h': No such file or directory
...
27>..\..\MMI.cpp(19): fatal error C1083: Cannot open include file: 'Utilities/Math.h': No such file or directory


i had no problem building PCSX2 before, or could get rid of errors, but this i don't get :/


today after updating to the latest git revision, the problem has been solved.

thanks for your time and sorry for my english.
Reply
I'm trying to build the latest git sources and I'm running into trouble. I haven't been able to find any current compile guide, so I'm sort of blundering around as best I can. I hope someone can provide some guidance.

Platform:

OS: Windows 10 Enterprise x64
VS: Visual Studio Professional 2013

Procedure:

1. Cloned the github repo
2. Opened the "pcsx2_suite_2013.sln" solution file.
3. Attempted build #1
- This ended with errors around ASIOSDK. I grabbed ASIOSDK 2.3 and dropped it into the path indicated by the errors.
4. Attempted build #2
- The next build attempt gave me character width errors. I solved this by disabling unicode on the portaudio project properties.
5. Attempted build #3
- This gives me errors about being unable to find d3dx11.h and d3dx9.h
6. Since MS now ships DX with the Windows SDK, I downloaded and installed the Windows 10 SDK and did a complete install
- This did not resolve the error

And that is where I am. Is there a clean way to resolve this without having different DX versions clobbering each other?
Reply
You prolly need to install the old DX SDX. I dunno of any other way.

If you wanna avoid conflicts you could do it in a VM.
[Image: ov4]
Gaming: Intel i7 3770k @ 4.2Ghz | R9 290 | 16GB RAM | 480GB(240GB+240GB RAID0) SSD | 3 TB HDD | 1 TB HDD | 500GB HDD
Server: AMD FX 6300 @ 4.4Ghz | GTX 670 | 16GB RAM | 240GB SSD | 320GB HDD
PCSX2 General Troubleshooting FAQ
Reply
D3DX is depreciated and is not in the Windows SDK.  Use this fork if you don't want to DL the DX SDK.
Reply
That branch is a bit outdated, I haven't updated it for 2 months and there's been quite a lot of development during that time. I probably won't be updating it for quite a while.
Reply
Maybe I'm a bit late but... How do I compile the latest build from the github repository? I'm interested in testing new features but whenever I try to compile (I execute the mscompile.cmd file from the root directory) I get an error message saying that I don't have the correct version of Visual Studio... I tried installing both the 2015 edition (with the updates) and 2017 edition, but to no avail... I've googled up and the closest I've been able to round the error is that the .cmd is looking for "vcvarsall.bat", which is a file that comes with the 2015 edition, yet I've searched every folder and file and there's nothing, so I've got no way to compile the emulator.

Any help will be appreciated Laugh

EDIT: OK, I just realise there was a compiling bot that has rendered my question useless, so no need for help  Wacko
Reply




Users browsing this thread: 1 Guest(s)