Skip to main content

Thread: Freedoom and Yadex


i'm still quite newb @ of this. years of ms windows confuses poor little head linux.

i've downloaded yadex can play around freedoom, both available in software centre. tried follow instructions laid out. may have done wrong. during make process have had change couple of pathnames in gnu makefile , download lib headers x11 , have gotten strange end. error:

code:
g++ -c -iatclib -iboost -i/usr/x11r6/include -o src/geom.cc -o obj/0/geom.o g++ -c -iatclib -iboost -i/usr/x11r6/include -o src/gfx.cc -o obj/0/gfx.o src/gfx.cc:313:6: error: #elif no expression make: *** [obj/0/gfx.o] error 1
what change? assume need give value of 1, it? in gnu makefile? i'm not sure doing

i'm using 11.10 64bit version

btw these gnu makefile, parts find elif
code:
cache/uptodate: scripts/youngest $(src_non_gen)     @mkdir -p cache     @if perl -v >/dev/null 2>&1;                \       echo generating cache/srcdate;                \       scripts/youngest $(src_non_gen) >cache/srcdate;        \       touch -t `date '+%m%d'`0000 cache/srcdate;            \     elif [ -r cache/srcdate ];                    \       echo perl not available. keeping old cache/srcdate;        \     else                                \       echo perl not available. creating bogus cache/srcdate;    \       date '+%y-%m-%d' >cache/srcdate;                \     fi     @touch $@;
code:
cache/pixlist: $(doc2_src_html)     @echo generating $@     @mkdir -p cache     @if perl -v >/dev/null 2>/dev/null;            \       perl -ne '@l = m/<img\s[^>]*src="?([^\s">]+)/io;        \         print "@l\n" if @l;' $(doc2_src_html) | sort | uniq >$@;    \     elif [ -f $@ ];                        \       echo "sorry, need perl refresh $@. keeping old $@.";    \     else                                \       echo "sorry, need perl create $@. creating empty $@.";    \       touch $@;                            \     fi

it's in src/gfx.cc

line 313 should #else instead of #elif. that's not issue, -- code quite old , needs lot of work make runnable.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Gaming & Leisure Freedoom and Yadex


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?