Roland Posted November 4, 2010 Share Posted November 4, 2010 My question is not about the C# language. Its more about how to get current Leadwerks C# implementation up and running. What is the procedure? Here is what I have done. I checked out from http://leadwerks-csharp.googlecode.com/svn/trunk (revision 32) into my Leadwerks directory so now I have a subdirectory called leadwerks-csharp. I opened the Leadwerks.sln in Visual Studio 2010 and immediately found that the Leadwerks project was missing. Compilation gives this (Debug x86) ------ Rebuild All started: Project: Leadwerks.Game, Configuration: Debug x86 ------ C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(6,41): error CS0234: The type or namespace name 'Entity' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(58,17): error CS0246: The type or namespace name 'Core' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(59,17): error CS0246: The type or namespace name 'Core' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(60,17): error CS0246: The type or namespace name 'Core' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(61,17): error CS0246: The type or namespace name 'Core' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(409,76): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(409,94): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(409,110): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(536,67): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(536,85): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(536,101): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,67): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,85): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,101): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,142): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,156): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(559,17): error CS0246: The type or namespace name 'Body' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(560,17): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(561,17): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(564,16): error CS0246: The type or namespace name 'Body' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(570,16): error CS0246: The type or namespace name 'Body' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(576,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(582,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(588,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(606,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(612,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\DamageInfo.cs(45,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\DamageInfo.cs(50,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\CameraManager.cs(10,34): error CS0234: The type or namespace name 'Camera' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\CameraManager.cs(12,44): error CS0246: The type or namespace name 'Camera' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\CameraManager.cs(17,23): error CS0246: The type or namespace name 'Camera' could not be found (are you missing a using directive or an assembly reference?) Compile complete -- 31 errors, 0 warnings Build started 2010-11-04 16:22:01. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1200,9): warning : The referenced project '..\..\Leadwerks CSharp Headers\Leadwerks.csproj' does not exist. GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.Game.dll /target:library Ammo.cs Behavior.cs Bullet.cs CameraManager.cs Clip.cs Component.cs DamageInfo.cs DamageType.cs GameEntity.cs GameEntityManager.cs HitInfo.cs IGameEntity.cs Player.cs Properties\AssemblyInfo.cs State.cs Timer.cs Weapon.cs WeaponClip.cs FireMode.cs ZoomMode.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" Build FAILED. Time Elapsed 00:00:00.11 ------ Rebuild All started: Project: Leadwerks.UI, Configuration: Debug x86 ------ Build started 2010-11-04 16:22:01. CoreClean: Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\bin\x86\Debug\Leadwerks.UI.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\bin\x86\Debug\Leadwerks.UI.pdb". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\obj\x86\Debug\Leadwerks.UI.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\obj\x86\Debug\Leadwerks.UI.pdb". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.UI.dll /target:library Class1.cs Properties\AssemblyInfo.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" CopyFilesToOutputDirectory: Copying file from "obj\x86\Debug\Leadwerks.UI.dll" to "bin\x86\Debug\Leadwerks.UI.dll". Leadwerks.UI -> C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\bin\x86\Debug\Leadwerks.UI.dll Copying file from "obj\x86\Debug\Leadwerks.UI.pdb" to "bin\x86\Debug\Leadwerks.UI.pdb". Build succeeded. Time Elapsed 00:00:00.17 ------ Rebuild All started: Project: Leadwerks.AI, Configuration: Debug x86 ------ C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\OpenSteer\Vector3.cs(41,15): warning CS0660: 'OpenSteerDotNet.Vector3' defines operator == or operator != but does not override Object.Equals(object o) C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\OpenSteer\Vector3.cs(41,15): warning CS0661: 'OpenSteerDotNet.Vector3' defines operator == or operator != but does not override Object.GetHashCode() Compile complete -- 0 errors, 2 warnings Build started 2010-11-04 16:22:02. CoreClean: Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\bin\x86\Debug\Leadwerks.AI.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\bin\x86\Debug\Leadwerks.AI.pdb". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\bin\x86\Debug\Recast.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\obj\x86\Debug\Leadwerks.AI.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\obj\x86\Debug\Leadwerks.AI.pdb". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\Recast\Recast.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.AI.dll /target:library OpenSteer\AbstractVehicle.cs OpenSteer\Colours.cs OpenSteer\LocalSpace.cs OpenSteer\lq.cs OpenSteer\lqProximity.cs OpenSteer\Obstacle.cs OpenSteer\OpenSteerUtility.cs OpenSteer\PathWay.cs OpenSteer\Proximity.cs OpenSteer\RandomGenerator.cs OpenSteer\SimpleVehicle.cs OpenSteer\SteerLibrary.cs OpenSteer\Vector3.cs Properties\AssemblyInfo.cs Recast\Class1.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" _CopyFilesMarkedCopyLocal: Copying file from "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\Recast\Recast.dll" to "bin\x86\Debug\Recast.dll". CopyFilesToOutputDirectory: Copying file from "obj\x86\Debug\Leadwerks.AI.dll" to "bin\x86\Debug\Leadwerks.AI.dll". Leadwerks.AI -> C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\bin\x86\Debug\Leadwerks.AI.dll Copying file from "obj\x86\Debug\Leadwerks.AI.pdb" to "bin\x86\Debug\Leadwerks.AI.pdb". Build succeeded. Time Elapsed 00:00:00.21 ------ Rebuild All started: Project: Leadwerks.Controls, Configuration: Debug x86 ------ C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\LETKControl.cs(17,27): error CS0234: The type or namespace name 'Buffer' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\LETKControl.cs(18,27): error CS0234: The type or namespace name 'Core' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\LETKControl.cs(19,27): error CS0234: The type or namespace name 'Core' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\LETKControl.cs(92,26): error CS0234: The type or namespace name 'Buffer' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) Compile complete -- 4 errors, 0 warnings Build started 2010-11-04 16:22:02. CoreClean: Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\obj\x86\Debug\Leadwerks.Controls.Properties.Resources.resources". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\obj\x86\Debug\GenerateResource.read.1.tlog". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\obj\x86\Debug\GenerateResource.write.1.tlog". c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1200,9): warning : The referenced project '..\..\Leadwerks CSharp Headers\Leadwerks.csproj' does not exist. CoreResGen: "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\resgen.exe" /useSourcePath /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /r:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.Compatibility.dll /r:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.dll /r:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.GLControl.dll /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /compile Properties\Resources.resx,obj\x86\Debug\Leadwerks.Controls.Properties.Resources.resources Processing resource file "Properties\Resources.resx" into "obj\x86\Debug\Leadwerks.Controls.Properties.Resources.resources". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.Compatibility.dll /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.dll /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.GLControl.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.Controls.dll /resource:obj\x86\Debug\Leadwerks.Controls.Properties.Resources.resources /target:library Properties\AssemblyInfo.cs Properties\Resources.Designer.cs LETKControl.cs LETKControl.Designer.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" Build FAILED. Time Elapsed 00:00:00.11 ------ Rebuild All started: Project: Leadwerks.Sound, Configuration: Debug x86 ------ Build started 2010-11-04 16:22:02. CoreClean: Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\bin\x86\Debug\fmodex.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\bin\x86\Debug\Leadwerks.Sound.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\bin\x86\Debug\Leadwerks.Sound.pdb". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\obj\x86\Debug\Leadwerks.Sound.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\obj\x86\Debug\Leadwerks.Sound.pdb". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.Sound.dll /target:library fmod.cs fmod_dsp.cs fmod_errors.cs fmod_memoryinfo.cs Properties\AssemblyInfo.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" _CopyOutOfDateSourceItemsToOutputDirectoryAlways: Copying file from "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\fmodex.dll" to "bin\x86\Debug\fmodex.dll". CopyFilesToOutputDirectory: Copying file from "obj\x86\Debug\Leadwerks.Sound.dll" to "bin\x86\Debug\Leadwerks.Sound.dll". Leadwerks.Sound -> C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\bin\x86\Debug\Leadwerks.Sound.dll Copying file from "obj\x86\Debug\Leadwerks.Sound.pdb" to "bin\x86\Debug\Leadwerks.Sound.pdb". Build succeeded. Time Elapsed 00:00:00.24 ------ Rebuild All started: Project: Leadwerks_Console_Tests, Configuration: Debug x86 ------ error CS0006: Metadata file 'C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\bin\x86\Debug\Leadwerks.Game.dll' could not be found Compile complete -- 1 errors, 0 warnings Build started 2010-11-04 16:22:02. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1200,9): warning : The referenced project '..\..\Leadwerks CSharp Headers\Leadwerks.csproj' does not exist. ResolveAssemblyReferences: Primary reference "Leadwerks.Game". Could not find dependent files. Expected file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\bin\x86\Debug\Leadwerks.Game.dll" does not exist. Could not find dependent files. Det går inte att hitta filen. (Exception from HRESULT: 0x80070002) Resolved file path is "C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\bin\x86\Debug\Leadwerks.Game.dll". Reference found at search path location "". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\bin\x86\Debug\Leadwerks.Game.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks_Console_Tests.exe /target:exe Program.cs Properties\AssemblyInfo.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" Build FAILED. Time Elapsed 00:00:00.02 ========== Rebuild All: 3 succeeded, 3 failed, 0 skipped ========== Apparently the most of this is because leadwerks namespace members are missing (=no leadwerks project I guess) So whats next to do? Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
ZioRed Posted November 4, 2010 Share Posted November 4, 2010 That repository doesn't contain the headers, it currently contains only a small WIP game library from Tyler and an old implementation of LETKControl from klepto. You should download the new headers 2.0 and read the (poor) tutorials here (I also updated my public C# templates here). PS: at this moment the source of the headers 2.0 is not public and currently mantained privately by Lazlo and Tyler. Quote ?? FRANCESCO CROCETTI ?? http://skaredcreations.com Link to comment Share on other sites More sharing options...
Rick Posted November 4, 2010 Share Posted November 4, 2010 Have we seen either of those 2 around in the last few months? Kind of scary that they aren't public when the 2 that worked on it don't show up for some time. Quote Link to comment Share on other sites More sharing options...
Raul Posted November 4, 2010 Share Posted November 4, 2010 It's sad because I want to use C# too Quote i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64 rvlgames.com - my games RVL Games Facebook Page, YouTube Channel Blitzmax Link to comment Share on other sites More sharing options...
Roland Posted November 4, 2010 Author Share Posted November 4, 2010 Have we seen either of those 2 around in the last few months? Kind of scary that they aren't public when the 2 that worked on it don't show up for some time. That does not sound good at all. I was into making my own C# headers but then I saw that there already was a C# implementation. Using a wrapper without source is not an option I think, specially if the authors are seldom here. That leaves me we two options, either not using C# or make my own implementation. Have to think a bit about that. Anyway. Thanks for the info. Roland Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
L B Posted November 4, 2010 Share Posted November 4, 2010 Here. Don't ask for details/explanations/features or anything else, I'm not into Leadwerks at the moment, neither is Tyler. Quote Link to comment Share on other sites More sharing options...
Roland Posted November 4, 2010 Author Share Posted November 4, 2010 Here. Don't ask for details/explanations/features or anything else, I'm not into Leadwerks at the moment, neither is Tyler. Thank's a lot Lazlo. And No.. I will not ask one single question Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
ZioRed Posted November 4, 2010 Share Posted November 4, 2010 Thanks, with this source I found the bug and fix for Camera Project/Unproject: Camera.cs replace this: public Vector3 Project(Vector3 position) { Core.CameraProject(this.Pointer, position); return position; } public Vector3 Unproject(Vector3 position) { Core.CameraUnproject(this.Pointer, position); return position; } with this: public Vector3 Project(Vector3 position) { float[] p = position.Clone(); Core.CameraProject(this.Pointer, p); return p; } public Vector3 Unproject(Vector3 position) { float[] p = position.Clone(); Core.CameraUnproject(this.Pointer, p); return p; } Thanks... Now I think we should organize a team to mantain these source somewhere, I am available to support it. PS: Framework.Terminate() + Engine.Terminate() have been replaced with just Engine.Dispose() ? Quote ?? FRANCESCO CROCETTI ?? http://skaredcreations.com Link to comment Share on other sites More sharing options...
Roland Posted November 4, 2010 Author Share Posted November 4, 2010 Thanks, with this source I found the bug and fix for Camera Project/Unproject: Camera.cs replace this: public Vector3 Project(Vector3 position) { Core.CameraProject(this.Pointer, position); return position; } public Vector3 Unproject(Vector3 position) { Core.CameraUnproject(this.Pointer, position); return position; } with this: public Vector3 Project(Vector3 position) { float[] p = position.Clone(); Core.CameraProject(this.Pointer, p); return p; } public Vector3 Unproject(Vector3 position) { float[] p = position.Clone(); Core.CameraUnproject(this.Pointer, p); return p; } Thanks... Now I think we should organize a team to mantain these source somewhere, I am available to support it. PS: Framework.Terminate() + Engine.Terminate() have been replaced with just Engine.Dispose() ? I'm also available. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Bill Posted November 4, 2010 Share Posted November 4, 2010 (edited) Roland, if you ever need header updates for your testing or if there is something currrently missing I can provide something for you. I can auto-build you anything you need with TVec, Vector, float[] (it's all just a configuration for me); Leadwerks objects(TCamera, TLight), IntPtr... whatever. I can also provide header files with optional parameter support - currenly I only support VS10, but the old code for VS which doesn't support optional arguments directly should be commented out and available (not required for what you are doing as I believe that code requires VS10). I don't know how long you'll be playing with C# but at this time I plan on supporting LW 3.x. Forgot to mention I support command lines (DLL calls) as well as the Interface commands as in the engine.h. Edited November 4, 2010 by Bill Quote Link to comment Share on other sites More sharing options...
Roland Posted November 5, 2010 Author Share Posted November 5, 2010 Roland, if you ever need header updates for your testing or if there is something currrently missing I can provide something for you. I can auto-build you anything you need with TVec, Vector, float[] (it's all just a configuration for me); Leadwerks objects(TCamera, TLight), IntPtr... whatever. I can also provide header files with optional parameter support - currenly I only support VS10, but the old code for VS which doesn't support optional arguments directly should be commented out and available (not required for what you are doing as I believe that code requires VS10). I don't know how long you'll be playing with C# but at this time I plan on supporting LW 3.x. Forgot to mention I support command lines (DLL calls) as well as the Interface commands as in the engine.h. Hi Bill. This sounds very interesting. I have sent you a message. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Bill Posted November 5, 2010 Share Posted November 5, 2010 I have sent you a message. Got it; Reply sent. Will follow up with messaging. Quote Link to comment Share on other sites More sharing options...
Roland Posted November 8, 2010 Author Share Posted November 8, 2010 Hi Guys. After some thinking I have decided to make C# code generators for Leadwerks. There will be two versions. leSharp which is a C# version of the C-API leoSharp which is a C# version of the LEO wrapper. Both code generators will use the C/C++ headers to create needed C# code. This means that you will not need to get the latest code from somewhere, just run the code generators on updates and you are done. You can read more about this in my blog Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.