[分享]KDevelop扫盲帖

软件和网站开发以及相关技术探讨
头像
huyang163
帖子: 71
注册时间: 2007-08-03 17:06

#31

帖子 huyang163 » 2007-09-04 11:40

下次用用
wuleeemail
帖子: 54
注册时间: 2007-08-15 8:45

#32

帖子 wuleeemail » 2007-09-08 18:00

我试着用这个软件已经快半个月了,到现在为止一个最简单的“HELLO”对话框还没有弹出来,实在是火大啊!通过这个半个月使用发现我们出不来的原因主要还是编译环境搞不好。在Linux下用这个软件比在Windows下用VC++麻烦的太多,当然主要是我们没有搞清楚本质的东西,对于这个软件要是能成功编译一个东西到底需要最少是那些库文件或者它的编译环境到底要是如何。我感到现在大家还是处于盲人摸象的处境,一个人搞出来是这样另一个人也搞出来但是又是那样出来的。
henu2004
帖子: 2
注册时间: 2007-05-23 19:21

#33

帖子 henu2004 » 2007-09-15 23:11

:( 郁闷 跟楼上的同病相怜 唉!
henu2004
帖子: 2
注册时间: 2007-05-23 19:21

#34

帖子 henu2004 » 2007-09-15 23:18

/========================================/

把config.log文件贴出来,高手帮忙看看,是哪里出问题了?
/========================================/
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ /home/***/configure

## --------- ##
## Platform. ##
## --------- ##

hostname = ***-desktop
uname -m = i686
uname -r = 2.6.20-16-generic
uname -s = Linux
uname -v = #2 SMP Fri Aug 31 00:55:27 UTC 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /home/yitian/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1968: checking for a BSD-compatible install
configure:2024: result: /usr/bin/install -c
configure:2035: checking whether build environment is sane
configure:2078: result: yes
configure:2106: checking for a thread-safe mkdir -p
configure:2145: result: /bin/mkdir -p
configure:2158: checking for gawk
configure:2174: found /usr/bin/gawk
configure:2185: result: gawk
configure:2196: checking whether make sets $(MAKE)
configure:2217: result: yes
configure:2528: checking for C++ compiler version
configure:2535: i586-mingw32msvc-c++ --version >&5
/home/yitian/asd/configure: line 2536: i586-mingw32msvc-c++: command not found
configure:2538: $? = 127
configure:2545: i586-mingw32msvc-c++ -v >&5
/home/yitian/asd/configure: line 2546: i586-mingw32msvc-c++: command not found
configure:2548: $? = 127
configure:2555: i586-mingw32msvc-c++ -V >&5
/home/yitian/asd/configure: line 2556: i586-mingw32msvc-c++: command not found
configure:2558: $? = 127
configure:2581: checking for C++ compiler default output file name
configure:2608: i586-mingw32msvc-c++ conftest.cpp >&5
/home/yitian/asd/configure: line 2609: i586-mingw32msvc-c++: command not found
configure:2611: $? = 127
configure:2649: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "asd"
| #define VERSION "0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2656: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=i586-mingw32msvc-c
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=i586-mingw32msvc-c++
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/yitian/asd/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/yitian/asd/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/yitian/asd/missing --run autoconf'
AUTOHEADER='${SHELL} /home/yitian/asd/missing --run autoheader'
AUTOMAKE='${SHELL} /home/yitian/asd/missing --run automake-1.10'
AWK='gawk'
CC='i586-mingw32msvc-c'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='i586-mingw32msvc-c++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/yitian/asd/missing --run makeinfo'
OBJEXT=''
PACKAGE='asd'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.1'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/yitian/asd/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "asd"
#define VERSION "0.1"

configure: exit 77
头像
chaoyagami
帖子: 207
注册时间: 2007-05-27 21:25
来自: 江西南昌

#35

帖子 chaoyagami » 2007-09-23 19:01

太可怜了吧,helloworld都编不出来。我想问下那个什么C++编译选项怎么用啊,我要添加那个libglade。
NetBeans 6.0于12月3日正式发布。
www.netbeans.org
wuleeemail
帖子: 54
注册时间: 2007-08-15 8:45

#36

帖子 wuleeemail » 2007-09-27 11:09

chaoyagami 写了:太可怜了吧,helloworld都编不出来。我想问下那个什么C++编译选项怎么用啊,我要添加那个libglade。
是啊,到现在为止我也是连helloworld都编不出来,郁闷死了,所以准备放弃它,现在转过去用QT了。
skttkl
帖子: 8
注册时间: 2007-09-27 10:33

#37

帖子 skttkl » 2007-09-27 11:16

不错 好
头像
Final_x
帖子: 383
注册时间: 2008-05-03 23:05
联系:

#38

帖子 Final_x » 2008-05-07 12:59

wuleeemail 写了:
chaoyagami 写了:太可怜了吧,helloworld都编不出来。我想问下那个什么C++编译选项怎么用啊,我要添加那个libglade。
是啊,到现在为止我也是连helloworld都编不出来,郁闷死了,所以准备放弃它,现在转过去用QT了。
彼此彼此
头像
hatoyu
帖子: 171
注册时间: 2006-03-16 10:20
来自: http://www.adelaidecartridge.com
联系:

#39

帖子 hatoyu » 2008-05-11 17:21

不是很难的

看什么缺的 apt-get 装什么

然后 运行 project里面的hello world 没有问题。

我用了2周了 也在摸索中
冷不丁
帖子: 1
注册时间: 2008-07-17 13:13

#40

帖子 冷不丁 » 2008-07-17 13:21

我的也不行阿~
看了N多的帖子,都按照贴子说的做了一遍,还是连个helloworld都不出来




我的config.log如下:

~~~~~~~~~~~~~~~~~~~~~~~~```
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ /home/virtual/.wine/dosdevices/z:/home/virtual/桌面/Predict/configure

## --------- ##
## Platform. ##
## --------- ##

hostname = virtual-laptop
uname -m = i686
uname -r = 2.6.24-16-generic
uname -s = Linux
uname -v = #1 SMP Thu Apr 10 13:23:42 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1971: checking for a BSD-compatible install
configure:2027: result: /usr/bin/install -c
configure:2038: checking whether build environment is sane


热切盼望热心人解答一下
pidai
帖子: 2
注册时间: 2008-09-29 1:33

Re: [分享]KDevelop扫盲帖

#41

帖子 pidai » 2009-01-18 1:09

很好 :em02 :
zhqer
帖子: 1
注册时间: 2008-12-30 1:14

Re: [分享]KDevelop扫盲帖

#42

帖子 zhqer » 2009-03-21 20:44

搂住的头像很好,文章非常不错,支持一个^O^
gogoxx
帖子: 1
注册时间: 2009-04-08 13:50

Re: but, Can't find X libraries

#43

帖子 gogoxx » 2009-04-08 13:55

mybayern1974 写了:但是各位没有碰上过这种情况吗?
can't find X libraries;
即使我这样做也不管用,
apt-get install xorg-dev
怎么办:?
你要安装下
sudo apt-get install kdelibs-dev
这个库,就可以了
ryantee
帖子: 6
注册时间: 2009-01-09 22:25

Re: [分享]KDevelop扫盲帖

#44

帖子 ryantee » 2009-05-06 16:35

:em11 好东西,留着下次看。。
yuxuan485
帖子: 1
注册时间: 2009-07-24 11:09

Re: kdevelop中konsole无法使用怎么办?

#45

帖子 yuxuan485 » 2009-08-03 14:38

icosagon 写了:
xzzfirst 写了:为什么我的运行时显示,konsole not found?
编译链接都OK。
sudo apt-get install konsole
我的kdevelop安装了konsole后怎么使用阿?点击界面下方的konsole后还是无法输入。
回复