Home Forum

social networks

Articles

PokerTH - Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Problem compiling from source
(1 viewing) 1 Guest
Go to bottom
TOPIC: Problem compiling from source
#4105
harco
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Problem compiling from source 5 Months ago Karma: 0
I cant find the solution, I install and change package versions and I always get the same error.
Could you put me in the correct way?

I am using Ubuntu 9.1, and PokerTh 0.7.1

I get this error:

lib/libpokerth_lib.a(clientstate.o): In function
`boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char> >::filter(char const*&,
char const*, char*&, char*, bool)':
clientstate.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPc
S8_b[boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char> >::filter(char const*&,
char const*, char*&, char*, bool)]+0x54): undefined reference to
`boost::iostreams::detail::zlib_base::xinflate(int)'

collect2: ld returned 1 exit status

I am on it since thursday... I am really stuck
 
Logged Logged
  The administrator has disabled public write access.
#4106
heyn
Platinum Boarder
Posts: 635
graph
User Offline Click here to see the profile of this user
Birthday: 12/06
Re:Problem compiling from source 5 Months ago Karma: 26
Which version of boost do you use, then?
You need a very recent version, see here:
http://pokerth.svn.sourceforge.net/viewvc/pokerth/trunk/pokerth/INSTALL?revision=2024&view=markup
I'm often confused about the version numbers vs. the naming of Ubuntu releases.
Does a normal install (via the Ubuntu repos or via the repo that can be found via Download) work?
 
Logged Logged
  The administrator has disabled public write access.
#4107
harco
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Problem compiling from source 5 Months ago Karma: 0
ohh.. Thanks for your quick response!

Yes, 9.1 is the Ubuntu's release version, and I am able to install and play it from the ubuntu's repository.

The problem is when I try to compile it from Qt IDE. I have tried with the svn release version ( pokerth.svn.sourceforge.net/svnroot/pokerth/trunk/pokerth ?) and with PokerTH-0.7.1-src.tar.bz2 from the download page. I get the same error on both of them, with 1.36, 1.38 or 1.40 boost versions. I have installed the other dependencies as well (zlib 1.2.3, libcurl, gnutls, libSDL_mixer, libSDL, and SASL)

I am not an experienced C++ programmer and I am starting with Qt and linux with PokerTh. I will apreciate if you can advise me how to make it works.

In the following thread they are talking about compile boost libraries with zlib support: www.pokerth.net/index.php?option=com_kun...15&catid=17#3918

Do you think the problem might come from this?

Thanks in advance
 
Logged Logged
  The administrator has disabled public write access.
Go to top
PokerTH - Community Portal, Powered by Joomla!; Joomla templates by SG web hosting