Stratos: Punto de Encuentro de Desarrolladores

¡Bienvenido a Stratos!

Acceder

Foros





Motor - First Time Compile

Iniciado por Thiaz, 09 de Agosto de 2005, 11:46:15 AM

« anterior - próximo »

Thiaz

 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'' target='_blank'>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?
b>Easy Dev Nederland
Web & Game Development - SMS Services

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... :(  

Thiaz

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 :)
b>Easy Dev Nederland
Web & Game Development - SMS Services

 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?

Thiaz

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 :)
b>Easy Dev Nederland
Web & Game Development - SMS Services

Haddd

 Pensamos que pronto pondremos un visor. Pero hasta que .Net 2.0 no esté disponible para release, no lo subiremos.

Ultrahead

 ok, habrá que pedirle entonces a los amigos de MS que se apuren ... :D  

Vicente

 En teoría les falta ya muy poco ;) Un saludo!

Vicente






Stratos es un servicio gratuito, cuyos costes se cubren en parte con la publicidad.
Por favor, desactiva el bloqueador de anuncios en esta web para ayudar a que siga adelante.
Muchísimas gracias.