Code::Blocks Forums

User forums => Help => Topic started by: wangzisong1987 on September 24, 2012, 05:48:18 am

Title: which one i should choose verison with zenwalk linux?
Post by: wangzisong1987 on September 24, 2012, 05:48:18 am
i am new in linux, i using zenwalk linux now , i want to use codeblocks on zenwalk, but codeblocks  have only four version(debain,fc,suse,mdv),so ,i don't know which one i should choose, i mean which version can work on zenwalk. and how to install on zenwalk.please help me...thanks all
Title: Re: which one i should choose verison with zenwalk linux?
Post by: Jenna on September 24, 2012, 06:34:06 am
I fear that none of this versions work directly.
In this case you have to build C::B yourself from scratch.

A starting point might be:
http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29 (http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29)

I will setup a vm with zenwalk to see how easy it is.
Title: Re: which one i should choose verison with zenwalk linux?
Post by: wangzisong1987 on September 24, 2012, 07:32:14 am
thank you , i saw the link:  http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29
because my english is poor, so i think it's mean: 
1,download and install wxGTK;
2,build C::B and instll C::B;

am i right?
Title: Re: which one i should choose verison with zenwalk linux?
Post by: Jenna on September 24, 2012, 08:27:38 am
thank you , i saw the link:  http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29
because my english is poor, so i think it's mean: 
1,download and install wxGTK;
2,build C::B and instll C::B;

am i right?


1. if no prebuild wxGTK exists, yes

2. yes, this will need some more development libraries to be installed, depending on the contrib-plugins you want to use.
Title: Re: which one i should choose verison with zenwalk linux?
Post by: wangzisong1987 on September 24, 2012, 09:35:03 am
i find one error when i building C::B . i use GCC4.7.1.
error log :
src/include/scripting/squirrel/squtils.h:38:4:'ssq_vm_free' was not declared in this scope....

can you teach me how to fix it?
Title: Re: which one i should choose verison with zenwalk linux?
Post by: Jenna on September 24, 2012, 10:38:15 am
Which version of C::B sources do you use ?
Title: Re: which one i should choose verison with zenwalk linux?
Post by: wangzisong1987 on September 24, 2012, 10:49:11 am
C::B version is 10.05
Title: Re: which one i should choose verison with zenwalk linux?
Post by: Jenna on September 24, 2012, 10:56:12 am
C::B version is 10.05
10.05 does not work with gcc 4.7 .
Either use gcc4.6 if possible or fetch the C::B sources from svn:
http://www.codeblocks.org/downloads/7 (http://www.codeblocks.org/downloads/7)