Re: Alien::SLD2
[email protected] (kmx) Fri, 01 Mar 2013 11:32:14 +0100
| Newsgroups | perl.sdl.devel |
|---|---|
| Message-ID | <[email protected]> |
On 1.3.2013 5:10, Kartik Thakore wrote: > So was trying to compile stuff this is what I get running. perl Build.pl > and perl Build in https://github.com/PerlGameDev/SDL2 > > I copied your libSDL2 zip files to strawberryperl/c > > g++.exe -o "blib\arch\auto\SDL2\SDL2.dll" -Wl,--base-file,"lib\SDL2.base" > -Wl,-- > image-base,0x7d200000 -mdll -s > -L"C:\Users\kthakore\Documents\Development\strawb > erry_perl\perl\lib\CORE" > -L"C:\Users\kthakore\Documents\Development\strawberry_p > erl\c\lib" "lib\SDL2.lds" > -LC:\Users\kthakore\Documents\Development\strawberry_p > erl\c\bin\..\lib -lmingw32 -lSDL2main -lSDL2 -mwindows "lib\SDL2.exp" > lib\SDL2.o:SDL2.c:(.text+0x5e): undefined reference to `get_handle_win32' > lib\SDL2.o:SDL2.c:(.text+0x4d7): undefined reference to > `windows_force_driver' > collect2: ld returned 1 exit status > dlltool --def "lib\SDL2.def" --output-exp "lib\SDL2.exp" --base-file > "lib\SDL2.base" I have no idea what should functions get_handle_win32 + windows_force_driver exactly do. These are not part of SDL2. Simply comment them out. -- kmx