Ive tried this changing theDoes nothing it still gives me the same errorfussy=1 to fussy=0
Ive tried this changing theDoes nothing it still gives me the same errorfussy=1 to fussy=0
Look at all the ..\obj in your makefile.
You're starting in C:\Users\John\code\doom3d, so the compiler will attempt to write to C:\Users\John\code\obj
FWIW, the output should be a sub-directory of where you are, not a parent directory.
Also, check and change if necessary these two things.
> LFLAG=-jC:\PROGRA~1\BORLAND\CBUILDER\LIB;..\obj -x -V4.0
You just need to type in your console
dir C:\PROGRA~1\BORLAND\CBUILDER\LIB
If you get a directory listing, you're good to go.
If you get directory not found, you'll need to change that path.
> -@start $(EXE) -doom -warp 1 1 -debug -file c:\pdata\makewad\test.wad
Do you have a test.wad file?
If so, adjust the path to where it is now.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
When I put the command in hereI get this from the consoledir C:\PROGRA~1\BORLAND\CBUILDER\LIBAny idea what I'm doing wrong...C:\Users\John>dir C:\PROGRA~1\BORLAND\CBUILDER\LIB
The system cannot find the path specified.
I'm trying to Compile a new port now it might be easier with less mess here is the source code https://www.libsdl.org/projects/doom/
But I get this error Do you know how to fix thisC:\Users\John\Desktop\sdldoom>makeMAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 331: Colon expected
*** 1 errors during make ***
Here is my makefile to the sdldoom source code
Code:# Generated automatically from Makefile.in by configure.# Makefile.in generated automatically by automake 1.4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = /bin/sh srcdir = . top_srcdir = . prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib infodir = ${prefix}/info mandir = ${prefix}/man includedir = ${prefix}/include oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/sdldoom pkglibdir = $(libdir)/sdldoom pkgincludedir = $(includedir)/sdldoom top_builddir = . ACLOCAL = aclocal AUTOCONF = autoconf AUTOMAKE = automake AUTOHEADER = autoheader INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL_PROGRAM} transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CC = gcc MAKEINFO = makeinfo PACKAGE = sdldoom SDL_CFLAGS = -I/usr/local/cross-tools/i386-mingw32/include -I{prefix}/include/SDL-Dmain=SDL_main SDL_CONFIG = /e/SDL-1.0.1/bin/sdl-config SDL_LIBS = -L/usr/local/cross-tools/i386-mingw32/lib -lmingw32 -lSDLmain -lSDL -luser32 -lgdi32 -lwinmm -ldxguid -mwindows VERSION = 1.10 EXTRA_DIST = Changelog DOOMLIC.TXT FILES FILES2 README.SDL README.asm README.b README.book README.gl TODO bin_PROGRAMS = doom doom_SOURCES = am_map.c am_map.h d_englsh.h d_event.h d_french.h d_items.c d_items.h d_main.c d_main.h d_net.c d_net.h d_player.h d_textur.h d_think.h d_ticcmd.h doomdata.h doomdef.c doomdef.h doomstat.c doomstat.h doomtype.h dstrings.c dstrings.h f_finale.c f_finale.h f_wipe.c f_wipe.h g_game.c g_game.h hu_lib.c hu_lib.h hu_stuff.c hu_stuff.h i_main.c i_net.c i_net.h i_sound.c i_sound.h i_system.c i_system.h i_video.c i_video.h info.c info.h m_argv.c m_argv.h m_bbox.c m_bbox.h m_cheat.c m_cheat.h m_fixed.c m_fixed.h m_menu.c m_menu.h m_misc.c m_misc.h m_random.c m_random.h m_swap.c m_swap.h p_ceilng.c p_doors.c p_enemy.c p_floor.c p_inter.c p_inter.h p_lights.c p_local.h p_map.c p_maputl.c p_mobj.c p_mobj.h p_plats.c p_pspr.c p_pspr.h p_saveg.c p_saveg.h p_setup.c p_setup.h p_sight.c p_spec.c p_spec.h p_switch.c p_telept.c p_tick.c p_tick.h p_user.c r_bsp.c r_bsp.h r_data.c r_data.h r_defs.h r_draw.c r_draw.h r_local.h r_main.c r_main.h r_plane.c r_plane.h r_segs.c r_segs.h r_sky.c r_sky.h r_state.h r_things.c r_things.h s_sound.c s_sound.h sounds.c sounds.h st_lib.c st_lib.h st_stuff.c st_stuff.h tables.c tables.h v_video.c v_video.h w_wad.c w_wad.h wi_stuff.c wi_stuff.h z_zone.c z_zone.h doom_LDADD = -lm ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) DEFS = -DPACKAGE=\"sdldoom\" -DVERSION=\"1.10\" -I. -I$(srcdir) CPPFLAGS = LDFLAGS = LIBS = -L/usr/local/cross-tools/i386-mingw32/lib -lmingw32 -lSDLmain -lSDL -luser32 -lgdi32 -lwinmm -ldxguid -mwindows doom_OBJECTS = am_map.o d_items.o d_main.o d_net.o doomdef.o doomstat.o \ dstrings.o f_finale.o f_wipe.o g_game.o hu_lib.o hu_stuff.o i_main.o \ i_net.o i_sound.o i_system.o i_video.o info.o m_argv.o m_bbox.o \ m_cheat.o m_fixed.o m_menu.o m_misc.o m_random.o m_swap.o p_ceilng.o \ p_doors.o p_enemy.o p_floor.o p_inter.o p_lights.o p_map.o p_maputl.o \ p_mobj.o p_plats.o p_pspr.o p_saveg.o p_setup.o p_sight.o p_spec.o \ p_switch.o p_telept.o p_tick.o p_user.o r_bsp.o r_data.o r_draw.o \ r_main.o r_plane.o r_segs.o r_sky.o r_things.o s_sound.o sounds.o \ st_lib.o st_stuff.o tables.o v_video.o w_wad.o wi_stuff.o z_zone.o doom_DEPENDENCIES = doom_LDFLAGS = CFLAGS = -g -O2 -I/usr/local/cross-tools/i386-mingw32/include -I{prefix}/include/SDL-Dmain=SDL_main COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.am Makefile.in TODO acinclude.m4 aclocal.m4 \ configure configure.in install-sh missing mkinstalldirs DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = gtar GZIP_ENV = --best SOURCES = $(doom_SOURCES) OBJECTS = $(doom_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): configure.in acinclude.m4 cd $(srcdir) && $(ACLOCAL) config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) mostlyclean-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) distclean-binPROGRAMS: maintainer-clean-binPROGRAMS: install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) list='$(bin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .c.o: $(COMPILE) -c $< .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: doom: $(doom_OBJECTS) $(doom_DEPENDENCIES) @rm -f doom $(LINK) $(doom_LDFLAGS) $(doom_OBJECTS) $(doom_LDADD) $(LIBS) tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-binPROGRAMS install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall-binPROGRAMS uninstall: uninstall-am all-am: Makefile $(PROGRAMS) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(bindir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \ mostlyclean-am clean: clean-am distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ distclean-generic clean-am distclean: distclean-am -rm -f config.status maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am -rm -f config.status .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ check-am installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT:
Well that's the problem when you switch horses in the middle of the race.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Well if these source code packages where easy to build would be a lot better but I guess nobody knows how to make a simple source code that builds easy... Makes It always more complicated..
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
I've did use gcc make and this is what the console says to me
Any advice on how to fix this issue this is the sdldoom code issue not the other oneCode:C:\Users\John\Desktop\sdldoom>makemakefile:163: warning: overriding commands for target `.s.o' makefile:160: warning: ignoring old commands for target `.s.o' gcc -DPACKAGE=\"sdldoom\" -DVERSION=\"1.10\" -I. -I. -g -O2 -I/usr/local/cross-tools/i386-mingw32/include -I{prefix}/include/SDL-Dmain=SDL_main -c i_net.c In file included from d_ticcmd.h:26:0, from i_system.h:26, from i_net.c:60: doomtype.h:41:28: error: conflicting types for 'boolean' typedef enum {false, true} boolean; ^ In file included from c:/TDM-GCC-64/x86_64-w64-mingw32/include/wtypes.h:8:0, from c:/TDM-GCC-64/x86_64-w64-mingw32/include/winscard.h:10, from c:/TDM-GCC-64/x86_64-w64-mingw32/include/windows.h:97, from i_net.c:53: c:/TDM-GCC-64/x86_64-w64-mingw32/include/rpcndr.h:65:25: note: previous declaration of 'boolean' was here typedef unsigned char boolean; ^ i_net.c: In function 'PacketSend': i_net.c:184:30: warning: passing argument 2 of 'sendto' from incompatible pointer type [-Wincompatible-pointer-types] c = sendto (sendsocket , &sw, doomcom->datalength ^ In file included from c:/TDM-GCC-64/x86_64-w64-mingw32/include/windows.h:92:0, from i_net.c:53: c:/TDM-GCC-64/x86_64-w64-mingw32/include/winsock.h:302:34: note: expected 'const char *' but argument is of type 'doomdata_t * {aka struct <anonymous> *}' WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen); ^ i_net.c: In function 'PacketGet': i_net.c:205:29: warning: passing argument 2 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] c = recvfrom (insocket, &sw, sizeof(sw), 0 ^ In file included from c:/TDM-GCC-64/x86_64-w64-mingw32/include/windows.h:92:0, from i_net.c:53: c:/TDM-GCC-64/x86_64-w64-mingw32/include/winsock.h:297:34: note: expected 'char *' but argument is of type 'doomdata_t * {aka struct <anonymous> *}' WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen); ^ make: *** [i_net.o] Error 1
You finally got to a real source code issue; I have no suggestion on how to fix it.
The other issues in this thread, that I saw were makefile/build issues.
Tim S.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
Editing the code below from doomtype.h would be my first try at fixing it.
But, I am not sure which method I would use to fix it.
Tim S.
Code:#ifndef __BYTEBOOL__ #define __BYTEBOOL__ // Fixed to use builtin bool type with C++. #ifdef __cplusplus typedef bool boolean; #else #ifdef __BEOS__ /* boolean is a builtin type for MWCC */ #define boolean D_BOOL #undef false #define false D_false #undef true #define true D_true #endif typedef enum {false, true} boolean; #endif typedef unsigned char byte; #endif
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson