| View previous topic :: View next topic |
| Author |
Message |
sweetlilmre
Joined: 01 Oct 2005 Posts: 27
|
Posted: Sun Oct 02, 2005 9:57 pm Post subject: Compiling LuaPlayer for windows |
|
|
Hi,
After much head bashing, I've finally managed to get somewhere with compiling the Windows LuaPlayer under cygwin.
My method was as follows:
Get and unpack the mikmod 3.0.3 src distro:
make: mmio
make: playercode
cp include/* /usr/local/include
cp lib/* /usr/local/lib
Get GLUT bin distro
put the .h file in /usr/local/GL
rename the lib to .a and put in /usr/local/lib
Now I get the following errors:
$ make -f Makefile.windows
gcc -o luaplayer.exe \
src/graphics.c src/sound.c src/luaplayer.c src/luacontrols.c src/luagraphics.c src/luasound.c src/luasystem.c src/utility.c \
src/emulator/emulator.c src/emulator/framebuffer.c src/emulator/windows/
windows.c \
-I/usr/local/pspdev/psp/sdk/sdk/include -I/usr/local/pspdev/psp/sdk/include -Isrc -L/usr/local/lib -lglut32 -lglu32 -llua -llualib -lopengl32 -lpng -lkernel32
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc7BnoCM.o:luasystem.c:(.text+0x840)
: undefined reference to `_sceKernelUtilsMd5Digest'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cciXPLRB.o:windows.c:(.text+0x1c): undefined reference to `___glutInitWithExit@12'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cciXPLRB.o:windows.c:(.text+0x3c): undefined reference to `___glutCreateWindowWithExit@8'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cciXPLRB.o:windows.c:(.text+0x5c): undefined reference to `___glutCreateMenuWithExit@8'
collect2: ld returned 1 exit status
This looks like an environment or define issue, but I can't figure it out.
Any help would be greatly appreciated.
Thanks
-(e) |
|
| Back to top |
|
 |
sweetlilmre
Joined: 01 Oct 2005 Posts: 27
|
Posted: Mon Oct 03, 2005 5:35 pm Post subject: |
|
|
Hi,
I was being an idiot and hadn't d/ld the cygwin openGL package...
If anyone wants instructions on how to compile, PM me and I'll do a tut.
Thanks
-(e) |
|
| Back to top |
|
 |
Zenurb
Joined: 30 Sep 2005 Posts: 106 Location: United Kingdom
|
Posted: Mon Oct 03, 2005 8:06 pm Post subject: |
|
|
| sweetlilmre wrote: | Hi,
I was being an idiot and hadn't d/ld the cygwin openGL package...
If anyone wants instructions on how to compile, PM me and I'll do a tut.
Thanks
-(e) |
A tutorial would be nice, if not, a list of pre-requisites or dependancies, maybe someone could set up a windows nightly build. _________________ Proud Dvorak User
US 1.5 PSP (Original) |
|
| Back to top |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Mon Oct 03, 2005 8:59 pm Post subject: |
|
|
i added opengl to my cygwin enviroment, still gettin errors :-/ _________________ "Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com |
|
| Back to top |
|
 |
|