SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Reply
 
Thread Tools Search this Thread
Old 09-16-2017   #1
choalover
チャオノコイビト
Default MinGW Trouble

MinGW is no longer updated; as a result, it is causing me some trouble along with some other people that have attempted to compile SRB2 using the makefiles method. Reinstalling MinGW doesn't fix the issue. This issue is a really serious issue that could be avoided by changing the compiling method for SRB2, but I prefer to use MinGW since it is the recommended method however.

Compile Log:
Spoiler:

..\comptime.bat .
gcc -I../libs/SDL2/i686-w64-mingw32/include/SDL2 -I../libs/SDL2_mixer/i686-w64-mingw32/include/SDL2 -Dmain=SDL_main -I../libs/libpng-src -I../libs/zlib -I../libs/gme/include -DHAVE_MINIUPNPC -O3 -g -fno-exceptions -DSTDC_HEADERS -gdwarf-2 -D__USE_MINGW_ANSI_STDIO=0 -DUSE_WGL_SWAP -DDIRECTFULLSCREEN -DHAVE_SDL -DHAVE_MIXER -DSDLMAIN -DHWRENDER -DHW3SOUND -DCOMPVERSION -DUSEASM -DHAVE_PNG -DHAVE_LIBGME -DHAVE_BLUA -I../libs/ -DSTATIC_MINIUPNPC -march=pentium -DNDEBUG -Wall -Wformat-y2k -Wformat-security -c comptime.c -o ../objs/Mingw/SDL/Release/comptime.o
The syntax of the command is incorrect.
Makefile:605: recipe for target '../bin/Mingw/Release/srb2win.exe' failed
mingw32-make: [../bin/Mingw/Release/srb2win.exe] Error 1 (ignored)
Linking srb2win.exe...
gcc -L../libs/miniupnpc/mingw32 ../objs/Mingw/SDL/Release/i_main.o ../objs/Mingw/SDL/Release/win_dbg.o ../objs/Mingw/SDL/Release/comptime.o ../objs/Mingw/SDL/Release/string.o ../objs/Mingw/SDL/Release/d_main.o ../objs/Mingw/SDL/Release/d_clisrv.o ../objs/Mingw/SDL/Release/d_net.o ../objs/Mingw/SDL/Release/d_netfil.o ../objs/Mingw/SDL/Release/d_netcmd.o ../objs/Mingw/SDL/Release/dehacked.o ../objs/Mingw/SDL/Release/z_zone.o ../objs/Mingw/SDL/Release/f_finale.o ../objs/Mingw/SDL/Release/f_wipe.o ../objs/Mingw/SDL/Release/g_game.o ../objs/Mingw/SDL/Release/g_input.o ../objs/Mingw/SDL/Release/am_map.o ../objs/Mingw/SDL/Release/command.o ../objs/Mingw/SDL/Release/console.o ../objs/Mingw/SDL/Release/hu_stuff.o ../objs/Mingw/SDL/Release/y_inter.o ../objs/Mingw/SDL/Release/st_stuff.o ../objs/Mingw/SDL/Release/m_aatree.o ../objs/Mingw/SDL/Release/m_anigif.o ../objs/Mingw/SDL/Release/m_argv.o ../objs/Mingw/SDL/Release/m_bbox.o ../objs/Mingw/SDL/Release/m_cheat.o ../objs/Mingw/SDL/Release/m_cond.o ../objs/Mingw/SDL/Release/m_fixed.o ../objs/Mingw/SDL/Release/m_menu.o ../objs/Mingw/SDL/Release/m_misc.o ../objs/Mingw/SDL/Release/m_random.o ../objs/Mingw/SDL/Release/m_queue.o ../objs/Mingw/SDL/Release/info.o ../objs/Mingw/SDL/Release/p_ceilng.o ../objs/Mingw/SDL/Release/p_enemy.o ../objs/Mingw/SDL/Release/p_floor.o ../objs/Mingw/SDL/Release/p_inter.o ../objs/Mingw/SDL/Release/p_lights.o ../objs/Mingw/SDL/Release/p_map.o ../objs/Mingw/SDL/Release/p_maputl.o ../objs/Mingw/SDL/Release/p_mobj.o ../objs/Mingw/SDL/Release/p_polyobj.o ../objs/Mingw/SDL/Release/p_saveg.o ../objs/Mingw/SDL/Release/p_setup.o ../objs/Mingw/SDL/Release/p_sight.o ../objs/Mingw/SDL/Release/p_spec.o ../objs/Mingw/SDL/Release/p_telept.o ../objs/Mingw/SDL/Release/p_tick.o ../objs/Mingw/SDL/Release/p_user.o ../objs/Mingw/SDL/Release/p_slopes.o ../objs/Mingw/SDL/Release/tables.o ../objs/Mingw/SDL/Release/r_bsp.o ../objs/Mingw/SDL/Release/r_data.o ../objs/Mingw/SDL/Release/r_draw.o ../objs/Mingw/SDL/Release/r_main.o ../objs/Mingw/SDL/Release/r_plane.o ../objs/Mingw/SDL/Release/r_segs.o ../objs/Mingw/SDL/Release/r_sky.o ../objs/Mingw/SDL/Release/r_splats.o ../objs/Mingw/SDL/Release/r_things.o ../objs/Mingw/SDL/Release/screen.o ../objs/Mingw/SDL/Release/v_video.o ../objs/Mingw/SDL/Release/s_sound.o ../objs/Mingw/SDL/Release/sounds.o ../objs/Mingw/SDL/Release/w_wad.o ../objs/Mingw/SDL/Release/filesrch.o ../objs/Mingw/SDL/Release/mserv.o ../objs/Mingw/SDL/Release/i_tcp.o ../objs/Mingw/SDL/Release/lzf.o ../objs/Mingw/SDL/Release/vid_copy.o ../objs/Mingw/SDL/Release/b_bot.o ../objs/Mingw/SDL/Release/i_cdmus.o ../objs/Mingw/SDL/Release/i_net.o ../objs/Mingw/SDL/Release/i_system.o ../objs/Mingw/SDL/Release/SRB2.res ../objs/Mingw/SDL/Release/mixer_sound.o ../objs/Mingw/SDL/Release/md5.o ../objs/Mingw/SDL/Release/i_video.o ../objs/Mingw/SDL/Release/dosstr.o ../objs/Mingw/SDL/Release/endtxt.o ../objs/Mingw/SDL/Release/hwsym_sdl.o ../objs/Mingw/SDL/Release/r_opengl.o ../objs/Mingw/SDL/Release/ogl_sdl.o ../objs/Mingw/SDL/Release/hw_bsp.o ../objs/Mingw/SDL/Release/hw_draw.o ../objs/Mingw/SDL/Release/hw_light.o ../objs/Mingw/SDL/Release/hw_main.o ../objs/Mingw/SDL/Release/hw_md2.o ../objs/Mingw/SDL/Release/hw_cache.o ../objs/Mingw/SDL/Release/hw_trick.o ../objs/Mingw/SDL/Release/hw3sound.o ../objs/Mingw/SDL/Release/tmap.o ../objs/Mingw/SDL/Release/tmap_mmx.o ../objs/Mingw/SDL/Release/lapi.o ../objs/Mingw/SDL/Release/lbaselib.o ../objs/Mingw/SDL/Release/ldo.o ../objs/Mingw/SDL/Release/lfunc.o ../objs/Mingw/SDL/Release/linit.o ../objs/Mingw/SDL/Release/llex.o ../objs/Mingw/SDL/Release/lmem.o ../objs/Mingw/SDL/Release/lobject.o ../objs/Mingw/SDL/Release/lstate.o ../objs/Mingw/SDL/Release/lstrlib.o ../objs/Mingw/SDL/Release/ltablib.o ../objs/Mingw/SDL/Release/lundump.o ../objs/Mingw/SDL/Release/lzio.o ../objs/Mingw/SDL/Release/lauxlib.o ../objs/Mingw/SDL/Release/lcode.o ../objs/Mingw/SDL/Release/ldebug.o ../objs/Mingw/SDL/Release/ldump.o ../objs/Mingw/SDL/Release/lgc.o ../objs/Mingw/SDL/Release/lopcodes.o ../objs/Mingw/SDL/Release/lparser.o ../objs/Mingw/SDL/Release/lstring.o ../objs/Mingw/SDL/Release/ltable.o ../objs/Mingw/SDL/Release/ltm.o ../objs/Mingw/SDL/Release/lvm.o ../objs/Mingw/SDL/Release/lua_script.o ../objs/Mingw/SDL/Release/lua_baselib.o ../objs/Mingw/SDL/Release/lua_mathlib.o ../objs/Mingw/SDL/Release/lua_hooklib.o ../objs/Mingw/SDL/Release/lua_consolelib.o ../objs/Mingw/SDL/Release/lua_infolib.o ../objs/Mingw/SDL/Release/lua_mobjlib.o ../objs/Mingw/SDL/Release/lua_playerlib.o ../objs/Mingw/SDL/Release/lua_skinlib.o ../objs/Mingw/SDL/Release/lua_thinkerlib.o ../objs/Mingw/SDL/Release/lua_maplib.o ../objs/Mingw/SDL/Release/lua_hudlib.o -o ../bin/Mingw/Release/srb2win.exe -L../libs/SDL2/i686-w64-mingw32/lib -L../libs/SDL2_mixer/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows -lSDL2_mixer -ladvapi32 -lkernel32 -lmsvcrt -luser32 -lws2_32 -L../libs/libpng-src/projects -lpng32 -L../libs/zlib/win32 -lz32 -L../libs/gme/win32 -lgme -lminiupnpc -lws2_32 -liphlpapi
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmingwex.a(vsnprintf.o):(.text+0x0): multiple definition of `vsnprintf'
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmsvcrt.a(dkhmbs01290.o):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
Makefile:605: recipe for target '../bin/Mingw/Release/srb2win.exe' failed
mingw32-make: *** [../bin/Mingw/Release/srb2win.exe] Error 1
__________________
I love the new SRB2 2.1.17 update so far.
choalover is offline   Reply With Quote
Old 09-17-2017   #2
Sryder13
'That brit'
Judge
 
Sryder13's Avatar
Default

Hi, I found a workaround for this a while ago. All I needed to do was install the mingw32-libmingwex dev package in the installation manager. NOOBJDUMP might also be necessary with the compile options, but that might just be a problem I have.
__________________
Quote:
<MonsterIestyn> try ctrl+f masturbation and get to the point
Sryder13 is offline   Reply With Quote
Old 09-21-2017   #3
choalover
チャオノコイビト
Default

Quote:
Originally Posted by Sryder13 View Post
Hi, I found a workaround for this a while ago. All I needed to do was install the mingw32-libmingwex dev package in the installation manager. NOOBJDUMP might also be necessary with the compile options, but that might just be a problem I have.
Thanks! I'm going to try it out today if I don't get distracted.
__________________
I love the new SRB2 2.1.17 update so far.
choalover is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.