Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is the git repo available?

#26
BTW, divVerent changed the all script and git layout a bit further so that FTEQCC is now included with xonotic.
If you already have an checkout you will need to run the "./all update" twice.. first to get the updates to the all script, and secondly so that the fteqcc gets pulled from git too.
Real signature is still in production!
Reply

#27
(03-26-2010, 09:07 AM)esteel Wrote: BTW, divVerent changed the all script and git layout a bit further so that FTEQCC is now included with xonotic.
If you already have an checkout you will need to run the "./all update" twice.. first to get the updates to the all script, and secondly so that the fteqcc gets pulled from git too.

I have tested it. It is working very well.
Reply

#28
OK got this sucker compiled. Is it me, or does this feel like Havoc Mode? Oh well I'm pretty sure everything will be refined the way it needs to be before the 1.0 release.
Reply

#29
Compiled on Archlinux [testing]; libpng patches from Nexuiz's package (for libpng 1.4) applied clean and the game runs fairly smooth.

Would anyone be opposed to my making a PKGBUILD for the Arch User Repository? I can plaster all over the package that this isn't even considered alpha to make sure there is no confusion. The package would probably require fteqcc separately as there is an AUR PKGBUILD for this already (from git, no less), but would otherwise be a reproduction of the "all" script. Any suggestions, criticism, or comments welcome.
Reply

#30
(03-27-2010, 02:33 AM)icenine Wrote: Compiled on Archlinux [testing]; libpng patches from Nexuiz's package (for libpng 1.4) applied clean and the game runs fairly smooth.

Would anyone be opposed to my making a PKGBUILD for the Arch User Repository? I can plaster all over the package that this isn't even considered alpha to make sure there is no confusion. The package would probably require fteqcc separately as there is an AUR PKGBUILD for this already (from git, no less), but would otherwise be a reproduction of the "all" script. Any suggestions, criticism, or comments welcome.

I don't think that would be too bad... if not, can you send me the PKGBUILD by email? (I'm somewhat lazy)
Reply

#31
Honestly i do not think thats a good idea.. Games should have systematic releases to make sure they are compatible among each other. With stuff compiled from the repository this might not be the case.. it might even be broken!
So i think its only a good idea to make the repo and building from it more easy and understandable. But the all script already does that if you ask me. At least on linux.. The other OSs still need work though.
Real signature is still in production!
Reply

#32
esteel, here's the thing, the AUR repo for Arch doesn't contain the actual files, only a link to the source code (or git in this case) and a short script, which does the installation for you.
This is much like the slackware ebuilds as opposed to something in the Ubuntu repository where the package is precompiled.


The beauty of this is that it would not be out of date, because it would be updated whenever the git is updated.
There are some other advantages to it too, for example if using a package manager frontend that supports the AUR, it will handle all the dependencies and updates for you.

(Sorry if you already knew this, or if I'm just misreading your post)

Also, looks like someone already uploaded a pkgbuild as xonotic-git,
here's the link if you want to read the script, it's plaintext
http://aur.archlinux.org/packages/xonoti...t/PKGBUILD
Reply

#33
Hehe, that build script is already slight outdated as the all script now also includes fteqcc from a github repo (./all pull) (pull/update are aliases for each other) and also handles compiling everything (./all compile) and starting too (./all run MODE MORE_PARAMS).. (mode should be dedicated/glx/sdl/agl)

But yeah, i can see how this can be useful.. i just think it would be more useful if someone tried to "port" the old nex-windows-build-system to Xonotic Smile
Real signature is still in production!
Reply

#34
Hehe, get to it.. We'll help you with it in the dev channel. This is open source, baby..
He can talk the talk, but can he caulk the caulk?
Reply

#35
Thx for the cool "all" script. I managed to get it up and running without problems on Ubuntu lucid!

What I did:

Code:
sudo apt-get install xorg-dev

git clone git://git.xonotic.org/xonotic/xonotic.git

cd xonotic

./all update

./all update

./all compile

./all run sdl -xonotic
I figured I'd post this as it might be helpful for other people that are as clueless as I am about this kind of stuff. Or even more clueless.
My Xonstats Profile
Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out the Newbie Corner!

Reply

#36
Funny that run sdl -xonotic line doesn't work for me. I found a work-around though, double click the sdl file in the game's directory.
ECKZBAWKZ HUGE LIST OF ACHIEVEMENTS GOES HERE....


Oh wait.
Reply

#37
this did also not work for you?

Code:
./all run xonotic
He can talk the talk, but can he caulk the caulk?
Reply

#38
(05-07-2010, 03:37 AM)lda17h Wrote: this did also not work for you?

Code:
./all run xonotic

That one worked. Weird now the other one works too. Must have some weird voodoo going on with my rig.
ECKZBAWKZ HUGE LIST OF ACHIEVEMENTS GOES HERE....


Oh wait.
Reply

#39
Hello, I have trouble compiling. I did all the previous steps, and then typed in "./all compile". What I got was this:
Code:
$ ./all compile
+ cd /c/Users/myusername/xonotic/fteqcc
+ make DP_MAKE_TARGET=mingw
/c/Users/myusername/xonotic/../all.xonotic.sh: line 72: make: command not found
Reply

#40
(05-14-2010, 10:50 AM)Beefeater Wrote: Hello, I have trouble compiling. I did all the previous steps, and then typed in "./all compile". What I got was this:
Code:
$ ./all compile
+ cd /c/Users/myusername/xonotic/fteqcc
+ make DP_MAKE_TARGET=mingw
/c/Users/myusername/xonotic/../all.xonotic.sh: line 72: make: command not found

I get this exact same message when I use the "./all compile" command also, only instead of "line 72" the error message says "line 62".

Anyone know what this problem is and how to fix or get around it.

I'm on windows xp, btw.
(04-01-2010, 11:21 AM)Roanoke Wrote: Yes, beveled edges are more futuristic. Like BSG and their beveled paper.
But only on one edge.
Reply

#41
Flying Steel, it looks like you don't have "make" in your path. Can you verify that you have "make" installed? It should be where MinGW is installed.
asyyy^ | are you releated to chuck norris?
Reply

#42
Yeah it is installed. The problem turned out to be that I gave msys the wrong path to git, as parasti pointed out to me, by putting a colon after my drive letter (I'm used to the windows syntax, like "c:\" or "e:\" etc.)

I still can't compile though, after I tell msys to "./all compile" it gets stuck here:

Code:
+ cd /e/project/code/xonotic/data/xonotic-data.pk3dir
+ make FTEQCC=/e/project/code/xonotic/fteqcc/fteqcc.bin DP_MAKE_TARGET=mingw clean
make: *** No rule to make target `clean'.  Stop.

There is a makefile in the /fteqcc file with a clean command in it--

Code:
clean:
    $(RM) fteqcc.bin fteqcc.exe $(QCC_OBJS) $(COMMON_OBJS) $(VM_OBJS) $(GTKGUI_OBJS) $(WIN32GUI_OBJS) $(TUI_OBJS)

I attached that makefile to this post.

Attempting to ./all compile does seem to leave a bunch of object files behind in the \fteqcc directory, so clean isn't working. These files are--

Code:
comprout.o
hash.o
qcc_cmdlib.o
qcc_pr_comp.o
qcc_pr_lex.o
qccmain.o
qcctui.o
qcd_main.o

Not that I care it leaves these behind of course, I just want it to compile, ffs.


Attached Files
.zip   fteqcc_makefile.zip (Size: 801 bytes / Downloads: 0)
(04-01-2010, 11:21 AM)Roanoke Wrote: Yes, beveled edges are more futuristic. Like BSG and their beveled paper.
But only on one edge.
Reply

#43
So has anyone seen this error--

Code:
make: *** No rule to make target `clean'.  Stop.

. . .when trying to compile xonotic? Or have any ideas what I might be doing wrong or what to do to get my local checkout working like anyone else's?
(04-01-2010, 11:21 AM)Roanoke Wrote: Yes, beveled edges are more futuristic. Like BSG and their beveled paper.
But only on one edge.
Reply

#44
It has nothing to do with FTEQCC, the relevant Makefile is in data/xonotic-data.pk3dir.
Reply

#45
There is absolutely nothing in data/xonotic-data.pk3dir. I had thought this was normal; that this is where game readable information is unpacked, packed, compiled or such.

But if there should be information here, then it seems obvious that must be the problem. I have run several "updates" and "checkouts" and bash reported back that everything was up to date after each.

Is there another way to get Git to do a more thorough check of what I may be missing, without having to download a local clone from scratch?
(04-01-2010, 11:21 AM)Roanoke Wrote: Yes, beveled edges are more futuristic. Like BSG and their beveled paper.
But only on one edge.
Reply

#46
Try removing xonotic-data.pk3dir entirely and then run ./all update. That should attempt to download that repository again.
Reply

#47
I got Linux Mint some time ago, and decided to give the whole git thing another try. I downloaded and compiled it with the following code:
Code:
sudo apt-get install xorg-dev

git clone git://git.xonotic.org/xonotic/xonotic.git

cd xonotic

./all update

./all update

./all compile

./all run sdl -xonotic
When I run the last line, I get this:
Code:
Client darkplaces/darkplaces-sdl not found, aborting
What's wrong?
Reply

#48
It probably means ./all compile failed with some error that was unable to create the sdl executable. Try ./all compile again and see if it was successful.
Reply

#49
Okay, here's all the messages:
Code:
~/xonotic $ ./all compile
+ cd /home/erik/xonotic/fteqcc
+ make -j2 DP_LINK_TO_LIBJPEG=1
make USEGUI_CFLAGS="" R_qcc
make[1]: Entering directory `/home/erik/xonotic/fteqcc'
gcc -Wall -ggdb  -o fteqcc.bin -O3 -s qccmain.o qcc_pr_comp.o qcc_pr_lex.o qcctui.o comprout.o hash.o qcc_cmdlib.o qcd_main.o
make[1]: Leaving directory `/home/erik/xonotic/fteqcc'
+ cd /home/erik/xonotic/data/xonotic-data.pk3dir
+ make FTEQCC=/home/erik/xonotic/fteqcc/fteqcc.bin -j2 DP_LINK_TO_LIBJPEG=1 clean
rm -f progs.dat menu.dat csprogs.dat
+ make FTEQCC=/home/erik/xonotic/fteqcc/fteqcc.bin -j2 DP_LINK_TO_LIBJPEG=1
[ "" = "" ] || [ "" = "1" ]
[ "" != "" ] || { ! [ -f ../misc/netradiant-XonoticPack/xonotic.game/data/entities.def ] || diff scripts/entities.def ../misc/netradiant-XonoticPack/xonotic.game/data/entities.def || { echo entities.def mismatch, please merge ../misc/netradiant-XonoticPack/xonotic.game/data/entities.def and scripts/entities.def; exit 1; }; }
[ "" != "" ] || { DO_NOT_RUN_MAKE=1 sh update-cvarcount.sh; }
make qc-recursive
make[1]: Entering directory `/home/erik/xonotic/data/xonotic-data.pk3dir'
make[1]: Entering directory `/home/erik/xonotic/data/xonotic-data.pk3dir/qcsrc/menu'
cd qcsrc/menu && /home/erik/xonotic/fteqcc/fteqcc.bin -Werror -Wall -Wno-mundane -O3 -Ono-c -Ono-cs -flo  -DWATERMARK='"^1initial-1096-gc5da4e8 TEST BUILD"'
Source file: progs.src
outputfile: ../../menu.dat
compiling config.qh
compiling ../common/util-pre.qh
compiling msys.qh
compiling mbuiltin.qh
compiling ../warpzonelib/mathlib.qh
compiling ../common/util.qh
compiling oo/base.h
compiling ../common/constants.qh
compiling ../common/mapinfo.qh
compiling ../common/campaign_common.qh
compiling ../common/items.qh
make[1]: Entering directory `/home/erik/xonotic/data/xonotic-data.pk3dir/qcsrc/server'
compiling gamecommand.qh
compiling menu.qh
compiling draw.qh
compiling skin.qh
cd qcsrc/server && /home/erik/xonotic/fteqcc/fteqcc.bin -Werror -Wall -Wno-mundane -O3 -Ono-c -Ono-cs -flo  -DWATERMARK='"^1initial-1096-gc5da4e8 TEST BUILD"'
compiling xonotic/util.qh
compiling oo/classdefs.h
compiling classes.c
Source file: progs.src
outputfile: ../../progs.dat
compiling ../common/util-pre.qh
compiling sys.qh
compiling pre-builtins.qh
compiling builtins.qh
compiling extensions.qh
compiling post-builtins.qh
compiling autocvars.qh
compiling ../warpzonelib/anglestransform.qh
compiling ../warpzonelib/mathlib.qh
compiling ../warpzonelib/common.qh
compiling ../warpzonelib/util_server.qh
compiling ../warpzonelib/server.qh
compiling constants.qh
compiling ../common/constants.qh
compiling ../common/util.qh
compiling ../common/items.qh
compiling defs.qh
compiling mutators/base.qh
compiling mutators/mutators.qh
compiling mutators/gamemode_keyhunt.qh
compiling mutators/mutator_dodging.qh
compiling tturrets/include/turrets_early.qh
#message:  "with tZork turrets
compiling campaign.qh
compiling ../common/campaign_common.qh
compiling ../common/mapinfo.qh
compiling ../common/util.qc
compiling oo/constructors.h
compiling classes.c
compiling csqcprojectile.qh
compiling csqceffects.qc
compiling anticheat.qh
compiling cheats.qh
compiling portals.qh
compiling g_hook.qh
compiling scores.qh
compiling ipban.qh
compiling race.qh
compiling antilag.qh
compiling vote.qh
compiling playerdemo.qh
compiling scores_rules.qc
compiling miscfunctions.qc
compiling oo/implementation.h
compiling classes.c
compiling waypointsprites.qc
compiling bot/bot.qc
compiling g_subs.qc
compiling g_tetris.qc
compiling runematch.qc
compiling arena.qc
compiling g_violence.qc
compiling g_damage.qc
compiling teamplay.qc
compiling cl_physics.qc
compiling verbstack.qc
compiling movelib.qc
compiling steerlib.qc
compiling pathlib/pathlib.qh
compiling g_world.qc
compiling g_casings.qc
compiling t_jumppads.qc
compiling t_teleporters.qc
compiling sv_main.qc
compiling sv_stats.qc
compiling g_triggers.qc
compiling g_models.qc
compiling cl_weaponsystem.qc
compiling w_common.qc
compiling w_all.qc
compiling t_items.qc
compiling cl_weapons.qc
compiling cl_impulse.qc
compiling ent_cs.qc
compiling cl_player.qc
compiling cl_client.qc
compiling ../common/util.qc
compiling t_plats.qc
compiling ../common/gamecommand.qc
compiling antilag.qc
compiling ctf.qc
compiling gamecommand.qc
compiling menu.qc
compiling draw.qc
compiling xonotic/util.qc
compiling domination.qc
compiling ../common/campaign_file.qc
compiling ../common/campaign_setup.qc
compiling ../common/mapinfo.qc
compiling mode_onslaught.qc
compiling ../common/items.qc
compiling ../warpzonelib/mathlib.qc
compiling nexball.qc
Recognised progs as a DP/FTE Menu module
Progs should run on any Quake executor
compiling g_hook.qc
compiling t_swamp.qc
compiling clientcommands.qc
compiling vote.qc
compiling campaign.qc
compiling ../common/campaign_file.qc
compiling ../common/campaign_setup.qc
compiling ../common/gamecommand.qc
compiling gamecommand.qc
compiling assault.qc
compiling ipban.qc
compiling ../common/mapinfo.qc
compiling t_quake3.qc
compiling t_halflife.qc
compiling t_quake.qc
compiling race.qc
compiling tturrets/include/turrets.qh
compiling vehicles/vehicles.qh
compiling scores.qc
compiling portals.qc
compiling target_spawn.qc
compiling func_breakable.qc
compiling target_music.qc
compiling ../common/items.qc
compiling monsters/defs.qc
compiling monsters/fight.qc
compiling monsters/ai.qc
compiling monsters/m_monsters.qc
compiling monsters/monster_zombie.qc
compiling csqcprojectile.qc
compiling playerdemo.qc
compiling anticheat.qc
compiling cheats.qc
compiling mutators/base.qc
compiling mutators/gamemode_keyhunt.qc
compiling mutators/mutator_nix.qc
compiling mutators/mutator_dodging.qc
compiling ../warpzonelib/anglestransform.qc
compiling ../warpzonelib/mathlib.qc
compiling ../warpzonelib/common.qc
compiling ../warpzonelib/util_server.qc
compiling ../warpzonelib/server.qc
Recognised progs as NetQuake server gamecode
An enhanced executor will be required (FTE/QF/KK)
123400 strofs (of 1000000)
56674 numstatements (of 524288)
  1210 numfunctions (of 16384)
10693 numglobaldefs (of 32768)
  1334 numfielddefs (1284 unique) (of 2048)
11351 numpr_globals (of 65536)
Writing ../../menu.dat
762160 TOTAL SIZE
Not writing linenumbers file due to conflicting optimisation
Compile Complete

optres_shortenifnots 177
optres_overlaptemps 17948
optres_noduplicatestrings 38296
optres_constantarithmatic 87
optres_nonvec_parms 15697
optres_filenames 8557
optres_assignments 944
optres_unreferenced 448
optres_locals 45367
optres_function_names 1921
optres_dupconstdefs 280
optres_return_only 433
optres_compound_jumps 627
optres_stripfunctions 739
optres_logicops 250
numtemps 380
0 warnings
make[1]: Entering directory `/home/erik/xonotic/data/xonotic-data.pk3dir/qcsrc/client'
cd qcsrc/client && /home/erik/xonotic/fteqcc/fteqcc.bin -Werror -Wall -Wno-mundane -O3 -Ono-c -Ono-cs -flo  -DWATERMARK='"^1initial-1096-gc5da4e8 TEST BUILD"'
Source file: progs.src
outputfile: ../../csprogs.dat
compiling pre.qh
compiling ../common/util-pre.qh
compiling Defs.qc
compiling csqc_constants.qc
compiling ../common/constants.qh
compiling csqc_builtins.qc
compiling ../warpzonelib/anglestransform.qh
compiling ../warpzonelib/mathlib.qh
compiling ../warpzonelib/common.qh
compiling ../warpzonelib/client.qh
compiling ../common/util.qh
compiling ../common/items.qh
compiling ../common/mapinfo.qh
compiling autocvars.qh
compiling interpolate.qh
compiling teamradar.qh
compiling hud.qh
compiling waypointsprites.qh
compiling movetypes.qh
compiling prandom.qh
compiling bgmscript.qh
compiling main.qh
compiling sortlist.qc
compiling miscfunctions.qc
compiling teamplay.qc
compiling ctf.qc
compiling teamradar.qc
compiling hud.qc
compiling scoreboard.qc
compiling mapvoting.qc
compiling rubble.qc
compiling hook.qc
compiling particles.qc
compiling laser.qc
compiling projectile.qc
compiling gibs.qc
compiling damage.qc
compiling casings.qc
compiling effects.qc
compiling wall.qc
compiling modeleffects.qc
compiling tuba.qc
compiling target_music.qc
compiling Main.qc
compiling View.qc
compiling interpolate.qc
compiling waypointsprites.qc
compiling movetypes.qc
compiling prandom.qc
compiling bgmscript.qc
compiling ../common/util.qc
compiling ../common/gamecommand.qc
compiling ../common/mapinfo.qc
compiling ../common/items.qc
compiling ../server/w_all.qc
compiling ../warpzonelib/anglestransform.qc
compiling ../warpzonelib/mathlib.qc
compiling ../warpzonelib/common.qc
compiling ../warpzonelib/client.qc
Recognised progs as outdated CSQC module
Progs should run on any Quake executor
96036 strofs (of 1000000)
57737 numstatements (of 524288)
   968 numfunctions (of 16384)
  9954 numglobaldefs (of 32768)
   344 numfielddefs (300 unique) (of 2048)
10469 numpr_globals (of 65536)
Writing ../../csprogs.dat
717228 TOTAL SIZE
Not writing linenumbers file due to conflicting optimisation
44 unique precache_sounds
30 unique precache_models
Compile Complete

optres_shortenifnots 181
optres_overlaptemps 28441
optres_noduplicatestrings 8340
optres_constantarithmatic 1178
optres_nonvec_parms 11102
optres_filenames 1616
optres_assignments 2812
optres_unreferenced 302
optres_locals 48399
optres_function_names 2348
optres_dupconstdefs 345
optres_return_only 285
optres_compound_jumps 1264
optres_stripfunctions 906
optres_logicops 822
numtemps 353
0 warnings
377288 strofs (of 1000000)
171790 numstatements (of 524288)
  2634 numfunctions (of 16384)
35064 numglobaldefs (of 65536)
  2089 numfielddefs (1851 unique) (of 2048)
37314 numpr_globals (of 65536)
Writing ../../progs.dat
2293100 TOTAL SIZE
Not writing linenumbers file due to conflicting optimisation
106 unique precache_sounds
149 unique precache_models
Compile Complete

optres_shortenifnots 771
optres_overlaptemps 67405
optres_noduplicatestrings 49274
optres_constantarithmatic 445
optres_nonvec_parms 27100
optres_filenames 3366
optres_assignments 3797
optres_unreferenced 303
optres_locals 168824
optres_function_names 2849
optres_dupconstdefs 501
optres_return_only 720
optres_compound_jumps 2207
optres_stripfunctions 2157
optres_logicops 1397
numtemps 1475
0 warnings
make[1]: Leaving directory `/home/erik/xonotic/data/xonotic-data.pk3dir'
+ cd /home/erik/xonotic/darkplaces
+ make -j2 DP_LINK_TO_LIBJPEG=1 sv-debug
make bin-debug \
        DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
        EXE="darkplaces-dedicated" LDFLAGS_COMMON="-lm `[ -n "" ] && "/../bin/ode-config" --libs` `[ -n "" ] && echo -lstdc++` `[ -n "" ] && echo \ -lCg\ -lCgGL -lGL` -lrt -ldl -ljpeg" LEVEL=1
make[1]: Entering directory `/home/erik/xonotic/darkplaces'

========== darkplaces-dedicated (debug) ==========
make darkplaces-dedicated \
        DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
        CFLAGS="-MMD   -DLINK_TO_LIBJPEG  `[ -n "" ] && echo \ -DSUPPORTCG` -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement  -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math"\
        LDFLAGS="-g -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -DSVNREVISION=`test -d .svn && svnversion || echo -` -DBUILDTYPE=debug -lm    -lrt -ldl -ljpeg" LEVEL=2
make[2]: Entering directory `/home/erik/xonotic/darkplaces'
cc -MMD   -DLINK_TO_LIBJPEG   -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement  -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c jpeg.c -o jpeg.o
cc -MMD   -DLINK_TO_LIBJPEG   -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement  -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c mathlib.c -o mathlib.o
jpeg.c:41:21: warning: jpeglib.h: No such file or directory
jpeg.c:460: error: ‘JPEG_EOI’ undeclared here (not in a function)
jpeg.c:467: error: field ‘pub’ has incomplete type
jpeg.c:548: error: expected ‘)’ before ‘cinfo’
jpeg.c:550: error: expected ‘)’ before ‘cinfo’
jpeg.c:559: error: expected ‘)’ before ‘cinfo’
jpeg.c:571: error: expected ‘)’ before ‘cinfo’
jpeg.c:585: error: expected ‘)’ before ‘cinfo’
jpeg.c: In function ‘JPEG_LoadImage_BGRA’:
jpeg.c:601: error: storage size of ‘cinfo’ isn’t known
jpeg.c:602: error: storage size of ‘jerr’ isn’t known
jpeg.c:614: warning: implicit declaration of function ‘jpeg_std_error’
jpeg.c:615: warning: implicit declaration of function ‘jpeg_create_decompress’
jpeg.c:619: error: ‘JPEG_ErrorExit’ undeclared (first use in this function)
jpeg.c:619: error: (Each undeclared identifier is reported only once
jpeg.c:619: error: for each function it appears in.)
jpeg.c:620: warning: implicit declaration of function ‘JPEG_MemSrc’
jpeg.c:621: warning: implicit declaration of function ‘jpeg_read_header’
jpeg.c:624: warning: implicit declaration of function ‘jpeg_start_decompress’
jpeg.c:645: warning: implicit declaration of function ‘jpeg_finish_decompress’
jpeg.c:646: warning: implicit declaration of function ‘jpeg_destroy_decompress’
jpeg.c:657: warning: implicit declaration of function ‘jpeg_read_scanlines’
jpeg.c:602: warning: unused variable ‘jerr’
jpeg.c:601: warning: unused variable ‘cinfo’
jpeg.c: At top level:
jpeg.c:718: error: expected ‘)’ before ‘cinfo’
jpeg.c:726: error: expected ‘)’ before ‘cinfo’
jpeg.c:738: error: expected ‘)’ before ‘cinfo’
jpeg.c:749: error: expected ‘)’ before ‘cinfo’
jpeg.c:764: error: expected ‘)’ before ‘cinfo’
jpeg.c:771: error: expected ‘)’ before ‘cinfo’
jpeg.c:780: error: expected ‘)’ before ‘cinfo’
jpeg.c:785: error: expected ‘)’ before ‘cinfo’
jpeg.c: In function ‘JPEG_SaveImage_preflipped’:
jpeg.c:813: error: storage size of ‘cinfo’ isn’t known
jpeg.c:814: error: storage size of ‘jerr’ isn’t known
jpeg.c:834: error: ‘JPEG_ErrorExit’ undeclared (first use in this function)
jpeg.c:836: warning: implicit declaration of function ‘jpeg_create_compress’
jpeg.c:837: warning: implicit declaration of function ‘JPEG_FileDest’
jpeg.c:842: error: ‘JCS_RGB’ undeclared (first use in this function)
jpeg.c:844: warning: implicit declaration of function ‘jpeg_set_defaults’
jpeg.c:845: warning: implicit declaration of function ‘jpeg_set_quality’
jpeg.c:846: warning: implicit declaration of function ‘jpeg_simple_progression’
jpeg.c:857: warning: implicit declaration of function ‘jpeg_start_compress’
jpeg.c:866: warning: implicit declaration of function ‘jpeg_write_scanlines’
jpeg.c:869: warning: implicit declaration of function ‘jpeg_finish_compress’
jpeg.c:870: warning: implicit declaration of function ‘jpeg_destroy_compress’
jpeg.c:814: warning: unused variable ‘jerr’
jpeg.c:813: warning: unused variable ‘cinfo’
jpeg.c: At top level:
jpeg.c:881: warning: ‘struct jpeg_compress_struct’ declared inside parameter list
jpeg.c:881: warning: its scope is only this definition or declaration, which is probably not what you want
jpeg.c: In function ‘JPEG_try_SaveImage_to_Buffer’:
jpeg.c:887: warning: implicit declaration of function ‘JPEG_MemDest’
jpeg.c:890: error: dereferencing pointer to incomplete type
jpeg.c:891: error: dereferencing pointer to incomplete type
jpeg.c:892: error: dereferencing pointer to incomplete type
jpeg.c:892: error: ‘JCS_RGB’ undeclared (first use in this function)
jpeg.c:893: error: dereferencing pointer to incomplete type
jpeg.c:897: error: dereferencing pointer to incomplete type
jpeg.c:898: error: dereferencing pointer to incomplete type
jpeg.c:899: error: dereferencing pointer to incomplete type
jpeg.c:900: error: dereferencing pointer to incomplete type
jpeg.c:901: error: dereferencing pointer to incomplete type
jpeg.c:902: error: dereferencing pointer to incomplete type
jpeg.c:903: error: dereferencing pointer to incomplete type
jpeg.c:909: error: dereferencing pointer to incomplete type
jpeg.c:909: error: dereferencing pointer to incomplete type
jpeg.c:911: error: dereferencing pointer to incomplete type
jpeg.c:921: error: dereferencing pointer to incomplete type
jpeg.c: In function ‘JPEG_SaveImage_to_Buffer’:
jpeg.c:926: error: storage size of ‘cinfo’ isn’t known
jpeg.c:927: error: storage size of ‘jerr’ isn’t known
jpeg.c:943: error: ‘JPEG_ErrorExit’ undeclared (first use in this function)
jpeg.c:927: warning: unused variable ‘jerr’
jpeg.c:926: warning: unused variable ‘cinfo’
make[2]: *** [jpeg.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/erik/xonotic/darkplaces'
make[1]: *** [bin-debug] Error 2
make[1]: Leaving directory `/home/erik/xonotic/darkplaces'
make: *** [sv-debug] Error 2
Some things look bad, but I don't know what to do about it really.
Reply

#50
Thought so. You're missing some darkplaces dependencies and I don't know all of them unfortunately.

Code:
sudo apt-get install build-essential xserver-xorg-dev x11proto-xf86dri-dev x11proto-xf86dga-dev x11proto-xf86vidmode-dev libxxf86dga-dev libxcb-xf86dri0-dev libxpm-dev libxxf86vm-dev libsdl1.2-dev libsdl-image1.2-dev libclalsadrv-dev libasound2-dev libxext-dev libsdl1.2debian-pulseaudio git-core

If I remember correctly, that's an outdated(not sure) list of dependencies for ubuntu.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  0.8.6 and git - Stutter points / Profiling / Code Optimization dagelf 1 3,398 06-08-2024, 04:16 PM
Last Post: dagelf
  Xonotic Git Help Molnija 4 5,773 01-20-2019, 11:38 PM
Last Post: Molnija
  Fedora Repo Updateto 8.2 preactive 2 2,940 05-05-2017, 12:32 PM
Last Post: preactive
  [SOLVED] setting proper git pushurl BuddyFriendGuy 0 2,505 04-07-2015, 09:44 PM
Last Post: BuddyFriendGuy
Exclamation git branch archival TimePath 2 6,146 02-08-2015, 03:01 PM
Last Post: Mr. Bougo
  Cloning git? end user 2 3,802 09-15-2014, 03:35 AM
Last Post: end user
  Segmentation fault @ Xonotic(git) Ari 2 4,812 01-31-2014, 02:45 AM
Last Post: Ari
Question Supressing available weapon errors... cl_weaponsystem.qc confusion twistedlincoln 4 6,698 07-01-2012, 12:38 PM
Last Post: twistedlincoln
  GIT version size maxyan 7 7,318 03-13-2012, 02:54 AM
Last Post: tZork
  HEADS UP: git repository cleanup - branch deletion divVerent 5 7,326 02-19-2012, 09:10 AM
Last Post: divVerent

Forum Jump:


Users browsing this thread:
15 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-