Schrift
[thread]5607[/thread]

SDL::App::FPS: libraries + header werden nicht gefunden



<< >> 6 Einträge, 1 Seite
PerlProfi
 2007-06-29 00:35
#48357 #48357
User since
2006-11-29
340 Artikel
BenutzerIn
[default_avatar]
Hallo,

ich hab schon mit SDL gearbeitet und hab mich jetzt nach einem Framework umgeschaut, dass mir Arbeit beim Initialisieren abnimmt und mir die Möglichkeit bietet meine Animationen zeitgesteuert ablaufen zu lassen.
Das Modul SDL::App::FPS scheint genau das richtige für mich zu sein, ich hab es auch schon versucht mit ppm und CPAN.pm zu installieren, bin aber bisher noch zu keinem erfolgreichen Ergebnis gekommen.

Anscheinend gibt es kein SDL::App::FPS Paket für ppm und CPAN.pm kann das Modul leider auch nicht installieren und kommt mit diesen Meldungen raus:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
> perl -MCPAN -e "install SDL::App::FPS"
Set up gcc environment - 3.4.2 (mingw-special)
CPAN: Storable loaded ok (v2.15)
Going to read C:\Perl\cpan\Metadata
Database was generated on Thu, 28 Jun 2007 10:08:56 GMT
Running install for module 'SDL::App::FPS'
Running make for T/TE/TELS/sdl/SDL-App-FPS-0.21.tar.gz
CPAN: Digest::SHA loaded ok (v5.44)
CPAN: Compress::Zlib loaded ok (v1.42)
Checksum for C:\Perl\cpan\sources\authors\id\T\TE\TELS\sdl\SDL-App-FPS-0.21.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.30)
SDL-App-FPS-0.21/
SDL-App-FPS-0.21/t/
SDL-App-FPS-0.21/t/SDL/
SDL-App-FPS-0.21/t/SDL/App/
SDL-App-FPS-0.21/t/SDL/App/MyFPS.pm
SDL-App-FPS-0.21/t/SDL/App/MyFPS2.pm
SDL-App-FPS-0.21/t/color.t
SDL-App-FPS-0.21/t/event.t
SDL-App-FPS-0.21/t/timer.t
SDL-App-FPS-0.21/t/config/
SDL-App-FPS-0.21/t/config/test.cfg
SDL-App-FPS-0.21/t/config/client.cfg
SDL-App-FPS-0.21/t/fps_timer.t
SDL-App-FPS-0.21/t/mycfg.t
SDL-App-FPS-0.21/t/myfps.t
SDL-App-FPS-0.21/t/myopt.t
SDL-App-FPS-0.21/t/thingy.t
SDL-App-FPS-0.21/t/group.t
SDL-App-FPS-0.21/t/test-data/
SDL-App-FPS-0.21/t/test-data/console.fnt
SDL-App-FPS-0.21/t/test-data/fps.fnt
SDL-App-FPS-0.21/t/button.t
SDL-App-FPS-0.21/inc/
SDL-App-FPS-0.21/inc/Module/
SDL-App-FPS-0.21/inc/Module/Install/
SDL-App-FPS-0.21/inc/Module/Install/Can.pm
SDL-App-FPS-0.21/inc/Module/Install/Base.pm
SDL-App-FPS-0.21/inc/Module/Install/Win32.pm
SDL-App-FPS-0.21/inc/Module/Install/WriteAll.pm
SDL-App-FPS-0.21/inc/Module/Install/AutoInstall.pm
SDL-App-FPS-0.21/inc/Module/Install/Makefile.pm
SDL-App-FPS-0.21/inc/Module/Install/Fetch.pm
SDL-App-FPS-0.21/inc/Module/Install/Include.pm
SDL-App-FPS-0.21/inc/Module/Install/Metadata.pm
SDL-App-FPS-0.21/inc/Module/Install.pm
SDL-App-FPS-0.21/inc/Module/AutoInstall.pm
SDL-App-FPS-0.21/lib/
SDL-App-FPS-0.21/lib/SDL/
SDL-App-FPS-0.21/lib/SDL/App/
SDL-App-FPS-0.21/lib/SDL/App/FPS/
SDL-App-FPS-0.21/lib/SDL/App/FPS/Group.pm
SDL-App-FPS-0.21/lib/SDL/App/FPS/Button.pm
SDL-App-FPS-0.21/lib/SDL/App/FPS/Color.pm
SDL-App-FPS-0.21/lib/SDL/App/FPS/Timer.pm
SDL-App-FPS-0.21/lib/SDL/App/FPS/EventHandler.pm
SDL-App-FPS-0.21/lib/SDL/App/FPS/Thingy.pm
SDL-App-FPS-0.21/lib/SDL/App/FPS.pm
SDL-App-FPS-0.21/BUGS
SDL-App-FPS-0.21/TODO
SDL-App-FPS-0.21/FPS.xs
SDL-App-FPS-0.21/SIGNATURE
SDL-App-FPS-0.21/LICENSE
SDL-App-FPS-0.21/README
SDL-App-FPS-0.21/Makefile.PL
SDL-App-FPS-0.21/META.yml
SDL-App-FPS-0.21/CHANGES
SDL-App-FPS-0.21/examples/
SDL-App-FPS-0.21/examples/lib/
SDL-App-FPS-0.21/examples/lib/SDL/
SDL-App-FPS-0.21/examples/lib/SDL/App/
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/MyOpenGL.pm
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/MyMandel.pm
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/Empty.pm
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/MyMouse.pm
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/MyEvent.pm
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/Demo.pm
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/MyButt.pm
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/MyKeyCheck.pm
SDL-App-FPS-0.21/examples/lib/SDL/App/FPS/MyColors.pm
SDL-App-FPS-0.21/examples/lib/SDL/OpenGL/
SDL-App-FPS-0.21/examples/lib/SDL/OpenGL/Cube.pm
SDL-App-FPS-0.21/examples/data/
SDL-App-FPS-0.21/examples/data/console.fnt
SDL-App-FPS-0.21/examples/data/fps.fnt
SDL-App-FPS-0.21/examples/data/courier.bmp
SDL-App-FPS-0.21/examples/demo.pl
SDL-App-FPS-0.21/examples/colors.pl
SDL-App-FPS-0.21/examples/empty.pl
SDL-App-FPS-0.21/examples/keycheck.pl
SDL-App-FPS-0.21/examples/config/
SDL-App-FPS-0.21/examples/config/mandel.cfg
SDL-App-FPS-0.21/examples/config/opengl.cfg
SDL-App-FPS-0.21/examples/buttons.pl
SDL-App-FPS-0.21/examples/mandel.pl
SDL-App-FPS-0.21/examples/opengl.pl
SDL-App-FPS-0.21/examples/mouse.pl
SDL-App-FPS-0.21/examples/event.pl
SDL-App-FPS-0.21/examples/boulder/
SDL-App-FPS-0.21/examples/boulder/lib/
SDL-App-FPS-0.21/examples/boulder/lib/SDL/
SDL-App-FPS-0.21/examples/boulder/lib/SDL/App/
SDL-App-FPS-0.21/examples/boulder/lib/SDL/App/FPS/
SDL-App-FPS-0.21/examples/boulder/lib/SDL/App/FPS/MyCave.pm
SDL-App-FPS-0.21/examples/boulder/lib/SDL/App/FPS/MyBoulder.pm
SDL-App-FPS-0.21/examples/boulder/data/
SDL-App-FPS-0.21/examples/boulder/data/level0001.txt
SDL-App-FPS-0.21/examples/boulder/save/
SDL-App-FPS-0.21/examples/boulder/save/quicksave.txt
SDL-App-FPS-0.21/examples/boulder/boulder.pl
SDL-App-FPS-0.21/CREDITS
SDL-App-FPS-0.21/MANIFEST
CPAN: File::Temp loaded ok (v0.12)

CPAN.pm: Going to build T/TE/TELS/sdl/SDL-App-FPS-0.21.tar.gz

Set up gcc environment - 3.4.2 (mingw-special)
Cannot determine perl version info from lib/SDL/App/FPS.pm
Cannot determine license info from lib/SDL/App/FPS.pm
Use of uninitialized value in array dereference at inc/Module/Install/Metadata.pm - /usr/local/lib/perl5/site_perl/5.8.6
/Module/Install/Metadata.pm line 154.
*** Module::AutoInstall version 1.01
*** Checking for dependencies...
[Core Features]
- Test::More ...loaded. (0.7 >= 0.42)
- SDL ...loaded. (2.1.3 >= 2.1.3)
- Config::Simple ...loaded. (4.580 >= 4.48)
- Games::OpenGL::Font::2D ...loaded. (0.070 >= 0.07)
- Games::Console ...loaded. (0.040 >= 0.04)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Argument "2.1.3" isn't numeric in numeric lt (<) at C:/Perl/lib/ExtUtils/MakeMaker.pm line 399.
Warning: prerequisite SDL 2.1.3 not found. We have 2.001003.
Note (probably harmless): No library found for -lSDL
Note (probably harmless): No library found for -lkernel32
Note (probably harmless): No library found for -luser32
Note (probably harmless): No library found for -lgdi32
Note (probably harmless): No library found for -lwinspool
Note (probably harmless): No library found for -lcomdlg32
Note (probably harmless): No library found for -ladvapi32
Note (probably harmless): No library found for -lshell32
Note (probably harmless): No library found for -lole32
Note (probably harmless): No library found for -loleaut32
Note (probably harmless): No library found for -lnetapi32
Note (probably harmless): No library found for -luuid
Note (probably harmless): No library found for -lws2_32
Note (probably harmless): No library found for -lmpr
Note (probably harmless): No library found for -lwinmm
Note (probably harmless): No library found for -lversion
Note (probably harmless): No library found for -lodbc32
Note (probably harmless): No library found for -lodbccp32
Note (probably harmless): No library found for -lmsvcrt
Writing Makefile for SDL::App::FPS
CPAN: YAML loaded ok (v0.62)

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cp lib/SDL/App/FPS.pm blib\lib\SDL\App\FPS.pm
cp lib/SDL/App/FPS/Color.pm blib\lib\SDL\App\FPS\Color.pm
cp lib/SDL/App/FPS/EventHandler.pm blib\lib\SDL\App\FPS\EventHandler.pm
cp lib/SDL/App/FPS/Group.pm blib\lib\SDL\App\FPS\Group.pm
cp lib/SDL/App/FPS/Thingy.pm blib\lib\SDL\App\FPS\Thingy.pm
cp lib/SDL/App/FPS/Timer.pm blib\lib\SDL\App\FPS\Timer.pm
cp lib/SDL/App/FPS/Button.pm blib\lib\SDL\App\FPS\Button.pm
C:\Perl\bin\perl.exe -Iinc C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\typemap FPS.xs > FPS.xsc
&& C:\Perl\bin\perl.exe -Iinc -MExtUtils::Command -e mv FPS.xsc FPS.c
gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IM
PLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSI
ON=\"0.21\" -DXS_VERSION=\"0.21\" "-IC:\Perl\lib\CORE" FPS.c
FPS.xs:5:21: SDL/SDL.h: No such file or directory
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
TELS/sdl/SDL-App-FPS-0.21.tar.gz
C:\Perl\bin\nmake.EXE -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible

Ich kann mir einfach nicht erklären wieso er die ganzen Bibliotheken und Header nicht findet.
Es ist soweit ich weiß alles vorhanden.

SDL kann ich ja auch prima verwenden. ( Mit Perl und C )

Kann mir bitte jemand weiterhelfen?
Wie kriege ich CPAN.pm dazu die richtigen Pfadangaben zu benutzen, damit auch alles gefunden wird?

MfG
bloonix
 2007-06-29 01:08
#48358 #48358
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
hast du nmake installiert?

hier gibts nen link zu nmake15.exe

einfach runterladen, doppelklick und fertig
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.
renee
 2007-06-29 11:36
#48359 #48359
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
nmake wird nicht ausreichen, da auch ein Compiler benötigt wird. Ich würde mal bei Randy Kobes nachfragen, ob er ein PPM-Paket daraus machen kann.
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/
PerlProfi
 2007-06-29 12:25
#48360 #48360
User since
2006-11-29
340 Artikel
BenutzerIn
[default_avatar]
Ich hab nmake und den gcc installiert.

Soweit ich das beurteilen kann, hab ich alles auf meinem Rechner, was benötigt wird und er findet es einfach nicht.

Die dlls liegen alle in /WINDOWS/system32, er müsste Sie doch eigentlich finden ???
Und die SDL.h liegt in /mingw/include/SDL, der gcc in /mingw/bin.

@renee: ich werde ihm gleich eine Mail schicken.

MfG
renee
 2007-06-29 13:05
#48361 #48361
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Liegt das alles auch in $PATH?? Schau Dir mal die Umgebungsvariablen an...
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/
PerlProfi
 2007-06-29 14:37
#48362 #48362
User since
2006-11-29
340 Artikel
BenutzerIn
[default_avatar]
Jo, ist alles drin.
<< >> 6 Einträge, 1 Seite



View all threads created 2007-06-29 00:35.