Import .lib : Importer DGDK ... Crash du compiler

Archive.
freddix
Messages : 101
Inscription : dim. 08/févr./2004 19:37

Import .lib : Importer DGDK ... Crash du compiler

Message par freddix »

J'ai mis en place tout un système pour importer les .lib de DarkGDK ( ou DarkSDK ) de TheGameCreators.

Le problème est que le compiler crash ... avec ce message :
The compiler appears to have crashed or quit unexpectedly.
It will be restarted.

Please report the conditions that caused this as a bug.
Il semble lier tout les fichiers joint ... et crash alors que sa fenêtre a affiché "Create Executable File..."

J'ai essayé avec les 2 version de DGDK (DSDK ) pour VS7 et VS8 ... (et même avec la version VS8 Debug) ...

Quelqu'un aurait une idée d'où vient le problème ?

EDIT : DGDK utilise DX9 ... J'ai donc dans mes imports, des importations de .lib de DX9 (du sdk)...
Anonyme

Message par Anonyme »

Salut Freddix, tu utilises quoi comme fonction pour importé ?
Import ? si c'est le cas essaye ImportC .
Essaye de voir ce que cela donne avec les prototypes aussi :wink:

@++
freddix
Messages : 101
Inscription : dim. 08/févr./2004 19:37

Message par freddix »

J'ai essayé les deux Import / ImportC ... J'ai le même résultat...

Comment doit-on procéder pour les prototypes ?

@ +
Anonyme

Message par Anonyme »

Code : Tout sélectionner

Prototype.l MaProcedure(ParamA,ParamB,...)

OpenLibrary(0,"Malib") 
Global MaProcedure.MaProcedure     = GetFunction(0,"MaProcedure")
CloseLibrary(0)
voila , cette méthode marche impec sous nux :wink:
freddix
Messages : 101
Inscription : dim. 08/févr./2004 19:37

Message par freddix »

euh ... cela fonctionne avec les .lib ?
MorpheusDX
Messages : 36
Inscription : mar. 21/août/2007 17:31

Message par MorpheusDX »

Pour wrapper une lib avec PB, c'est assez simple et cela
fonctionne très bien, voici les conditions (à ma connaissance):

- place ton fichier .lib dans le repertoire PureLibraries\windows\Libraries.

- en suite, tu wrap les fonctions de ta lib comme suit:

Code : Tout sélectionner

Import "taLib.lib"   ; lib en __stdcall, sinon importC pour lib en __cdecl
  
  Unefonction.l(var1.l, var2.f)
  DeuxFonction( name.s)
  ...

 
EndImport
Dans ton application il suffit d'importer le fichier inlcude
contenant le code si dessus pour pouvoir profiter des fonctions
qu'elle contient.

Bien sur, il faut que dans ta lib, les fonctions que tu souhaites employer soient
taguées extern...
Force et sagesse...
freddix
Messages : 101
Inscription : dim. 08/févr./2004 19:37

Message par freddix »

@MorpheusDX:
Oui ça je l'ai déjà fait ...
J'ai fait le wrapping de toutes les commandes de DGDK prévues pour être utilisées.
Tout cela est ok ... mais avec ça, le compiler du PureBASIC crash ...

Par contre, je viens de penser à une détail ... les fonctions de la lib ne sont ni en __stdcall ni en __cdecl ... le problème vient peut-être de la ?

Les fonctions sont sous la forme : ?MaFunction@@ARGS@Z
Avatar de l’utilisateur
Progi1984
Messages : 2659
Inscription : mar. 14/déc./2004 13:56
Localisation : France > Rennes
Contact :

Message par Progi1984 »

C'est du C++ ?
MorpheusDX
Messages : 36
Inscription : mar. 21/août/2007 17:31

Message par MorpheusDX »

En C/C++, c'est par defaut les convention d'appel sont en
du __cdecl. Donc, si tu n'as pas de déclaration explicites,
alors c'est cela. (donc ImportC)

Sinon, quand tu dis que le compilateur crash, c'est à dire
que tu as des messages d'erreurs à la compilation, et si oui
lesquels, ou c'est à l'execution que cela plante ?
Dernière modification par MorpheusDX le jeu. 13/sept./2007 15:12, modifié 1 fois.
Force et sagesse...
freddix
Messages : 101
Inscription : dim. 08/févr./2004 19:37

Message par freddix »

oui c'est du C++
(enfin, si ta question est: ces .lib ont été crées en C++ ?, la réponse est oui)

EDIT:

@MorpheusDX:
Au début j'avais des messages de liens externes non résolus par POLINK (le linker quoi :p)
Maintenant, il compile, ajoute chaque fichier, et plante au moment ou la fenêtre de sortie du compilateur affiche "Create executable file ..."
Avec le message cité plus haut ...
Dernière modification par freddix le jeu. 13/sept./2007 15:14, modifié 1 fois.
MorpheusDX
Messages : 36
Inscription : mar. 21/août/2007 17:31

Message par MorpheusDX »

On a posté en meme temps (question au dessus...)
Force et sagesse...
freddix
Messages : 101
Inscription : dim. 08/févr./2004 19:37

Message par freddix »

Répondu ;) Au dessus par edit :p
MorpheusDX
Messages : 36
Inscription : mar. 21/août/2007 17:31

Message par MorpheusDX »

Hmmm, étrange en effet. As tu fait des essais, avec juste une ou deux fonctions
de base de wrapper, et de les compiler dans un prog PB minimaliste ?

Ta lib est-elle une lib statique, ou le fichier lib d'import d'une DLL ?
Force et sagesse...
freddix
Messages : 101
Inscription : dim. 08/févr./2004 19:37

Message par freddix »

lorsque j'ai commencé à faire le wrapping, je n'avais pas de crash du compiler. Seulement des messages d'erreur du Polink comme suit :
---------------------------
PureBasic - Linker error
---------------------------
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:DBOFormat.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:DBOFormat.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:DBOFormat.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:Universe.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:Universe.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:Universe.obj').
POLINK: error: Symbol '??_7cExternalEffect@@6B@' is multiply Defined ('Basic3D:CommonC.obj' And 'Basic3D:DBOMesh.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:cLightMaps.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:cLightMaps.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:cLightMaps.obj').
POLINK: error: Symbol '??_7cExternalEffect@@6B@' is multiply Defined ('Basic3D:CommonC.obj' And 'Basic3D:CObjectsC.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:NVMeshMenderD3DX.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:NVMeshMenderD3DX.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:NVMeshMenderD3DX.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CBSPTree.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CBSPTree.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CBSPTree.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CompilerTypes.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CSG.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CSG.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CSG.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CCompiler.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CCompiler.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:CCompiler.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:ProcessHSR.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:ProcessHSR.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Basic3D:ProcessHSR.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Multiplayer:CNetwork.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Multiplayer:CNetwork.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'Multiplayer:CNetwork.obj').
POLINK: error: Symbol '??_7bad_alloc@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'System:dxdiaginfo.obj').
POLINK: error: Symbol '??_7logic_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'System:dxdiaginfo.obj').
POLINK: error: Symbol '??_7length_error@std@@6B@' is multiply Defined ('Display:CGfxC.obj' And 'System:dxdiaginfo.obj').
POLINK: error: Unresolved external symbol '?DarkGDK@@YAXXZ'.
POLINK: error: Unresolved external symbol '___security_cookie'.
POLINK: error: Unresolved external symbol '_strnicmp'.
POLINK: error: Unresolved external symbol '@__security_check_cookie'.
POLINK: error: Unresolved external symbol '__ftol2_sse'.
POLINK: error: Unresolved external symbol '__imp__wsprintfA'.
POLINK: error: Unresolved external symbol '__EH_prolog3'.
POLINK: error: Unresolved external symbol '__EH_epilog3'.
POLINK: error: Unresolved external symbol '___CxxFrameHandler3'.
POLINK: error: Unresolved external symbol '__imp__CoInitialize'.
POLINK: error: Unresolved external symbol '__imp__CoUninitialize'.
POLINK: error: Unresolved external symbol '__ftol2'.
POLINK: error: Unresolved external symbol '__fltused'.
POLINK: error: Unresolved external symbol '?ConstructorFTP@@YAXXZ'.
POLINK: error: Unresolved external symbol '?DestructorFTP@@YAXXZ'.
POLINK: error: Unresolved external symbol '?SetErrorHandlerFTP@@YAXPAX@Z'.
POLINK: error: Unresolved external symbol '?PassCoreDataFTP@@YAXPAX@Z'.
POLINK: error: Unresolved external symbol '?ConstructorMatrix@@YAXPAUHINSTANCE__@@0@Z'.
POLINK: error: Unresolved external symbol '?DestructorMatrix@@YAXXZ'.
POLINK: error: Unresolved external symbol '?SetErrorHandlerMatrix@@YAXPAX@Z'.
POLINK: error: Unresolved external symbol '?PassCoreDataMatrix@@YAXPAX@Z'.
POLINK: error: Unresolved external symbol '?UpdateMatrix@@YAXXZ'.
POLINK: error: Unresolved external symbol '?UpdateLastMatrix@@YAXXZ'.
POLINK: error: Unresolved external symbol '?ConstructorWorld@@YAXPAUHINSTANCE__@@000@Z'.
POLINK: error: Unresolved external symbol '?DestructorWorld@@YAXXZ'.
POLINK: error: Unresolved external symbol '?SetErrorHandlerWorld@@YAXPAX@Z'.
POLINK: error: Unresolved external symbol '?PassCoreDataWorld@@YAXPAX@Z'.
POLINK: error: Unresolved external symbol '?dbUpdateBSP@@YAXXZ'.
POLINK: error: Unresolved external symbol '?dbStartBSP@@YAXXZ'.
POLINK: error: Unresolved external symbol '?dbEndBSP@@YAXXZ'.
POLINK: error: Unresolved external symbol '??_7type_info@@6B@'.
POLINK: error: Unresolved external symbol '__atoi64'.
POLINK: error: Unresolved external symbol '_strrev'.
POLINK: error: Unresolved external symbol '_memcpy_s'.
POLINK: error: Unresolved external symbol '_memmove_s'.
POLINK: error: Unresolved external symbol '??0exception@std@@QAE@ABQBD@Z'.
POLINK: error: Unresolved external symbol '?what@exception@std@@UBEPBDXZ'.
POLINK: error: Unresolved external symbol '??1exception@std@@UAE@XZ'.
POLINK: error: Unresolved external symbol '??_V@YAXPAX@Z'.
POLINK: error: Unresolved external symbol '?RefreshD3DMatrix@@YAXH@Z'.
POLINK: error: Unresolved external symbol '??_U@YAPAXI@Z'.
POLINK: error: Unresolved external symbol '__invalid_parameter_noinfo'.
POLINK: error: Unresolved external symbol '__CxxThrowException'.
POLINK: error: Unresolved external symbol '??0exception@std@@QAE@ABV01@@Z'.
POLINK: error: Unresolved external symbol '_Direct3DCreate9'.
POLINK: error: Unresolved external symbol '?_Xran@_String_base@std@@SAXXZ'.
POLINK: error: Unresolved external symbol '?_Xlen@_String_base@std@@SAXXZ'.
POLINK: error: Unresolved external symbol '??0exception@std@@QAE@XZ'.
POLINK: error: Unresolved external symbol '_IID_IDirectInput8A'.
POLINK: error: Unresolved external symbol '_DirectInput8Create'.
POLINK: error: Unresolved external symbol '_GUID_SysKeyboard'.
POLINK: error: Unresolved external symbol '_c_dfDIKeyboard'.
POLINK: error: Unresolved external symbol '_GUID_SysMouse'.
POLINK: error: Unresolved external symbol '_c_dfDIMouse'.
POLINK: error: Unresolved external symbol '_c_dfDIJoystick2'.
POLINK: error: Unresolved external symbol '_GUID_ConstantForce'.
POLINK: error: Unresolved external symbol '_GUID_Damper'.
POLINK: error: Unresolved external symbol '__ctime64'.
POLINK: error: Unresolved external symbol '__findfirst64i32'.
POLINK: error: Unresolved external symbol '__findnext64i32'.
POLINK: error: Unresolved external symbol '_getcwd'.
POLINK: error: Unresolved external symbol '__imp__ShellExecuteExA'.
POLINK: error: Unresolved external symbol '__imp__ShellExecuteA'.
POLINK: error: Unresolved external symbol '_chdir'.
POLINK: error: Unresolved external symbol '_mkdir'.
POLINK: error: Unresolved external symbol '_D3DXGetImageInfoFromFileA'.
POLINK: error: Unresolved external symbol '_D3DXLoadSurfaceFromFileA'.
POLINK: error: Unresolved external symbol '_stricmp'.
POLINK: error: Unresolved external symbol '_GUID_NULL'.
POLINK: error: Unresolved external symbol '_D3DXMatrixRotationX'.
POLINK: error: Unresolved external symbol '_D3DXMatrixMultiply'.
POLINK: error: Unresolved external symbol '_D3DXMatrixRotationY'.
POLINK: error: Unresolved external symbol '_D3DXMatrixRotationZ'.
POLINK: error: Unresolved external symbol '_IID_IDirectSound3DListener'.
POLINK: error: Unresolved external symbol '_IID_IDirectSound3DBuffer'.
POLINK: error: Unresolved external symbol '_DirectSoundCreate8'.
POLINK: error: Unresolved external symbol '_IID_IDirectSoundNotify'.
POLINK: error: Unresolved external symbol '_acmFormatSuggest'.
POLINK: error: Unresolved external symbol '_acmStreamOpen'.
POLINK: error: Unresolved external symbol '_acmStreamSize'.
POLINK: error: Unresolved external symbol '_acmStreamClose'.
POLINK: error: Unresolved external symbol '_acmStreamPrepareHeader'.
POLINK: error: Unresolved external symbol '_acmStreamConvert'.
POLINK: error: Unresolved external symbol '_acmStreamUnprepareHeader'.
POLINK: error: Unresolved external symbol '__imp__CoCreateInstance'.
POLINK: error: Unresolved external symbol '_D3DXCreateTexture'.
POLINK: error: Unresolved external symbol '_D3DXCreateTextureFromFileExA'.
POLINK: error: Unresolved external symbol '_D3DXCreateCubeTextureFromFileExA'.
POLINK: error: Unresolved external symbol '_D3DXLoadSurfaceFromSurface'.
POLINK: error: Unresolved external symbol '_D3DXSaveSurfaceToFileA'.
POLINK: error: Unresolved external symbol '__except_list'.
POLINK: error: Unresolved external symbol '___CxxFrameHandler'.
POLINK: error: Unresolved external symbol '__imp__CoTaskMemAlloc'.
POLINK: error: Unresolved external symbol '_IID_IUnknown'.
POLINK: error: Unresolved external symbol '_IID_IPersist'.
POLINK: error: Unresolved external symbol '__imp__CoFreeUnusedLibraries'.
POLINK: error: Unresolved external symbol '__imp__CoTaskMemFree'.
POLINK: error: Unresolved external symbol '_D3DXVec3TransformCoord'.
POLINK: error: Unresolved external symbol '_D3DXVec3Normalize'.
POLINK: error: Unresolved external symbol '_D3DXMatrixReflect'.
POLINK: error: Unresolved external symbol '_D3DXMatrixInverse'.
POLINK: error: Unresolved external symbol '_D3DXMatrixTranslation'.
POLINK: error: Unresolved external symbol '_D3DXMatrixPerspectiveFovLH'.
POLINK: error: Unresolved external symbol '_D3DXPlaneFromPointNormal'.
POLINK: error: Unresolved external symbol '_D3DXCreateCubeTexture'.
POLINK: error: Unresolved external symbol '_D3DXMatrixScaling'.
POLINK: error: Unresolved external symbol '_D3DXCreateVolumeTextureFromFileExA'.
POLINK: error: Unresolved external symbol '_D3DXGetShaderInputSemantics'.
POLINK: error: Unresolved external symbol '_D3DXVec4Transform'.
POLINK: error: Unresolved external symbol '_D3DXVec4Normalize'.
POLINK: error: Unresolved external symbol '_D3DXMatrixTranspose'.
POLINK: error: Unresolved external symbol '_D3DXPlaneNormalize'.
POLINK: error: Unresolved external symbol '_D3DXPlaneFromPoints'.
POLINK: error: Unresolved external symbol '_D3DXGetFVFVertexSize'.
POLINK: error: Unresolved external symbol '?ConvertX@@YA_NPADPAK1@Z'.
POLINK: error: Unresolved external symbol '?ConvertMD2@@YA_NPADPAK1@Z'.
POLINK: error: Unresolved external symbol '?ConvertMD3@@YA_NPADPAK1@Z'.
POLINK: error: Unresolved external symbol '?PassCoreData3DS@@YAXPAX@Z'.
POLINK: error: Unresolved external symbol '?Convert3DS@@YA_NPADPAK1@Z'.
POLINK: error: Unresolved external symbol '?PassCoreDataMDL@@YAXPAX@Z'.
POLINK: error: Unresolved external symbol '?ConvertMDL@@YA_NPADPAK1@Z'.
POLINK: error: Unresolved external symbol '?FreeX@@YAXPAD@Z'.
POLINK: error: Unresolved external symbol '?FreeMD2@@YAXPAD@Z'.
POLINK: error: Unresolved external symbol '?FreeMD3@@YAXPAD@Z'.
POLINK: error: Unresolved external symbol '?Free3DS@@YAXPAD@Z'.
POLINK: error: Unresolved external symbol '?FreeMDL@@YAXPAD@Z'.
POLINK: error: Unresolved external symbol '_D3DXCreateEffectFromFileA'.
POLINK: error: Unresolved external symbol '_D3DXCreateMesh'.
POLINK: error: Unresolved external symbol '_D3DXCreateMeshFVF'.
POLINK: error: Unresolved external symbol '_D3DXComputeNormals'.
POLINK: error: Unresolved external symbol '_D3DXVec3TransformNormal'.
POLINK: error: Unresolved external symbol '__EH_prolog3_catch'.
POLINK: error: Unresolved external symbol '__EH_prolog3_catch_GS'.
POLINK: error: Unresolved external symbol '__EH_epilog3_catch_GS'.
POLINK: error: Unresolved external symbol '_D3DXIntersectTri'.
POLINK: error: Unresolved external symbol '_D3DXMatrixRotationYawPitchRoll'.
POLINK: error: Unresolved external symbol '_D3DXLoadMeshFromXA'.
POLINK: error: Unresolved external symbol '_D3DXSaveMeshToXA'.
POLINK: error: Unresolved external symbol '_D3DXCreateBuffer'.
POLINK: error: Unresolved external symbol '_D3DXCleanMesh'.
POLINK: error: Unresolved external symbol '_D3DXWeldVertices'.
POLINK: error: Unresolved external symbol '_D3DXValidMesh'.
POLINK: error: Unresolved external symbol '_D3DXGeneratePMesh'.
POLINK: error: Unresolved external symbol '_D3DXSaveTextureToFileA'.
POLINK: error: Unresolved external symbol '_D3DXAssembleShaderFromFileA'.
POLINK: error: Unresolved external symbol '_D3DXVec3CatmullRom'.
POLINK: error: Unresolved external symbol '_D3DXQuaternionSlerp'.
POLINK: error: Unresolved external symbol '_D3DXMatrixRotationQuaternion'.
POLINK: error: Unresolved external symbol '??0exception@std@@QAE@ABQBDH@Z'.
POLINK: error: Unresolved external symbol '_D3DXMatrixRotationAxis'.
POLINK: error: Unresolved external symbol '_D3DXVec2BaryCentric'.
POLINK: error: Unresolved external symbol '_D3DXVec2CatmullRom'.
POLINK: error: Unresolved external symbol '_D3DXVec2Hermite'.
POLINK: error: Unresolved external symbol '_D3DXVec2Normalize'.
POLINK: error: Unresolved external symbol '_D3DXVec2TransformCoord'.
POLINK: error: Unresolved external symbol '_D3DXVec3BaryCentric'.
POLINK: error: Unresolved external symbol '_D3DXVec3Project'.
POLINK: error: Unresolved external symbol '_D3DXVec3Hermite'.
POLINK: error: Unresolved external symbol '_D3DXMatrixLookAtRH'.
POLINK: error: Unresolved external symbol '_D3DXMatrixLookAtLH'.
POLINK: error: Unresolved external symbol '_D3DXMatrixOrthoRH'.
POLINK: error: Unresolved external symbol '_D3DXMatrixOrthoLH'.
POLINK: error: Unresolved external symbol '_D3DXMatrixPerspectiveRH'.
POLINK: error: Unresolved external symbol '_D3DXMatrixPerspectiveLH'.
POLINK: error: Unresolved external symbol '_D3DXMatrixPerspectiveFovRH'.
POLINK: error: Unresolved external symbol '_D3DXVec4BaryCentric'.
POLINK: error: Unresolved external symbol '_D3DXVec4CatmullRom'.
POLINK: error: Unresolved external symbol '_D3DXVec4Hermite'.
POLINK: error: Unresolved external symbol '_DPSPGUID_IPX'.
POLINK: error: Unresolved external symbol '_DPSPGUID_TCPIP'.
POLINK: error: Unresolved external symbol '_IID_IDirectPlay4A'.
POLINK: error: Unresolved external symbol '_CLSID_DirectPlay'.
POLINK: error: Unresolved external symbol '_DirectPlayLobbyCreateA'.
POLINK: error: Unresolved external symbol '_IID_IDirectPlayLobby2A'.
POLINK: error: Unresolved external symbol '_DPAID_ServiceProvider'.
POLINK: error: Unresolved external symbol '_DPAID_INet'.
POLINK: error: Unresolved external symbol '_DPSPGUID_MODEM'.
POLINK: error: Unresolved external symbol '_DPAID_Phone'.
POLINK: error: Unresolved external symbol '_DPSPGUID_SERIAL'.
POLINK: error: Unresolved external symbol '_DPAID_ComPort'.
POLINK: error: Unresolved external symbol '__vswprintf'.
POLINK: error: Unresolved external symbol '_IID_IDxDiagProvider'.
POLINK: error: Unresolved external symbol '_CLSID_DxDiagProvider'.
POLINK: error: Unresolved external symbol '__wtoi64'.
POLINK: fatal error: 184 unresolved external(s).
--------------------------
OK
---------------------------
Au fur et à mesure que j'ai ajouté les définitions des .lib à importer, j'ai eu moins d'erreurs j'ai réussi à tomber à environ 60 liens externes non résolus) ... puis à partir d'un certain moment (ajout de nouvelles .lib à inclure), j'ai commencé à avoir un crash compiler (fenêtre de crash de windows, avec crash dans le module : unknown (inconnu) ) ... mais toujours la fenêtre de sortie du compilateur avec des liens externes non résolus ...

Avec tout les .lib importés (plus celles de DX9, du Platform SDK de Krosoft et certaines références externes (existances en .lib dans le dossier librairies du PureBASIC), j'ai commencé à avoir le message d'erreur du compilateur cité plus haut ...
MorpheusDX
Messages : 36
Inscription : mar. 21/août/2007 17:31

Message par MorpheusDX »

Alors la, au vue de ce que tu dis, je seche pour l'instant, une de tes lib ne
serait-elle pas bugguée ?
Problème d'import de lib statique trop volumineuses ?

???
Force et sagesse...
Répondre