can't compile gccg

For discussion the Generic Collectible Card Game engine designed and run by Tommi "wigy" Ronkainen

Moderators: Vastor Peredhil, Thorsten the Traveller, GCCG

can't compile gccg

Postby vvb » Mon Feb 29, 2016 2:24 am

hello. I can't compile gccg on Gentoo x86_64. Can anybody help?

Error message:
[spoiler]
Code: Select all
g++   -o ccg_client src/parser_libcards.o src/parser_libnet.o src/parser.o src/data_filedb.o src/parser_lib.o src/tools.o src/carddata.o src/xml_parser.o src/security.o src/data.o src/localization.o src/compat.o src/client.o src/driver.o src/game.o src/interpreter.o src/SDL_rotozoom.o src/sdl-driver.o src/game-sdl-version.o -lSDLmain -lSDL -lSDL_net -lSDL_image -lSDL_ttf -lSDL_mixer
src/compat.o: In function `FilterSelRequest(SDL_Event const*)':
compat.cpp:(.text+0x7d): undefined reference to `XInternAtom'
compat.cpp:(.text+0xc9): undefined reference to `XDefaultRootWindow'
compat.cpp:(.text+0x105): undefined reference to `XGetWindowProperty'
compat.cpp:(.text+0x12a): undefined reference to `XFree'
compat.cpp:(.text+0x13e): undefined reference to `XSendEvent'
compat.cpp:(.text+0x149): undefined reference to `XSync'
compat.cpp:(.text+0x173): undefined reference to `XChangeProperty'
compat.cpp:(.text+0x1b1): undefined reference to `XChangeProperty'
src/compat.o: In function `ClipboardGet(char*, unsigned long)':
compat.cpp:(.text+0x22f): undefined reference to `XInternAtom'
compat.cpp:(.text+0x279): undefined reference to `XGetSelectionOwner'
compat.cpp:(.text+0x28c): undefined reference to `XDefaultRootWindow'
compat.cpp:(.text+0x2cc): undefined reference to `XGetWindowProperty'
compat.cpp:(.text+0x317): undefined reference to `XFree'
compat.cpp:(.text+0x357): undefined reference to `XConvertSelection'
compat.cpp:(.text+0x36d): undefined reference to `XIfEvent'
src/compat.o: In function `ClipboardSet(char const*)':
compat.cpp:(.text+0x3de): undefined reference to `XInternAtom'
compat.cpp:(.text+0x421): undefined reference to `XDefaultRootWindow'
compat.cpp:(.text+0x443): undefined reference to `XChangeProperty'
compat.cpp:(.text+0x452): undefined reference to `XGetSelectionOwner'
compat.cpp:(.text+0x46b): undefined reference to `XSetSelectionOwner'
compat.cpp:(.text+0x47a): undefined reference to `XGetSelectionOwner'
compat.cpp:(.text+0x495): undefined reference to `XSetSelectionOwner'
collect2: error: ld returned 1 exit status
Makefile:181: recipe for target 'ccg_client' failed
make: *** [ccg_client] Error 1

[/spoiler]
vvb
 
Posts: 1
Joined: Sun Feb 28, 2016 6:14 pm

Re: can't compile gccg

Postby emux » Mon Feb 29, 2016 12:17 pm

It looks like your instaled SDL libs are not a correct version or are not compatible with your current compilation.

Take a look on:

http://gccg.sourceforge.net/pages/source.php

http://askubuntu.com/questions/143393/s ... ls-to-open

Not many information out there but perhaps you may find a clue.

Gl!
User avatar
emux
 
Posts: 20
Joined: Mon Nov 05, 2012 6:56 pm


Return to GCCG

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron