Compiling Unvanquished under Ubuntu 11.10

Talk about anything related to Unvanquished.
User avatar
danmal
Posts: 193
Joined: Thu Mar 08, 2012 1:44 am UTC

Re: Compiling Unvanquished under Ubuntu 11.10

Post by danmal »

I'm getting this error now when trying to use the GL renderer

"Failed loading /usr/lib/games/unvanquished/librendererGLi386.so: /usr/lib/games/unvanquished/librendererGLi386.so: undefined symbol: jpeg_mem_src"

EDIT: This is caused by linking against libjpeg62 instead of libjpeg8

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Compiling Unvanquished under Ubuntu 11.10

Post by Anomalous »

libjpeg8 isn't an option on squeeze. The library's available; it's just that at least one other package needed for the build depends on libjpeg62-dev – which, of course, conflicts with libjpeg8-dev.

And having two different libjpegs linked in? No. Not going there.

User avatar
danmal
Posts: 193
Joined: Thu Mar 08, 2012 1:44 am UTC

Re: Compiling Unvanquished under Ubuntu 11.10

Post by danmal »

Last time I checked Unvanquished did not compile correctly linking against libjpeg62. You need libjpeg8 if you want it to work correctly.

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Compiling Unvanquished under Ubuntu 11.10

Post by Anomalous »

danmal wrote:

Last time I checked Unvanquished did not compile correctly linking against libjpeg62. You need libjpeg8 if you want it to work correctly.

This is why I want the plugins fully linked. Unresolved symbols would, ideally, cause build failure.

I'll have to see if I can get it working with libjpeg62…

FisherP
Posts: 12
Joined: Mon Mar 12, 2012 4:40 pm UTC

Re: Compiling Unvanquished under Ubuntu 11.10

Post by FisherP »

If these are the official deb's can we get this somewhere a bit more prominent please?

Edit: Also do these deb's include all the new assets?

User avatar
danmal
Posts: 193
Joined: Thu Mar 08, 2012 1:44 am UTC

Re: Compiling Unvanquished under Ubuntu 11.10

Post by danmal »

The deb's will automatically download any needed assets when they're installed/updated.

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Compiling Unvanquished under Ubuntu 11.10

Post by Anomalous »

The .debs don't include the assets; but a script, invoked on package installation, will download them.

User avatar
Kynes
Posts: 78
Joined: Tue Mar 06, 2012 10:05 pm UTC

Re: Compiling Unvanquished under Ubuntu 11.10

Post by Kynes »

Post Reply