News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Run built program from C::B?

Started by cube1982, August 03, 2007, 11:19:01 PM

Previous topic - Next topic

cube1982

I use Cygwin GCC to compile and build my code via C::B. But I can't run that program by clicking the "run" button in C::B because it requires X11 launched. Is it possible to configure C::B to be able to launch X11, instead of running the Windows console, and thus to run a program ?

Thanks,
Geg

thomas

Afraid not. I don't think it would work well, either (startup time?). I wouldn't know how to launch the process inside X from Windows, either (not in an easy way, anyway).

What could work, though, would be to build and run Code::Blocks under Cygwin. I've never tried that and don't recall if anyone else has successfully done it, but actually, why not.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

stahta01

Quote from: thomas on August 04, 2007, 11:02:49 AM
What could work, though, would be to build and run Code::Blocks under Cygwin. I've never tried that and don't recall if anyone else has successfully done it, but actually, why not.

I tried to build Code::Blocks under Cygwin and failed. I would not suggest anyone but an Cygwin or an Code::Blocks expert try it.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

cube1982

Thanks, then I will just start x11 from the command line.