Can someone compile this for me?

Status
Not open for further replies.
you are using the old version of Dev-C++ you need 4.9.9.2 or later
 
OK. I'll try.

EDIT: I tried it in 4.9.9.2, and it's a little better, because it actually tries to compile the code, but it still doesn't work. I get 107 errors, and at the end of the compilr log, it says "Execution terminated":
Compiler: Default compiler
Building Makefile: "E:\Documents and Settings\Rafat\My Documents\SRB2\Source Code Edit 1\src\win32\Makefile.win"
Executing make clean
rm -f ../../objs/Mingw/Win32/srb2edit.o ../../objs/Mingw/Win32/dx_error.o ../../objs/Mingw/Win32/fabdxlib.o ../../objs/Mingw/Win32/filesrch.o ../../objs/Mingw/Win32/Mid2strm.o ../../objs/Mingw/Win32/win_cd.o ../../objs/Mingw/Win32/win_dbg.o ../../objs/Mingw/Win32/win_dll.o ../../objs/Mingw/Win32/win_main.o ../../objs/Mingw/Win32/win_net.o ../../objs/Mingw/Win32/win_snd.o ../../objs/Mingw/Win32/win_sys.o ../../objs/Mingw/Win32/win_vid.o ../../objs/Mingw/Win32/hw3sound.o ../../objs/Mingw/Win32/hw_bsp.o ../../objs/Mingw/Win32/hw_cache.o ../../objs/Mingw/Win32/hw_draw.o ../../objs/Mingw/Win32/hw_light.o ../../objs/Mingw/Win32/hw_main.o ../../objs/Mingw/Win32/hw_md2.o ../../objs/Mingw/Win32/hw_trick.o ../../objs/Mingw/Win32/D_clisrv.o ../../objs/Mingw/Win32/D_main.o ../../objs/Mingw/Win32/D_net.o ../../objs/Mingw/Win32/D_netcmd.o ../../objs/Mingw/Win32/D_netfil.o ../../objs/Mingw/Win32/M_argv.o ../../objs/Mingw/Win32/M_bbox.o ../../objs/Mingw/Win32/M_cheat.o ../../objs/Mingw/Win32/M_fixed.o ../../objs/Mingw/Win32/M_menu.o ../../objs/Mingw/Win32/M_misc.o ../../objs/Mingw/Win32/M_random.o ../../objs/Mingw/Win32/P_ceilng.o ../../objs/Mingw/Win32/P_enemy.o ../../objs/Mingw/Win32/P_fab.o ../../objs/Mingw/Win32/P_floor.o ../../objs/Mingw/Win32/P_inter.o ../../objs/Mingw/Win32/P_lights.o ../../objs/Mingw/Win32/P_map.o ../../objs/Mingw/Win32/P_maputl.o ../../objs/Mingw/Win32/P_mobj.o ../../objs/Mingw/Win32/P_saveg.o ../../objs/Mingw/Win32/P_setup.o ../../objs/Mingw/Win32/P_sight.o ../../objs/Mingw/Win32/P_spec.o ../../objs/Mingw/Win32/P_telept.o ../../objs/Mingw/Win32/P_tick.o ../../objs/Mingw/Win32/P_user.o ../../objs/Mingw/Win32/R_bsp.o ../../objs/Mingw/Win32/R_data.o ../../objs/Mingw/Win32/R_draw.o ../../objs/Mingw/Win32/R_draw16.o ../../objs/Mingw/Win32/R_main.o ../../objs/Mingw/Win32/R_plane.o ../../objs/Mingw/Win32/R_segs.o ../../objs/Mingw/Win32/R_sky.o ../../objs/Mingw/Win32/r_splats.o ../../objs/Mingw/Win32/R_things.o ../../objs/Mingw/Win32/Am_map.o ../../objs/Mingw/Win32/Command.o ../../objs/Mingw/Win32/Dehacked.o ../../objs/Mingw/Win32/Dstrings.o ../../objs/Mingw/Win32/F_finale.o ../../objs/Mingw/Win32/F_wipe.o ../../objs/Mingw/Win32/G_game.o ../../objs/Mingw/Win32/G_input.o ../../objs/Mingw/Win32/Hu_stuff.o ../../objs/Mingw/Win32/i_tcp.o ../../objs/Mingw/Win32/Info.o ../../objs/Mingw/Win32/md5.o ../../objs/Mingw/Win32/mserv.o ../../objs/Mingw/Win32/S_sound.o ../../objs/Mingw/Win32/Screen.o ../../objs/Mingw/Win32/Sounds.o ../../objs/Mingw/Win32/St_stuff.o ../../objs/Mingw/Win32/Tables.o ../../objs/Mingw/Win32/V_video.o ../../objs/Mingw/Win32/W_wad.o ../../objs/Mingw/Win32/Z_zone.o ../../objs/Mingw/Win32/tmap.o ../../objs/Mingw/Win32/asm_defs.o ../../objs/Mingw/Win32/vid_copy.o ../../objs/Mingw/Win32/y_inter.o ../../objs/Mingw/Win32/tmap_mmx.o ../../objs/Mingw/Win32/comptime.o ../../objs/Mingw/Win32/string.o ../../objs/Mingw/Win32/wLegacy_private.res ../../bin/Mingw/srb2win.exe

gcc.exe -c ../../srb2edit.c -o ../../objs/Mingw/Win32/srb2edit.o -I"E:/Dev-Cpp/include" -fomit-frame-pointer -ffloat-store -DSTDC_HEADERS -Wall -D_WINDOWS -DUSEASM -DHAVE_PNG -D_DEBUG -Os -O3 -fmessage-length=0 -march=pentium-mmx -mmmx

gcc.exe -c dx_error.c -o ../../objs/Mingw/Win32/dx_error.o -I"E:/Dev-Cpp/include" -fomit-frame-pointer -ffloat-store -DSTDC_HEADERS -Wall -D_WINDOWS -DUSEASM -DHAVE_PNG -D_DEBUG -Os -O3 -fmessage-length=0 -march=pentium-mmx -mmmx

dx_error.c:36:19: ddraw.h: No such file or directory
dx_error.c:40:20: dsound.h: No such file or directory
dx_error.c: In function `DXErrorToString':
dx_error.c:70: error: `DD_OK' undeclared (first use in this function)

dx_error.c:70: error: (Each undeclared identifier is reported only once
dx_error.c:70: error: for each function it appears in.)
dx_error.c:73: error: `DDERR_ALREADYINITIALIZED' undeclared (first use in this function)
dx_error.c:75: error: `DDERR_BLTFASTCANTCLIP' undeclared (first use in this function)
dx_error.c:77: error: `DDERR_CANNOTATTACHSURFACE' undeclared (first use in this function)
dx_error.c:79: error: `DDERR_CANNOTDETACHSURFACE' undeclared (first use in this function)
dx_error.c:81: error: `DDERR_CANTCREATEDC' undeclared (first use in this function)
dx_error.c:83: error: `DDERR_CANTDUPLICATE' undeclared (first use in this function)
dx_error.c:85: error: `DDERR_CLIPPERISUSINGHWND' undeclared (first use in this function)
dx_error.c:87: error: `DDERR_COLORKEYNOTSET' undeclared (first use in this function)
dx_error.c:89: error: `DDERR_CURRENTLYNOTAVAIL' undeclared (first use in this function)
dx_error.c:91: error: `DDERR_DIRECTDRAWALREADYCREATED' undeclared (first use in this function)
dx_error.c:93: error: `DDERR_EXCEPTION' undeclared (first use in this function)
dx_error.c:95: error: `DDERR_EXCLUSIVEMODEALREADYSET' undeclared (first use in this function)
dx_error.c:97: error: `DDERR_GENERIC' undeclared (first use in this function)
dx_error.c:99: error: `DDERR_HEIGHTALIGN' undeclared (first use in this function)
dx_error.c:101: error: `DDERR_HWNDALREADYSET' undeclared (first use in this function)
dx_error.c:103: error: `DDERR_HWNDSUBCLASSED' undeclared (first use in this function)
dx_error.c:105: error: `DDERR_IMPLICITLYCREATED' undeclared (first use in this function)
dx_error.c:107: error: `DDERR_INCOMPATIBLEPRIMARY' undeclared (first use in this function)
dx_error.c:109: error: `DDERR_INVALIDCAPS' undeclared (first use in this function)
dx_error.c:111: error: `DDERR_INVALIDCLIPLIST' undeclared (first use in this function)
dx_error.c:113: error: `DDERR_INVALIDDIRECTDRAWGUID' undeclared (first use in this function)
dx_error.c:115: error: `DDERR_INVALIDMODE' undeclared (first use in this function)
dx_error.c:117: error: `DDERR_INVALIDOBJECT' undeclared (first use in this function)
dx_error.c:119: error: `DDERR_INVALIDPARAMS' undeclared (first use in this function)
dx_error.c:121: error: `DDERR_INVALIDPIXELFORMAT' undeclared (first use in this function)
dx_error.c:123: error: `DDERR_INVALIDPOSITION' undeclared (first use in this function)
dx_error.c:125: error: `DDERR_INVALIDRECT' undeclared (first use in this function)
dx_error.c:127: error: `DDERR_LOCKEDSURFACES' undeclared (first use in this function)
dx_error.c:129: error: `DDERR_NO3D' undeclared (first use in this function)
dx_error.c:131: error: `DDERR_NOALPHAHW' undeclared (first use in this function)
dx_error.c:133: error: `DDERR_NOBLTHW' undeclared (first use in this function)
dx_error.c:135: error: `DDERR_NOCLIPLIST' undeclared (first use in this function)
dx_error.c:137: error: `DDERR_NOCLIPPERATTACHED' undeclared (first use in this function)

dx_error.c:139: error: `DDERR_NOCOLORCONVHW' undeclared (first use in this function)
dx_error.c:141: error: `DDERR_NOCOLORKEY' undeclared (first use in this function)
dx_error.c:143: error: `DDERR_NOCOLORKEYHW' undeclared (first use in this function)
dx_error.c:145: error: `DDERR_NOCOOPERATIVELEVELSET' undeclared (first use in this function)
dx_error.c:147: error: `DDERR_NODC' undeclared (first use in this function)
dx_error.c:149: error: `DDERR_NODDROPSHW' undeclared (first use in this function)
dx_error.c:151: error: `DDERR_NODIRECTDRAWHW' undeclared (first use in this function)
dx_error.c:153: error: `DDERR_NOEMULATION' undeclared (first use in this function)
dx_error.c:155: error: `DDERR_NOEXCLUSIVEMODE' undeclared (first use in this function)
dx_error.c:157: error: `DDERR_NOFLIPHW' undeclared (first use in this function)

dx_error.c:159: error: `DDERR_NOGDI' undeclared (first use in this function)
dx_error.c:161: error: `DDERR_NOHWND' undeclared (first use in this function)
dx_error.c:163: error: `DDERR_NOMIRRORHW' undeclared (first use in this function)

dx_error.c:165: error: `DDERR_NOOVERLAYDEST' undeclared (first use in this function)
dx_error.c:167: error: `DDERR_NOOVERLAYHW' undeclared (first use in this function)
dx_error.c:169: error: `DDERR_NOPALETTEATTACHED' undeclared (first use in this function)
dx_error.c:171: error: `DDERR_NOPALETTEHW' undeclared (first use in this function)
dx_error.c:173: error: `DDERR_NORASTEROPHW' undeclared (first use in this function)
dx_error.c:175: error: `DDERR_NOROTATIONHW' undeclared (first use in this function)
dx_error.c:177: error: `DDERR_NOSTRETCHHW' undeclared (first use in this function)
dx_error.c:179: error: `DDERR_NOT4BITCOLOR' undeclared (first use in this function)
dx_error.c:181: error: `DDERR_NOT4BITCOLORINDEX' undeclared (first use in this function)
dx_error.c:183: error: `DDERR_NOT8BITCOLOR' undeclared (first use in this function)
dx_error.c:185: error: `DDERR_NOTAOVERLAYSURFACE' undeclared (first use in this function)
dx_error.c:187: error: `DDERR_NOTEXTUREHW' undeclared (first use in this function)
dx_error.c:189: error: `DDERR_NOTFLIPPABLE' undeclared (first use in this function)
dx_error.c:191: error: `DDERR_NOTFOUND' undeclared (first use in this function)
dx_error.c:193: error: `DDERR_NOTLOCKED' undeclared (first use in this function)
dx_error.c:195: error: `DDERR_NOTPALETTIZED' undeclared (first use in this function)
dx_error.c:197: error: `DDERR_NOVSYNCHW' undeclared (first use in this function)
dx_error.c:199: error: `DDERR_NOZBUFFERHW' undeclared (first use in this function)
dx_error.c:201: error: `DDERR_NOZOVERLAYHW' undeclared (first use in this function)
dx_error.c:203: error: `DDERR_OUTOFCAPS' undeclared (first use in this function)
dx_error.c:205: error: `DDERR_OUTOFMEMORY' undeclared (first use in this function)
dx_error.c:207: error: `DDERR_OUTOFVIDEOMEMORY' undeclared (first use in this function)
dx_error.c:209: error: `DDERR_OVERLAYCANTCLIP' undeclared (first use in this function)
dx_error.c:211: error: `DDERR_OVERLAYCOLORKEYONLYONEACTIVE' undeclared (first use in this function)
dx_error.c:213: error: `DDERR_OVERLAYNOTVISIBLE' undeclared (first use in this function)
dx_error.c:215: error: `DDERR_PALETTEBUSY' undeclared (first use in this function)
dx_error.c:217: error: `DDERR_PRIMARYSURFACEALREADYEXISTS' undeclared (first use in this function)

dx_error.c:219: error: `DDERR_REGIONTOOSMALL' undeclared (first use in this function)
dx_error.c:221: error: `DDERR_SURFACEALREADYATTACHED' undeclared (first use in this function)
dx_error.c:223: error: `DDERR_SURFACEALREADYDEPENDENT' undeclared (first use in this function)
dx_error.c:225: error: `DDERR_SURFACEBUSY' undeclared (first use in this function)
dx_error.c:227: error: `DDERR_SURFACEISOBSCURED' undeclared (first use in this function)
dx_error.c:229: error: `DDERR_SURFACELOST' undeclared (first use in this function)
dx_error.c:231: error: `DDERR_SURFACENOTATTACHED' undeclared (first use in this function)
dx_error.c:233: error: `DDERR_TOOBIGHEIGHT' undeclared (first use in this function)
dx_error.c:235: error: `DDERR_TOOBIGSIZE' undeclared (first use in this function)
dx_error.c:237: error: `DDERR_TOOBIGWIDTH' undeclared (first use in this function)
dx_error.c:239: error: `DDERR_UNSUPPORTED' undeclared (first use in this function)
dx_error.c:241: error: `DDERR_UNSUPPORTEDFORMAT' undeclared (first use in this function)
dx_error.c:243: error: `DDERR_UNSUPPORTEDMASK' undeclared (first use in this function)
dx_error.c:245: error: `DDERR_VERTICALBLANKINPROGRESS' undeclared (first use in this function)
dx_error.c:247: error: `DDERR_WASSTILLDRAWING' undeclared (first use in this function)
dx_error.c:249: error: `DDERR_WRONGMODE' undeclared (first use in this function)
dx_error.c:251: error: `DDERR_XALIGN' undeclared (first use in this function)
dx_error.c:337: error: `DSERR_ALLOCATED' undeclared (first use in this function)

dx_error.c:339: error: `DSERR_ALREADYINITIALIZED' undeclared (first use in this function)
dx_error.c:341: error: `DSERR_BADFORMAT' undeclared (first use in this function)
dx_error.c:343: error: `DSERR_BUFFERLOST' undeclared (first use in this function)

dx_error.c:345: error: `DSERR_CONTROLUNAVAIL' undeclared (first use in this function)
dx_error.c:347: error: `DSERR_INVALIDCALL' undeclared (first use in this function)
dx_error.c:349: error: `DSERR_NOAGGREGATION' undeclared (first use in this function)
dx_error.c:351: error: `DSERR_NODRIVER' undeclared (first use in this function)
dx_error.c:353: error: `DSERR_NOINTERFACE' undeclared (first use in this function)
dx_error.c:355: error: `DSERR_OTHERAPPHASPRIO' undeclared (first use in this function)
dx_error.c:357: error: `DSERR_PRIOLEVELNEEDED' undeclared (first use in this function)
dx_error.c:359: error: `DSERR_UNINITIALIZED' undeclared (first use in this function)

make.exe: *** [../../objs/Mingw/Win32/dx_error.o] Error 1

Execution terminated

Wow, that stretches the tables.

EDIT: I changed it to normal text, so it doesn't stretch out the tables...

EDIT2: ...As much
 
Now i get this error:

Could not create Makefile: "E:\Documents and Settings\Rafat\My Documents\SRB2\Source Code Edit 1\src\win32\Makefile.win"
I/O error 32

EDIT: I fixed that error by setting it to use a Makefile instead of creating one, but now I get this log:
Compiler: Default compiler
Executing make...
make.exe -f "Makefile.win" all
make.exe: *** No rule to make target `all'. Stop.

Execution terminated
Thankfully, it's a smaller log.

EDIT2: I changed it to normal text again so t doesn't appear as far right.
 
OK I tried what you said with the Devpacks, and no: I get these two errors:

Error number 1:
Line: 660
File: E:\Documents and Settings\Rafat\My Documents\SRB2\Source Code Edit 1\src\hardware\hw_draw.c
Error: png.h: No such file or directory.

Error number 2:
Line: None.
File: E:\Documents and Settings\Rafat\My Documents\SRB2\Source Code Edit 1\src\win32\Makefile.win
Error: [Build Error] [../../objs/Mingw/Win32/hw_draw.o] Error 1
 
I downloaded everything above, and installed them, then I tried compiling both the SDL and Win32 versions, neither worked.
 
Right click the project, then click Properties. Goto Compiler and remove the linker for libpng and remove the compiler option for png or whatever. It's not needed, not really sure what it does though.
 
Now I get this error:

Line: None
File: E:\Documents and Settings\Rafat\My Documents\SRB2\Source Code Edit 1\src\win32\Makefile.win
Message: [Build Error] No rule to make target `all'. Stop.

And I get this log:

Compiler: Default compiler
Executing make...
make.exe -f "Makefile.win" all
make.exe: *** No rule to make target `all'. Stop.

Execution terminated
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top