Foros - Stratos

Proyectos => Jad Engine => Mensaje iniciado por: Thiaz en 09 de Agosto de 2005, 11:46:15 AM

Título: Motor - First Time Compile
Publicado por: Thiaz en 09 de Agosto de 2005, 11:46:15 AM
 After downloading the engine, preparing the first time compile you get 3 compile errors:

CitarError   5   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   C:\Documents and Settings\Thijs\Desktop\motor\Haddd_v10_source\Effect.cs   315   26   Motor

Error   6   Argument '3': cannot convert from 'Microsoft.DirectX.Direct3D.Macro[]' to 'Microsoft.DirectX.Direct3D.Include'   C:\Documents and Settings\Thijs\Desktop\motor\Haddd_v10_source\Effect.cs   315   70   Motor

Error   7   Argument '4': cannot convert from 'Microsoft.DirectX.Direct3D.Include' to 'string'   C:\Documents and Settings\Thijs\Desktop\motor\Haddd_v10_source\Effect.cs   315   79   Motor

As you notice there a few more warnings:

CitarWarning   1   The variable 'e' is declared but never used   C:\Documents and Settings\Thijs\Desktop\motor\Haddd_v10_source\Lista.cs   126   13   Motor

Warning   2   'System.Windows.Forms.Form.AutoScaleBaseSize' is obsolete: 'This property has been deprecated. Use the AutoScaleDimensions property instead.  http://go.microsoft.com/fwlink/?linkid=14202'   C:\Documents and Settings\Thijs\Desktop\motor\Haddd_v10_source\Formulario.cs   51   4   Motor

Warning   8   Unreachable code detected   C:\Documents and Settings\Thijs\Desktop\motor\Haddd_v10_source\Video.cs   401   17   Motor

The warnings are easy to fix, but i can't get the errors fixed without rebuilding alot around it.

Using:

- Microsoft Visual Studio 2005 Beta 2 (VB, C#, C++, J#, Web)
- Microsoft DirectX 9.0 SDK Update (February 2005)
- Microsoft .NET Framework 2.0

v2.0 is the waiting worth i guess, but i want to try out v1.0 also, someone that can help me around with those errors?
Título: Motor - First Time Compile
Publicado por: Haddd en 09 de Agosto de 2005, 08:24:58 PM
 Sorry, we are fully focused on 2.0. Maybe some other people from this forum can help you... ;)

Please, get the latest DX version ( August ). Febreary doesn't work very well... :(  
Título: Motor - First Time Compile
Publicado por: Thiaz en 10 de Agosto de 2005, 10:07:42 AM
Cita de: "Haddd"Sorry, we are fully focused on 2.0. Maybe some other people from this forum can help you... ;)

Please, get the latest DX version ( August ). Febreary doesn't work very well... :(
lol, indeed, it is august already, crap, im updating only once in 6 months, thats why my programs are always bugged.
I go try August right now, will return here in a few minutes, maybe the update helps :)
Título: Motor - First Time Compile
Publicado por: en 17 de Agosto de 2005, 10:20:28 AM
 Just add an empty string as follows:
  dxResource = Effect.FromFile(Haddd.device, pathCompleto, defines, includes, String.Empty, flags, pool, out errores)

Aprovecho a preguntar: ¿cómo van con la nueva versión del engine? ¿Tiene una fecha estimada de liberación?
Título: Motor - First Time Compile
Publicado por: Thiaz en 17 de Agosto de 2005, 11:48:06 AM
Cita de: "Ultrahead"Just add an empty string as follows:
  dxResource = Effect.FromFile(Haddd.device, pathCompleto, defines, includes, String.Empty, flags, pool, out errores)

Aprovecho a preguntar: ¿cómo van con la nueva versión del engine? ¿Tiene una fecha estimada de liberación?
Worked indeed, thank you :)
Título: Motor - First Time Compile
Publicado por: Haddd en 17 de Agosto de 2005, 03:51:13 PM
 Pensamos que pronto pondremos un visor. Pero hasta que .Net 2.0 no esté disponible para release, no lo subiremos.
Título: Motor - First Time Compile
Publicado por: Ultrahead en 17 de Agosto de 2005, 05:59:05 PM
 ok, habrá que pedirle entonces a los amigos de MS que se apuren ... :D  
Título: Motor - First Time Compile
Publicado por: Vicente en 17 de Agosto de 2005, 07:26:04 PM
 En teoría les falta ya muy poco ;) Un saludo!

Vicente