Development > Newbie Coding
(log) Actually got new build system to (partially) work on Windows 7
Mattn:
there is nothing wrong with the build in master, you just don't have the pkg-config files for SDL in lib/pkg-config/sdl.pc
a new mingw package would be needed that also contain these files
Muton:
> so maybe one of your libs is not build statically?
They are, using C::B result in a working ufo.exe
I've used the last svn sources, btw.
The git source compile ufo.exe without any problem (if i copy gcc.exe to cc.exe [/bin/sh: cc: command not found])
but shared.
A static build instead .... (missing libs like dxguid)
$ pkg-config.exe --libs --static sdl
-mwindows -LD:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib -lmingw32 -lSDLmain -lSDL -liconv -lm -luser32 -lgdi32 -lwinmm -ldxguid
--- Code: ---D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libintl.a(dcigettext.o):dcigettext.c:(.text+0x716): undefined reference to `libiconv'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libintl.a(dcigettext.o):dcigettext.c:(.text+0x8fb): undefined reference to `libiconv_open'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libintl.a(dcigettext.o):dcigettext.c:(.text+0x96e): undefined reference to `libiconv_open'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libintl.a(relocatable.o):relocatable.c:(.text+0x4f): undefined reference to `libiconv_set_relocation_prefix'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_systimer.o):SDL_systimer.c:(.text+0x178): undefined reference to `timeSetEvent@20'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_systimer.o):SDL_systimer.c:(.text+0x1c6): undefined reference to `timeKillEvent@4'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.text+0x152): undefined reference to `IID_IDirectDrawSurface3'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.text+0xfe9): undefined reference to `IID_IDirectDraw2'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.text+0x2025): undefined reference to `IID_IDirectDrawSurface3'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.text+0x2c6e): undefined reference to `IID_IDirectDrawSurface3'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.text+0x3ba1): undefined reference to `IID_IDirectDrawGammaControl'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.text+0x3df3): undefined reference to `IID_IDirectDrawGammaControl'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x0): undefined reference to `GUID_Key'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x10): undefined reference to `GUID_Key'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x20): undefined reference to `GUID_Key'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x30): undefined reference to `GUID_Key'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x40): undefined reference to `GUID_Key'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x50): more undefined references to `GUID_Key' follow
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1000): undefined reference to `GUID_XAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1010): undefined reference to `GUID_YAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1020): undefined reference to `GUID_ZAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1080): undefined reference to `GUID_XAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1090): undefined reference to `GUID_YAxis'
:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x10a0): undefined reference to `GUID_ZAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1140): undefined reference to `GUID_XAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1150): undefined reference to `GUID_YAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1160): undefined reference to `GUID_ZAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1170): undefined reference to `GUID_RxAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1180): undefined reference to `GUID_RyAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x1190): undefined reference to `GUID_RzAxis'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x11a0): undefined reference to `GUID_Slider'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x11b0): undefined reference to `GUID_Slider'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x11c0): undefined reference to `GUID_POV'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x11d0): undefined reference to `GUID_POV'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x11e0): undefined reference to `GUID_POV'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5video.o):SDL_dx5video.c:(.data+0x11f0): undefined reference to `GUID_POV'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_mmjoystick.o):SDL_mmjoystick.c:(.text+0x2b3): undefined reference to `joyGetNumDevs@0'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_mmjoystick.o):SDL_mmjoystick.c:(.text+0x2e2): undefined reference to `joyGetPosEx@8'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_mmjoystick.o):SDL_mmjoystick.c:(.text+0x30f): undefined reference to `joyGetDevCapsA@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_mmjoystick.o):SDL_mmjoystick.c:(.text+0x759): undefined reference to `joyGetPosEx@8'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dibaudio.o):SDL_dibaudio.c:(.text+0x1cf): undefined reference to `waveOutGetErrorTextA@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dibaudio.o):SDL_dibaudio.c:(.text+0x2a2): undefined reference to `waveOutWrite@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dibaudio.o):SDL_dibaudio.c:(.text+0x380): undefined reference to `waveOutClose@4'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dibaudio.o):SDL_dibaudio.c:(.text+0x3dc): undefined reference to `waveOutUnprepareHeader@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dibaudio.o):SDL_dibaudio.c:(.text+0x5cf): undefined reference to `waveOutOpen@24'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dibaudio.o):SDL_dibaudio.c:(.text+0x768): undefined reference to `waveOutPrepareHeader@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5yuv.o):SDL_dx5yuv.c:(.text+0xcd): undefined reference to `IID_IDirectDrawSurface3'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5events.o):SDL_dx5events.c:(.text+0x234): undefined reference to `IID_IDirectInputDevice2A'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5events.o):SDL_dx5events.c:(.data+0x4): undefined reference to `GUID_SysKeyboard'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_dx5events.o):SDL_dx5events.c:(.data+0x1c): undefined reference to `GUID_SysMouse'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_syscdrom.o):SDL_syscdrom.c:(.text+0x163): undefined reference to `mciSendCommandA@16'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL.a(SDL_syscdrom.o):SDL_syscdrom.c:(.text+0x18c): undefined reference to `mciGetErrorStringA@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x12): undefined reference to `jpeg_calc_output_dimensions'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x1c): undefined reference to `jpeg_CreateDecompress'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x26): undefined reference to `jpeg_destroy_decompress'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x30): undefined reference to `jpeg_finish_decompress'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x3a): undefined reference to `jpeg_read_header'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x44): undefined reference to `jpeg_read_scanlines'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x4e): undefined reference to `jpeg_resync_to_restart'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x58): undefined reference to `jpeg_start_decompress'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x20): undefined reference to `png_create_read_struct'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x2a): undefined reference to `png_destroy_read_struct'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x34): undefined reference to `png_get_IHDR'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x48): undefined reference to `png_get_tRNS'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x52): undefined reference to `png_get_valid'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x5c): undefined reference to `png_read_image'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x66): undefined reference to `png_read_info'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x70): undefined reference to `png_read_update_info'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x7a): undefined reference to `png_set_expand'
:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x84): undefined reference to `png_set_gray_to_rgb'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0x98): undefined reference to `png_set_read_fn'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_png.o):IMG_png.c:(.text+0xa2): undefined reference to `png_set_strip_16'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x12): undefined reference to `TIFFClientOpen'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x1c): undefined reference to `TIFFClose'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x26): undefined reference to `TIFFGetField'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x30): undefined reference to `TIFFReadRGBAImage'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x3a): undefined reference to `TIFFSetErrorHandler'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x16): undefined reference to `SMPEG_actualSpec'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x20): undefined reference to `SMPEG_delete'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x2a): undefined reference to `SMPEG_enableaudio'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x34): undefined reference to `SMPEG_enablevideo'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x3e): undefined reference to `SMPEG_new'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x48): undefined reference to `SMPEG_new_rwops'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x52): undefined reference to `SMPEG_play'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x5c): undefined reference to `SMPEG_playAudio'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x66): undefined reference to `SMPEG_rewind'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x70): undefined reference to `SMPEG_setvolume'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x7a): undefined reference to `SMPEG_skip'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x84): undefined reference to `SMPEG_status'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_mp3.o):dynamic_mp3.c:(.text+0x8e): undefined reference to `SMPEG_stop'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x3c): undefined reference to `midiOutUnprepareHeader@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0xf0): undefined reference to `midiOutPrepareHeader@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x122): undefined reference to `midiStreamOut@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x41e): undefined reference to `midiStreamOpen@24'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x43c): undefined reference to `midiStreamClose@4'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x5bb): undefined reference to `midiStreamStop@4'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x5cb): undefined reference to `midiStreamClose@4'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x646): undefined reference to `midiStreamOpen@24'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x6ad): undefined reference to `midiStreamProperty@12'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x6cb): undefined reference to `midiStreamRestart@4'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x6ef): undefined reference to `midiStreamStop@4'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x6ff): undefined reference to `midiStreamClose@4'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(native_midi_win32.o):native_midi_win32.c:(.text+0x789): undefined reference to `midiOutSetVolume@8'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_ogg.o):dynamic_ogg.c:(.text+0x53): undefined reference to `ov_clear'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_ogg.o):dynamic_ogg.c:(.text+0x5d): undefined reference to `ov_info'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_ogg.o):dynamic_ogg.c:(.text+0x67): undefined reference to `ov_open_callbacks'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_ogg.o):dynamic_ogg.c:(.text+0x71): undefined reference to `ov_pcm_total'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_ogg.o):dynamic_ogg.c:(.text+0x7b): undefined reference to `ov_read'
D:/temp/TMP_CO~2/UFOAIW~1/MinGW/lib\libSDL_mixer.a(dynamic_ogg.o):dynamic_ogg.c:(.text+0x85): undefined reference to `ov_time_seek'
--- End code ---
> btw. also radiant links statically now - though the version that was last produced by the night build has problems with from gtkglext widget
I'm using the last sources now to compile radiant using static libs from mingw-cross-env-2.15
Its not working
fist gtk+ libs aren't found
modified mingw32.mk (libs)
GTK_CFLAGS ?= $(call PKG_CFLAGS,gtk-win32-2.0) $(call PKG_CFLAGS,libxml2)
GTK_LIBS ?= $(call PKG_LIBS,gtk-win32-2.0) $(call PKG_LIBS,libxml2)
XML2_CFLAGS ?= $(call PKG_CFLAGS,libxml2)
XML2_LIBS ?= $(call PKG_LIBS,libxml2)
OPENAL_CFLAGS ?= $(call PKG_CFLAGS,openal32)
OPENAL_LIBS ?= $(call PKG_LIBS,openal32)
Its unbelievable slow to compile radiant under MinGW
its at least 5 times slower than on C::B
and i receive tons of linker errors
Not even shared is possible -> linker errors
There is one problem with libgio
Windows 2000 support
wspiapi.h is not used even if its there (configure)
So your radiant build wont work on w2k
I've been btw unable to simly build ufo.exe on mingw to support w2k
I give up >:(
i stay on C::B
its faster
easier to use
i can add or remove libs without taking care about pkg-config
and the output (errors) is useful (-Wall seams to have no effect)
Ufo and tools are static
radiant (this crappy tool) is dynamic and w2k compatible
and thats it
Mattn:
export CC=gcc
or add this to config.mk (create that file)
--- Code: ---CC=gcc
--- End code ---
Muton:
--- Quote from: Mattn on October 06, 2010, 09:48:32 am ---i've checked in a c::b project file that works with the makefiles in the background - just make sure your sdl-config is returning the correct path for sdl-config --cflags - in the c::b package we offer for download it points to dave's home dir - which will of course fail for everyone else. If you get a SDL_opengl.h not found error, this is due to the wrong path in sdl-config
--- End quote ---
> i've checked in a c::b project file that works with the makefiles in the background
??? ??? ???
I'm using cbp files
ufo.rc
1 RT_MANIFEST DISCARDABLE "build/projects/ufo.exe.manifest"
101 ICON DISCARDABLE "build/projects/ufo.ico"
112 ICON DISCARDABLE "build/projects/ufoded.ico"
radiant.rc
101 ICON DISCARDABLE "build/projects/radiant.ico"
windres error
You trashed
#ifndef CROSSBUILD
1 RT_MANIFEST DISCARDABLE "ufo.exe.manifest"
101 ICON DISCARDABLE "ufo.ico"
112 ICON DISCARDABLE "ufo_ded.ico"
#else
1 RT_MANIFEST DISCARDABLE "build/projects/ufo.exe.manifest"
101 ICON DISCARDABLE "build/projects/ufo.ico"
112 ICON DISCARDABLE "build/projects/ufo_ded.ico"
#endif
ufomodel
linker error
.objs\ufomodel\src\client\renderer\r_model_md2.o:r_model_md2.c:(.text+0x55f): undefined reference to `R_UseActorSkin'
.objs\ufomodel\src\client\renderer\r_model_md2.o:r_model_md2.c:(.text+0x5cc): undefined reference to `R_LoadActorSkinsFromModel'
I had to add
client/renderer/r_model.c
client/renderer/r_model_alias.c
That make me think you dropped C::B
Duke:
--- Quote from: Muton on October 06, 2010, 07:53:35 pm ---That make me think you dropped C::B
--- End quote ---
C::B will not be dropped before the last dev has moved away from it. At least I am requesting this.
I've been trying eclipse for a week or so and was very pleased about what I saw. Looks like eclipse is equivalent or slightly better in every aspect and clearly superior in a few important features, namely the call-, callee-, include- and type-trees I've been missing so much in CB. I'm pretty sure I will immediately ditch CB once eclipse runs smoothly on my machine.
atm I'm using eclipse for analysis and CB for compling, so I have the same prob with *.rc as you.
@Mattn:
Is there any reason why we shouldn't put the CROSSBUILD stuff back in for a while ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version