FrozenPickle / Afterglow

A plugin framework to perform image capturing, colour extraction, post processing and colour output - primarily for use with lighting systems such as for ambient lighting.
GNU Lesser General Public License v3.0
14 stars 8 forks source link

Problems with compilation #6

Closed silasmariusz closed 10 years ago

silasmariusz commented 11 years ago

Hi guys...

I wanna join the project and bring some stuff from me... But I have a problem with compilation.

I tried to compile it on VS2010 and VS2012... Here is output:

Warning 1 'EasyHook.Config.PrintError(string, params object[])' is obsolete: 'This method is exported for internal use only.' D:_Proj\2010\Afterglow\Afterglow.DirectX\InjectionLoaderProxy.cs 27 17 Afterglow.DirectX Warning 2 Unreachable code detected D:_Proj\2010\Afterglow\Afterglow.DirectX\InjectionLoaderProxy.cs 31 13 Afterglow.DirectX Warning 3 Field 'Afterglow.DirectX.DXHookD3D11._swapChainPointer' is never assigned to, and will always have its default value D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D11.cs 215 24 Afterglow.DirectX Warning 4 Field 'Afterglow.DirectX.DXHookD3D10._swapChainPointer' is never assigned to, and will always have its default value D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D10.cs 248 24 Afterglow.DirectX Warning 5 Field 'Afterglow.DirectX.DXHookD3D10_1._swapChainPointer' is never assigned to, and will always have its default value D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D10_1.cs 252 24 Afterglow.DirectX Error 6 The type or namespace name 'EasyHook' could not be found (are you missing a using directive or an assembly reference?) D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs 10 7 Afterglow.DirectX.Plugin Error 7 The type or namespace name 'ScreenshotInterface' does not exist in the namespace 'Afterglow.DirectX' (are you missing an assembly reference?) D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs 15 25 Afterglow.DirectX.Plugin Error 8 The type or namespace name 'ScreenshotResponse' could not be found (are you missing a using directive or an assembly reference?) D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs 68 17 Afterglow.DirectX.Plugin Error 9 The command "D:_Proj\2010\Afterglow\External\ILMerge\ILMerge.exe /targetplatform:v4,C:\Windows\Microsoft.NET\Framework\v4.0.30319 /keyfile:D:_Proj\2010\Afterglow\Afterglow.DirectX\keyfile.snk /out:D:_Proj\2010\Afterglow\bin\Afterglow.DirectX.dll D:_Proj\2010\Afterglow\Afterglow.DirectX\bin\x86\Debug\Afterglow.DirectX.dll D:_Proj\2010\Afterglow\Afterglow.DirectX\EasyHookBin\EasyHook.dll" exited with code 1. Afterglow.DirectX Warning 10 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "D:_Proj\2010\Afterglow\Afterglow.Core\bin\x86\Debug\Afterglow.Core.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. Afterglow.Web

------ Rebuild All started: Project: Afterglow.Core, Configuration: Debug x86 ------ Afterglow.Core -> D:_Proj\2010\Afterglow\Afterglow.Core\bin\x86\Debug\Afterglow.Core.dll ------ Rebuild All started: Project: Afterglow.DirectX, Configuration: Debug x86 ------ D:_Proj\2010\Afterglow\Afterglow.DirectX\InjectionLoaderProxy.cs(27,17): warning CS0618: 'EasyHook.Config.PrintError(string, params object[])' is obsolete: 'This method is exported for internal use only.' D:_Proj\2010\Afterglow\Afterglow.DirectX\InjectionLoaderProxy.cs(31,13): warning CS0162: Unreachable code detected D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D11.cs(215,24): warning CS0649: Field 'Afterglow.DirectX.DXHookD3D11._swapChainPointer' is never assigned to, and will always have its default value D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D10_1.cs(252,24): warning CS0649: Field 'Afterglow.DirectX.DXHookD3D10_1._swapChainPointer' is never assigned to, and will always have its default value D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D10.cs(248,24): warning CS0649: Field 'Afterglow.DirectX.DXHookD3D10._swapChainPointer' is never assigned to, and will always have its default value

Compile complete -- 0 errors, 5 warnings Afterglow.DirectX -> D:_Proj\2010\Afterglow\Afterglow.DirectX\bin\x86\Debug\Afterglow.DirectX.dll An exception occurred during merging: "Cannot find path" 'D:_Proj\2010\Afterglow\bin\Afterglow.DirectX.dll'. w System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) w System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) w System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) w System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) w System.Compiler.Writer.WritePE(String location, Boolean writeDebugSymbols, Module module, Boolean delaySign, String keyFileName, String keyName) w System.Compiler.Writer.WritePE(CompilerParameters compilerParameters, Module module) w ILMerging.ILMerge.Merge() w ILMerging.ILMerge.Main(String[] args) C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(4264,5): error MSB3073: The command "D:_Proj\2010\Afterglow\External\ILMerge\ILMerge.exe /targetplatform:v4,C:\Windows\Microsoft.NET\Framework\v4.0.30319 /keyfile:D:_Proj\2010\Afterglow\Afterglow.DirectX\keyfile.snk /out:D:_Proj\2010\Afterglow\bin\Afterglow.DirectX.dll D:_Proj\2010\Afterglow\Afterglow.DirectX\bin\x86\Debug\Afterglow.DirectX.dll D:_Proj\2010\Afterglow\Afterglow.DirectX\EasyHookBin\EasyHook.dll" exited with code 1. ------ Rebuild All started: Project: Afterglow.Plugins.Default, Configuration: Debug x86 ------ Afterglow.Plugins.Default -> D:_Proj\2010\Afterglow\Afterglow.Plugins.Default\bin\x86\Debug\Afterglow.Plugins.Default.dll ------ Rebuild All started: Project: Afterglow.DirectX.Plugin, Configuration: Debug x86 ------ D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs(10,7): error CS0246: The type or namespace name 'EasyHook' could not be found (are you missing a using directive or an assembly reference?) D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs(15,25): error CS0234: The type or namespace name 'ScreenshotInterface' does not exist in the namespace 'Afterglow.DirectX' (are you missing an assembly reference?) D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs(68,17): error CS0246: The type or namespace name 'ScreenshotResponse' could not be found (are you missing a using directive or an assembly reference?)

Compile complete -- 3 errors, 0 warnings ------ Rebuild All started: Project: Afterglow.Web, Configuration: Debug x86 ------ C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "D:_Proj\2010\Afterglow\Afterglow.Core\bin\x86\Debug\Afterglow.Core.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. Afterglow.Web -> D:_Proj\2010\Afterglow\Afterglow.Web\bin\Debug\Afterglow.Web.exe ========== Rebuild All: 3 succeeded, 2 failed, 0 skipped ==========

Can you help ? Best regards

justinstenning commented 10 years ago

Build issues should be sorted now, you can ignore those warnings.