Code::Blocks Forums

User forums => Help => Topic started by: oulinbao on December 11, 2011, 10:14:44 am

Title: Don't show build log when use command line to build project
Post by: oulinbao on December 11, 2011, 10:14:44 am
I am integrating C::B with jenkins in order to build our CI environment.
But when I use command line building project, it will pop up build log.
The jenkins report err: Unable to initialize gtk, is DISPLAY set properly?
what should I do?
My platform is: ubuntu 10.10 and jenkins, C::B 10.5
thanks.
Title: Re: Don't show build log when use command line to build project
Post by: oBFusCATed on December 11, 2011, 01:30:18 pm
Unfortunately C::B requires the X server to be running, even in batch build mode. There is on going effort to fix this problem, but it is not finished, yet.

I think this is the branch: http://svn.berlios.de/wsvn/codeblocks/branches/codeblocks_console/?rev=7633&peg=7633#a9d0bd8ef7e401af0a01b460d3e4bea4d
but I've not tried it.
Title: Re: Don't show build log when use command line to build project
Post by: oulinbao on December 11, 2011, 02:46:50 pm
would you like notify me when it is finished?  thanks!
Title: Re: Don't show build log when use command line to build project
Post by: killerbot on December 11, 2011, 02:57:36 pm
this experiment was started a year ago.And the initial results do work :-)
Title: Re: Don't show build log when use command line to build project
Post by: Jenna on December 11, 2011, 03:05:37 pm
would you like notify me when it is finished?  thanks!
It should work as it is at the moment.
The last merge with trunk is very, very long ago, but that should not matter.
The debian/ubuntu build-system does not work (dpkg-buildpackage), but the automake-files should do.