Le log (erreur FASM étape 3)
Comme le log est trop long, j'ai mis la fin, là où est l'erreur
16:27:47 FASM String
16:27:47 flat assembler version 1.67.26 (1840914 kilobytes memory)
2 passes, 451 bytes.
16:27:47
16:27:47 "K:\PureBasic\compilers\fasm.exe" "C:\Users\jj\AppData\Local\Temp\Moebius\PureIconManger_Viewer_Main\ASM\PureIconManager_Init.asm" "C:\Users\jj\AppData\Local\Temp\Moebius\PureIconManger_Viewer_Main\OBJ\PureIconManager_Init.obj"
16:27:47 FASM String
16:27:47 flat assembler version 1.67.26 (1838010 kilobytes memory)
16:27:47 FASM Error
16:27:47 C:\Users\jj\AppData\Local\Temp\Moebius\PureIconManger_Viewer_Main\ASM\PureIconManager_Init.asm [35]:
JMP _PB_EOP_NoValue
error: undefined symbol '_PB_EOP_NoValue'.
16:27:47
16:27:47 Step3 > Error > 18
Je te met le fichier asm correspondant
On a un saut à l'étiquette _PB_EOP_NoValue qui n'existe pas dans le fichier.
J'ai coché "générer un fichier log" et je n'ai pas coché "activer le log" et je n'ai pas de fichier log.
Si tu veux le fichier Purebasic.asm pour tes essais, envoies-moi ton email par MP et je te l'envoie (1968 Ko).
Code : Tout sélectionner
format MS COFF
public PB_PureIconManager_Init
extrn _GetProcessHeap@0
extrn _OleInitialize@4
extrn _PB_CloseLibrary@4
extrn _PB_GetFunction@8
extrn _PB_OpenLibrary@8
extrn _S1
extrn _S2
extrn _SYS_InitString@0
extrn PB_PIM_Display_Error
extrn PB_PIM_SetError_Code
extrn _SYS_InitString@0
PB_PureIconManager_Init:
CALL _SYS_InitString@0
PB_PureIconManager_Init:
CALL _SYS_InitString@0
_Procedure82:
PUSH ebx
PS82=24
XOR eax,eax
PUSH eax
PUSH eax
PUSH eax
PUSH eax
PUSH dword 0
CALL _OleInitialize@4
MOV ebx,eax
AND ebx,ebx
JE _EndIf4
PUSH dword 79
CALL PB_PIM_SetError_Code
PUSH dword 626
CALL PB_PIM_Display_Error
JMP _PB_EOP_NoValue
_EndIf4:
PUSH dword _S1
PUSH dword -1
CALL _PB_OpenLibrary@8
MOV dword [esp],eax
CMP dword [esp],0
JE _EndIf6
PUSH dword _S2
PUSH dword [esp+4]
CALL _PB_GetFunction@8
MOV dword [esp+4],eax
MOV dword [esp+8],2
MOV eax,dword [esp+4]
MOV dword [esp+12],eax
PUSH dword 4
LEA eax,[esp+12]
PUSH eax
PUSH dword 0
CALL _GetProcessHeap@0
PUSH eax
CALL dword [esp+28]
PUSH dword [esp]
CALL _PB_CloseLibrary@4
_EndIf6:
XOR eax,eax
_EndProcedure83:
ADD esp,16
POP ebx
RET
_Procedure82:
PUSH ebx
PS82=24
XOR eax,eax
PUSH eax
PUSH eax
PUSH eax
PUSH eax
PUSH dword 0
CALL _OleInitialize@4
MOV ebx,eax
AND ebx,ebx
JE _EndIf4
PUSH dword 79
CALL PB_PIM_SetError_Code
PUSH dword 626
CALL PB_PIM_Display_Error
JMP _PB_EOP_NoValue
_EndIf4:
PUSH dword _S1
PUSH dword -1
CALL _PB_OpenLibrary@8
MOV dword [esp],eax
CMP dword [esp],0
JE _EndIf6
PUSH dword _S2
PUSH dword [esp+4]
CALL _PB_GetFunction@8
MOV dword [esp+4],eax
MOV dword [esp+8],2
MOV eax,dword [esp+4]
MOV dword [esp+12],eax
PUSH dword 4
LEA eax,[esp+12]
PUSH eax
PUSH dword 0
CALL _GetProcessHeap@0
PUSH eax
CALL dword [esp+28]
PUSH dword [esp]
CALL _PB_CloseLibrary@4
_EndIf6:
XOR eax,eax
_EndProcedure83:
ADD esp,16
POP ebx
RET
Il y a aussi un petit problème mais qui n'a pas de conséquences (il me semble), certains fichiers asm on deux fois la même étiquette, par exemple le fichier BytesPerLine.asm (je met le début)
Code : Tout sélectionner
format MS COFF
public PureIconManger_Viewer_Main_BytesPerLine
PureIconManger_Viewer_Main_BytesPerLine:
PureIconManger_Viewer_Main_BytesPerLine:
_Procedure86:
PUSH ebp
PUSH ebx
PUSH edi
PS86=16
par exemple le fichier CalculateImageOffset.asm
Code : Tout sélectionner
format MS COFF
public PureIconManger_Viewer_Main_CalculateImageOffset
PureIconManger_Viewer_Main_CalculateImageOffset:
PureIconManger_Viewer_Main_CalculateImageOffset:
_Procedure88:
PUSH ebp
PUSH ebx
PUSH edi
PS88=24
XOR eax,eax
PUSH eax
PUSH eax