Fedora9下codeblocks安装无法编译的问题

时间:2022-07-28 06:59:32

在Fedora9下安装codeblocks,sudo yum install codeblocks,安装完毕谢了个helloworld想测试下,写完点build and run,竟然一点反应没有,没有一闪而过的命令行窗口,发现log窗口也没有反应,百度了下,发现是因为检测到的编译器安装目录错误导致的,修改如下:


setting->compiler and debugger ->global complier setting 中第四个标签中,toolchain executables下修改 /usr/bin 修改为/usr就可以正常编译了。



发现hello world运行后命令行界面一闪而过,解决方案: setting->envirment 最下面文本框里的 xterm -T $TITLE -e 修改为gnome-terminal -t $TITLE -x  ,原因是Fedora中没有安装xterm。