Foros - Stratos

Proyectos => Jad Engine => Mensaje iniciado por: en 25 de Noviembre de 2005, 08:10:59 AM

Título: Haddd V1.0 Build Problems.
Publicado por: en 25 de Noviembre de 2005, 08:10:59 AM
 i tried building Haddd v1.0. i been getting errors. i'm using VC#2005 express final, DirectX october SDk 2005 and .net 2.0 final SDK. my 1st problem was with the reference Microsoft.DirectX.Direct3DX that came with the sln file. i changed that to point to the 1.0.2908.0 version. that solved a huge list of errors.

however i'm still left with these problems.

Error   1   The best overloaded method match for 'Microsoft.DirectX.Direct3D.Effect.FromFile(Microsoft.DirectX.Direct3D.Device, string, Microsoft.DirectX.Direct3D.Include, string, Microsoft.DirectX.Direct3D.ShaderFlags, Microsoft.DirectX.Direct3D.EffectPool, out string)' has some invalid arguments   E:\Haddd_v10_source\Effect.cs   315   26   Motor


Error   2   Argument '3': cannot convert from 'Microsoft.DirectX.Direct3D.Macro[]' to 'Microsoft.DirectX.Direct3D.Include'   E:\Haddd_v10_source\Effect.cs   315   70   Motor


Error   3   Argument '4': cannot convert from 'Microsoft.DirectX.Direct3D.Include' to 'string'   E:\Haddd_v10_source\Effect.cs   315   79   Motor


Warning   4   The variable 'e' is declared but never used   E:\Haddd_v10_source\Lista.cs   126   13   Motor


Warning   5   Unreachable code detected   E:\Haddd_v10_source\Video.cs   401   17   Motor


is there something else i'm doing wrong?
Título: Haddd V1.0 Build Problems.
Publicado por: Vicente en 25 de Noviembre de 2005, 08:45:49 AM
 Hi,

I don´t remember the SDK version used to build Haddd 1.0. Probably there have been some changes in the SDK (renaming classes, methods, things like that) and that´s why the engine doesn´t build with the October SDK. As we are now full comited to version 2.0, I don´t know if Haddd or Berserker will have time to look at this. I would recomend reading Haddd 1.0 to get a grasp of the architecture of the engine and things like that.

Greetings!

Vicente
Título: Haddd V1.0 Build Problems.
Publicado por: Haddd en 25 de Noviembre de 2005, 09:58:31 AM
 This version was build with C# express 2005 BETA 1 and December 2004 SDK...

We do not support this version, you should wait a little to enjoy the 2.0 version.. (genial)  
Título: Haddd V1.0 Build Problems.
Publicado por: en 25 de Noviembre de 2005, 02:23:26 PM
 well thanks for the reply. guess i'll just wait for haddd v2.0. :)
Título: Haddd V1.0 Build Problems.
Publicado por: en 26 de Noviembre de 2005, 10:20:14 AM
Cita de: "enablerbr"i tried building Haddd v1.0. i been getting errors. i'm using VC#2005 express final, DirectX october SDk 2005 and .net 2.0 final SDK. my 1st problem was with the reference Microsoft.DirectX.Direct3DX that came with the sln file. i changed that to point to the 1.0.2908.0 version. that solved a huge list of errors.
I changed this line like this:

dxResource = Effect.FromFile(Haddd.device, pathCompleto, defines, includes, null, flags, pool, out errores);