有没有用codeblocks的呢?
-
- 帖子: 84
- 注册时间: 2007-11-05 20:52
有没有用codeblocks的呢?
我想问一下大伙装好以后如何配置才能正常的编译c++程序呢? 环境还有编译和调试选项该如何设置? 网上都找不到教程阿 找了很久 拜托有空的帮忙解说一下 或者给个配置的教程链接也行 谢谢了
- shellex
- 帖子: 2180
- 注册时间: 2007-02-18 19:33
- 系统: OSX
- 来自: lyric.im
- 联系:
Re: 有没有用codeblocks的呢?
不爱用。
既然你诚心诚意地问了
我就大慈大悲地告诉你
为了防止世界被破坏
为了维护世界的和平
贯彻爱与真实的罪恶
可爱而又迷人的反派角色
武藏,小次郎
我们是穿越银河的火箭队,白洞白色的明天在等着我们。就是这样!!喵~~
我就大慈大悲地告诉你
为了防止世界被破坏
为了维护世界的和平
贯彻爱与真实的罪恶
可爱而又迷人的反派角色
武藏,小次郎
我们是穿越银河的火箭队,白洞白色的明天在等着我们。就是这样!!喵~~
-
- 帖子: 84
- 注册时间: 2007-11-05 20:52
Re: 有没有用codeblocks的呢?
那楼上的用什么呢?
- kevinhslcn
- 帖子: 48
- 注册时间: 2007-11-19 13:10
Re: 有没有用codeblocks的呢?
建议LZ上官方网站看一下,很多东西在wiki里写得很清楚的,论坛里也有写的,搜下就知道了
-
- 帖子: 84
- 注册时间: 2007-11-05 20:52
Re: 有没有用codeblocks的呢?
好的 我去看看 呵呵 就是英文菜点````
- kevinhslcn
- 帖子: 48
- 注册时间: 2007-11-19 13:10
Re: 有没有用codeblocks的呢?
在ubuntu下面用的话还是很方面 的,很多东西不需要怎么设置,主要看你是要写什么样的程序了,是native的C++, 还是wxWidget,qt什么的
-
- 帖子: 84
- 注册时间: 2007-11-05 20:52
Re: 有没有用codeblocks的呢?
我的编译器和调试器的路径已经设置好了 就像这里的
但是调试还是 提示什么都没做
代码: 全选
"Settings->Compiler and Debugger->Global Compiler settings->Toolchain executables", select the compiler you installed and press "Auto-detect". If you get a message saying that the compiler was auto-detected, congratulations! If not, then press the button with the three dots next to the "Auto-detect" button and select the installation directory of your compiler manually.
- kevinhslcn
- 帖子: 48
- 注册时间: 2007-11-19 13:10
Re: 有没有用codeblocks的呢?
你的程序可以compile,不能调试?
-
- 帖子: 84
- 注册时间: 2007-11-05 20:52
Re: 有没有用codeblocks的呢?
不能编译 埃```` gcc gdb g++ ar 都有了 就是不知道还要设置什么 总是提示
代码: 全选
Nothing to be done.
上次由 剩疯 在 2008-11-15 14:28,总共编辑 1 次。
- kevinhslcn
- 帖子: 48
- 注册时间: 2007-11-19 13:10
Re: 有没有用codeblocks的呢?
是不是gcc 和 dbg 没有装啊
-
- 帖子: 84
- 注册时间: 2007-11-05 20:52
Re: 有没有用codeblocks的呢?
这两个都装好了 我用的是arch 所以这两个不可缺的```就是linksetting是空的 是不是这里没设置呢? win下好像还得设置环境变量 linux要吗?
上次由 剩疯 在 2008-11-15 14:30,总共编辑 1 次。
- kevinhslcn
- 帖子: 48
- 注册时间: 2007-11-19 13:10
Re: 有没有用codeblocks的呢?
那build-essential装了没?
-
- 帖子: 84
- 注册时间: 2007-11-05 20:52
Re: 有没有用codeblocks的呢?
kevinhslcn 写了:那build-essential装了没?
代码: 全选
[leftover-crazy@leftover-crazy ~]$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.3.2 (GCC)
[leftover-crazy@leftover-crazy ~]$ locate stdio.h
/usr/include/stdio.h
/usr/include/bits/stdio.h
/usr/include/c++/4.3.2/tr1/stdio.h
/usr/include/codeblocks/scripting/include/sqstdio.h
/usr/include/glib-2.0/glib/gstdio.h
/usr/include/libgsf-1/gsf/gsf-infile-stdio.h
/usr/include/libgsf-1/gsf/gsf-input-stdio.h
/usr/include/libgsf-1/gsf/gsf-outfile-stdio.h
/usr/include/libgsf-1/gsf/gsf-output-stdio.h
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/ssp/stdio.h
/usr/lib/klibc/include/stdio.h
/usr/lib/perl5/core_perl/CORE/nostdio.h
/usr/share/man/man0p/stdio.h.0p.gz
- kevinhslcn
- 帖子: 48
- 注册时间: 2007-11-19 13:10
Re: 有没有用codeblocks的呢?
那就怪了,看我的
代码: 全选
root@ubuntu:~# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu11' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11)
root@ubuntu:~# locate stdio.h
/usr/include/stdio.h
/usr/include/bits/stdio.h
/usr/include/c++/4.3/tr1/stdio.h
/usr/include/codeblocks/scripting/include/sqstdio.h
/usr/include/glib-2.0/glib/gstdio.h
/usr/lib/perl/5.10.0/CORE/nostdio.h
- shellex
- 帖子: 2180
- 注册时间: 2007-02-18 19:33
- 系统: OSX
- 来自: lyric.im
- 联系:
Re: 有没有用codeblocks的呢?
我的编辑器是VIM
既然你诚心诚意地问了
我就大慈大悲地告诉你
为了防止世界被破坏
为了维护世界的和平
贯彻爱与真实的罪恶
可爱而又迷人的反派角色
武藏,小次郎
我们是穿越银河的火箭队,白洞白色的明天在等着我们。就是这样!!喵~~
我就大慈大悲地告诉你
为了防止世界被破坏
为了维护世界的和平
贯彻爱与真实的罪恶
可爱而又迷人的反派角色
武藏,小次郎
我们是穿越银河的火箭队,白洞白色的明天在等着我们。就是这样!!喵~~