Forum index VCMI Project - Heroes 3: WoG recreated
Forum of the project aiming to recreate best turn-based strategy ever!

FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  StatisticsStatistics
RegisterRegister  Log inLog in  AlbumAlbum  DownloadDownload

Previous topic :: Next topic
Install VCMI in other Linuxes than Ubuntu/Debian
Author Message
meteo
Guest
Posted: 2012-06-23, 09:51     

I've successfully installed vcmi(both 0.89 and the svn one) on gentoo.

I've even composed ebuild files for it.

I found for vcmi to be compiled on my gentoo system. Just need to do a little adjusting.

First, it seems the gcc(4.5.3-r2 with boost 1.48.0-r2) on my system does not support std::begin and std::end yet.

Second, in some places NULL cannot be converted to pointer type, just need to revised them to corresponding void pointer type.

Third, when running vcmi, some files cannot be found because of case sensitive problem. In my ebuild file I compared the file from the H3 path with the name vcmi needed and changed them automatically, it works.
 
     
Ivan 
VCMI programmer

Age: 21
Joined: 08 May 2009
Posts: 713
Location: Ukraine
Posted: 2012-06-23, 18:04     

Quote:
First, it seems the gcc(4.5.3-r2 with boost 1.48.0-r2) on my system does not support std::begin and std::end yet.

Second, in some places NULL cannot be converted to pointer type, just need to revised them to corresponding void pointer type.

VCMI should work with gcc-4.5. I'll check this out but can you post exact locations for these issues or submit a patch?

Quote:
Third, when running vcmi, some files cannot be found because of case sensitive problem.

Which ones? There are some known issues like Mp3 vs MP3 folders but usually VCMI can handle different case.

EDIT: current svn should work with gcc-4.5
 
     
meteo

Joined: 23 Jun 2012
Posts: 1
Posted: 2012-07-18, 17:08     

I have some problem with my network. I can only browse but can't post here after I post my last post. Thank you so much Ivan. It works great now.
 
     
Display posts from previous:   
Reply to topic
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Add this topic to your bookmarks
Printable version

Jump to:  
Quick Reply
Username: 


Expire Days
 
 
 
 
 
 
 

Powered by phpBB modified by Przemo © 2003 phpBB Group
Template Chronicles modified by Nasedo modified by Tow.
© VCMI Team
Page generated in 0.06 second. SQL queries: 11