Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 22/08/2007, à 15:11

Klemsye

Mono tao framework

Bonjour je voudrais tester les examples du Tao framework mais quand j'éxécute les examples de nehe j'obtiens ces erreurs:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.EntryPointNotFoundException: SetProcessWorkingSetSize
  at (wrapper managed-to-native) Tao.Platform.Windows.Kernel:SetProcessWorkingSetSize (intptr,int,int)
  at NeHe.Lesson23.CreateGLWindow (System.String title, Int32 width, Int32 height, Int32 bits, Boolean fullscreenflag) [0x00000] 
  at NeHe.Lesson23.Run () [0x00000] 
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace ---

  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
  at System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParameters) [0x00000] 
  at System.Type.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args) [0x00000] 
  at NeHe.NeHe.SelectExample () [0x00000] 
  at NeHe.NeHe.btnRun_Click (System.Object sender, System.EventArgs e) [0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs e) [0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000]

Si quelqu'un a une idée?
Je précise que les autres exemples marchent bien.

Autre chose j'ai compilé la bibliotheque Glfw en suivant le readme  mais il en ressort une librairie statique donc avec une extension .a et il me faudrait, pour que l'example GlfwExamples.exe marche, une extension .o ,la encore si quelqu'un a une idée je suis preneur.

Hors ligne

#2 Le 23/08/2007, à 11:22

Klemsye

Re : Mono tao framework

up

Hors ligne

#3 Le 06/09/2007, à 11:04

dufoli

Re : Mono tao framework

Bonjour,

D'après l'exception tu n'as pas de point d'entrée dans ton exemple.
Ce qui veut dire qu'il n'y a pas de main en gros.
Après a mon avis post cela sur le forum de tao, ils seront mieux que moi.
Après vu qu tu n'as pas posté les source c'est assez difficile de comprendre...