Author Topic: Don't show build log when use command line to build project  (Read 4223 times)

Offline oulinbao

  • Single posting newcomer
  • *
  • Posts: 3
Don't show build log when use command line to build project
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Don't show build log when use command line to build project
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oulinbao

  • Single posting newcomer
  • *
  • Posts: 3
Re: Don't show build log when use command line to build project
« Reply #2 on: December 11, 2011, 02:46:50 pm »
would you like notify me when it is finished?  thanks!

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: Don't show build log when use command line to build project
« Reply #3 on: December 11, 2011, 02:57:36 pm »
this experiment was started a year ago.And the initial results do work :-)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Don't show build log when use command line to build project
« Reply #4 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.