[Fixed] AOS4 – Code source d’un screen blanker
5 sujets de 1 à 5 (sur un total de 5)
-
Salut
quelqu’un aurait-il un exemple de code source d’économiseur d’écran que je pourrai recompiler avec le dernier SDK de Hyperion ?
Ceux présent sur os4depot.net ne compilent pas et sont pleins d’erreurs pointant vers des fichiers PPC n’existant pas dans le SDK…
Merci par avance,
@ +
AmiDARK
c’est encore pire …
gcc -mcrt=newlib -O3 -Wall -DMINIGL -c -o libBlankerAmiDARK.o libBlankerAmiDARK.c
In file included from /SDK/local/newlib/include/inline/cybergraphics.h:9,
from /SDK/local/newlib/include/proto/cybergraphics.h:16,
from AmiDARK:Shared/AmiDARK_Blanker.c:40,
from libBlankerAmiDARK.c:14:
/SDK/local/newlib/include/inline/macros.h:4:43: error: powerup/gcclib/powerup_protos.h: No such file or directory
/SDK/local/newlib/include/inline/macros.h:35:37: error: powerup/ppcinline/stubs.h: No such file or directory
/SDK/local/newlib/include/inline/macros.h:39:38: error: powerup/ppclib/interface.h: No such file or directory
In file included from libBlankerAmiDARK.c:14:
AmiDARK:Shared/AmiDARK_Blanker.c:64:21: error: blanker.h: No such file or directory
In file included from libBlankerAmiDARK.c:14:
AmiDARK:Shared/AmiDARK_Blanker.c:142: error: ‘GUIEventFunc’ undeclared here (not in a function)
AmiDARK:Shared/AmiDARK_Blanker.c:143: error: ‘GUIIdcmpFunc’ undeclared here (not in a function)
AmiDARK:Shared/AmiDARK_Blanker.c:145: error: expected ‘,’ or ‘;’ before ‘__AMIGADATE__’
AmiDARK:Shared/AmiDARK_Blanker.c:148: error: ‘_manager_Obtain’ undeclared here (not in a function)
AmiDARK:Shared/AmiDARK_Blanker.c:149: error: ‘_manager_Release’ undeclared here (not in a function)
AmiDARK:Shared/AmiDARK_Blanker.c:152: error: ‘_manager_Open’ undeclared here (not in a function)
AmiDARK:Shared/AmiDARK_Blanker.c:153: error: ‘_manager_Close’ undeclared here (not in a function)
AmiDARK:Shared/AmiDARK_Blanker.c:154: error: ‘_manager_Expunge’ undeclared here (not in a function)
…
…
…
AmiDARK:Shared/AmiDARK_Blanker.c:764: error: request for member ‘CommandSuspend’ in something not a structure or union
AmiDARK:Shared/AmiDARK_Blanker.c:765: error: dereferencing pointer to incomplete type
AmiDARK:Shared/AmiDARK_Blanker.c:765: error: request for member ‘SuspendCommand’ in something not a structure or union
AmiDARK:Shared/AmiDARK_Blanker.c:765: error: dereferencing pointer to incomplete type
AmiDARK:Shared/AmiDARK_Blanker.c:765: error: request for member ‘CommandSuspend’ in something not a structure or union
AmiDARK:Shared/AmiDARK_Blanker.c:765: error: dereferencing pointer to incomplete type
AmiDARK:Shared/AmiDARK_Blanker.c:765: error: request for member ‘SuspendCommand’ in something not a structure or union
AmiDARK:Shared/AmiDARK_Blanker.c:765: warning: passing argument 1 of ‘strlcpy’ from incompatible pointer type
AmiDARK:Shared/AmiDARK_Blanker.c:765: warning: passing argument 2 of ‘strlcpy’ from incompatible pointer type
AmiDARK:Shared/AmiDARK_Blanker.c:765: warning: passing argument 3 of ‘strlcpy’ makes integer from pointer without a cast
AmiDARK:Shared/AmiDARK_Blanker.c:766: error: dereferencing pointer to incomplete type
AmiDARK:Shared/AmiDARK_Blanker.c:766: error: request for member ‘CommandSuspend’ in something not a structure or union
AmiDARK:Shared/AmiDARK_Blanker.c:766: error: dereferencing pointer to incomplete type
AmiDARK:Shared/AmiDARK_Blanker.c:766: error: request for member ‘SuspendCommand’ in something not a structure or union
AmiDARK:Shared/AmiDARK_Blanker.c:766: warning: statement with no effect
AmiDARK:Shared/AmiDARK_Blanker.c:769: error: dereferencing pointer to incomplete type
AmiDARK:Shared/AmiDARK_Blanker.c:769: error: request for member ‘CommandPowerOff’ in something not a structure or union
AmiDARK:Shared/AmiDARK_Blanker.c:770: error: dereferencing pointer to incomplete type
…
…
…
AmiDARK:Shared/AmiDARK_Blanker.c:2376: warning: conflicting types for ‘SetBlankingMode’
AmiDARK:Shared/AmiDARK_Blanker.c:2006: warning: previous implicit declaration of ‘SetBlankingMode’ was here
AmiDARK:Shared/AmiDARK_Blanker.c: In function ‘SetBlankingMode’:
AmiDARK:Shared/AmiDARK_Blanker.c:2385: error: expected identifier before ‘(‘ token
AmiDARK:Shared/AmiDARK_Blanker.c:2385: warning: statement with no effect
AmiDARK:Shared/AmiDARK_Blanker.c:2388:5: error: macro « LP2NR » requires 16 arguments, but only 10 given
AmiDARK:Shared/AmiDARK_Blanker.c:2394: error: expected identifier before ‘(‘ token
AmiDARK:Shared/AmiDARK_Blanker.c:2394: warning: statement with no effect
AmiDARK:Shared/AmiDARK_Blanker.c:2397:5: error: macro « LP2NR » requires 16 arguments, but only 10 given
AmiDARK:Shared/AmiDARK_Blanker.c:2403: error: expected identifier before ‘(‘ token
AmiDARK:Shared/AmiDARK_Blanker.c:2403: warning: statement with no effect
AmiDARK:Shared/AmiDARK_Blanker.c:2406:5: error: macro « LP2NR » requires 16 arguments, but only 10 given
AmiDARK:Shared/AmiDARK_Blanker.c:2412: error: expected identifier before ‘(‘ token
AmiDARK:Shared/AmiDARK_Blanker.c:2412: warning: statement with no effect
AmiDARK:Shared/AmiDARK_Blanker.c:2415:5: error: macro « LP2NR » requires 16 arguments, but only 10 given
make: *** [libBlankerAmiDARK.o] Error 1
Plus de 700 erreurs …
J’ai pas tout copié 97ko … ça fait un peu beaucoup pour un post :p
5 sujets de 1 à 5 (sur un total de 5)
- Vous devez être connecté pour répondre à ce sujet.
› Forums › AmigaOS, MorphOS et AROS › Développement › [Fixed] AOS4 – Code source d’un screen blanker