hexiyou / pcxprj

Automatically exported from code.google.com/p/pcxprj
0 stars 0 forks source link

有些知名软件编译通不过,还有向导自带的代码编译通不过 #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
经测试svn7128有以下问题,测试平台是win7x86
1)DirectX程序创建有问题。根据codeblocks向导创建样例程序编��
�无法通过
2)OpenGL程序创建有问题。根据codeblocks向导创建样例程序releas
e编译之后正常运行,debug编译之后运行结果不对,黑屏。
3)codeblocks与chrome浏览器冲突,打开chrome11浏览器后,codeblocks
启动之后没有图形界面,只能杀死codeblocks进程。在chrome未启�
��状态下,启动codeblocks运行正常
4)可能是mingw64crt的原因,fftw、SDL、OpenSSL、QT编译无法通过,�
��是最新版

希望董大在下一版本加入以下功能:
1)集成freeglut、glew、SDL
2)集成w32api、mingw-runtime。我确实检查过了,虽然在董大的文
章中有写这两个组件的编译安装方法,但是在下载包中确实��
�有。
3)http://code.google.com/p/srgb/downloads/detail?name=CodeBlocks-zh-CN.7z&can=
2&q=
有codeblocks的中文包,董大不妨试一下

Original issue reported on code.google.com by mybestle...@gmail.com on 15 Jun 2011 at 9:36

GoogleCodeExporter commented 9 years ago
1)cb向导可能有问题,我使用directx的sample放进cb里没有任何问�
��出现
2)这个也是cb自身的问题,只需要在debug的链接选项里加入-mw
indows即可
3)原因未知,我平常都是使用Firefox的,这个我看下是怎么回
事
4)这个就奇怪了,这些我都测试过,都无问题,有编译错误�
��告么

3d我基本不用,所以这个我也懒得编译了,不过说不定会抽空
编译,我只在gcc推下个release时重新编译组件,下个版本有可�
��是gcc4.6.1,这个版本较为4.5.x性能提高还不错,并且在windows�
��的一些移植问题已经基本解决了。
那个中文切换是小洪做的,我不用中文包,不过也给他编译��
�个4.5.x的中文版:http://pcxprj.googlecode.com/files/MinGW_gcc4.5.3.201103
10_with_nls.7z
不过我是不用的

Original comment by xunxun1...@gmail.com on 16 Jun 2011 at 7:50

GoogleCodeExporter commented 9 years ago
mingw那个没看懂你说的是什么意思,他的官方链接我写的没错
啊

Original comment by xunxun1...@gmail.com on 16 Jun 2011 at 7:54

GoogleCodeExporter commented 9 years ago
Chrome那个我感觉是其本身的原因,因为我把他的avformat-52.dll��
�avcodec-52.dll删除后就没有问题了。没看过Chrome的代码,不知��
�这两个起什么作用(看样子是解码器之类),而Chrome删除这�
��文件后也能正常工作。

Original comment by xunxun1...@gmail.com on 16 Jun 2011 at 10:53

GoogleCodeExporter commented 9 years ago
我在虚拟机里测试了XP,cb和Chrome没有发现问题

Original comment by xunxun1...@gmail.com on 16 Jun 2011 at 11:20

GoogleCodeExporter commented 9 years ago
编译fftw-3.2.2时,在make时候出错

In file included from align.c:22:0:
ifftw.h:160:6: error: # error sizeof void* is unknown!
make[2]:*** [align.lo] Error 1
make[1]:*** [all-recursive] Error 1
make: *** [all] Error 2

在编译SDL-1.2.14时,make出错信息太长了,看附件吧

编译OpenSSL-1.0.0d时,在make时出错

making all in engines/ccgost...
make[2]: Entering directory 
`/d/Downloads/Software/Develop/QT/openssl-1.0.0d/engines/ccgost'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/d/Downloads/Software/Develop/QT/openssl-1.0.0d/engines/ccgost'
make[1]: Leaving directory 
`/d/Downloads/Software/Develop/QT/openssl-1.0.0d/engines'
making all in apps...
make[1]: Entering directory 
`/d/Downloads/Software/Develop/QT/openssl-1.0.0d/apps'
rm -f openssl.exe
shlib_target=; if [ -n "" ]; then \
        shlib_target="cygwin-shared"; \
    fi; \
    LIBRARIES="-L.. -lssl  -L.. -lcrypto" ; \
    make -f ../Makefile.shared -e \
        APPNAME=openssl.exe OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o" \
        LIBDEPS=" $LIBRARIES -lws2_32 -lgdi32 -lcrypt32" \
        link_app.${shlib_target}
make[2]: Entering directory 
`/d/Downloads/Software/Develop/QT/openssl-1.0.0d/apps'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl  -L.. -lcrypto -lws2_32 -lgdi32 
-lcrypt32}"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_MT 
-DDSO_WIN32 -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 
-march=i486 -Wall -DOPENSSL_EXPERIMENTAL_JPAKE -DOPENSSL_EXPERIMENTAL_STORE 
-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT 
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM 
-DWHIRLPOOL_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ 
*-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; 
LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o 
${APPNAME:=openssl.exe} openssl.o verify.o asn1pars.o req.o dgst.o dh.o 
dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o 
rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o 
s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o 
version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o 
pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o ${LIBDEPS} )
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x3b): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x46): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x51): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x5c): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x67): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x72): more undefined references to 
`__gmpz_clear' follow
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x116): undefined reference to 
`__gmpz_realloc'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x2d8): undefined reference to 
`__gmpz_realloc'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x33e): undefined reference to 
`__gmpz_mod'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x363): undefined reference to 
`__gmpz_powm'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x37a): undefined reference to 
`__gmpz_mod'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x398): undefined reference to 
`__gmpz_powm'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x3ac): undefined reference to 
`__gmpz_sub'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x3ca): undefined reference to 
`__gmpz_mul'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x3de): undefined reference to 
`__gmpz_mod'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x3fd): undefined reference to 
`__gmpz_mul'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x411): undefined reference to 
`__gmpz_add'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x560): undefined reference to 
`__gmpz_add'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x580): undefined reference to 
`__gmpz_add'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x5ba): undefined reference to 
`__gmpz_init'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x5c9): undefined reference to 
`__gmpz_init'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x5d8): undefined reference to 
`__gmpz_init'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x5e7): undefined reference to 
`__gmpz_init'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x5f6): undefined reference to 
`__gmpz_init'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x605): more undefined references to 
`__gmpz_init' follow
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x67c): undefined reference to 
`__gmpz_realloc'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x6d5): undefined reference to 
`__gmpz_realloc'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x769): undefined reference to 
`__gmpz_realloc'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x826): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x832): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x83e): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x84a): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x856): undefined reference to 
`__gmpz_clear'
../libcrypto.a(e_gmp.o):e_gmp.c:(.text+0x862): more undefined references to 
`__gmpz_clear' follow
collect2: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[2]: Leaving directory 
`/d/Downloads/Software/Develop/QT/openssl-1.0.0d/apps'
make[1]: *** [openssl.exe] Error 2
make[1]: Leaving directory 
`/d/Downloads/Software/Develop/QT/openssl-1.0.0d/apps'
make: *** [build_apps] Error 1

至于w32-api和mingw-runtime董大确实给对了网址,我只是建议直接
集成到发行包里,不要让我们自己安装了

chrome的问题我查了一下,应该不是chrome的问题,而是portableapp
封装程序的问题,我试了几个portableapp封装的程序,都和codebl
ocks冲突

Original comment by mybestle...@gmail.com on 21 Jun 2011 at 6:51

Attachments:

GoogleCodeExporter commented 9 years ago
fftw那个你的configure检测有问题,可以检查你的config.log或者con
fig.h,里面必须要define 
HAVE_STDINT_H,而stdint.h我的版本显然有的

openssl这个问题看起来像是在makefile链接阶段缺少了-lgmp,那些
符号都是gmplib的。(我的版本自带gmplib,所以openssl可能自动�
��测到了,但是由于某些原因,makefile里又没有添加)

sdl我没有源码,不是很清楚,看起来也是什么头文件没包含��
�去

不知道你使用的msys是哪的版本,可以使用我提供的。

Original comment by xunxun1...@gmail.com on 22 Jun 2011 at 2:17

GoogleCodeExporter commented 9 years ago
谢谢董大,我用的就是你的msys

OpenSSL搞定了,要在config的时候指定libdir和includedir才行,还要
在config之后手工修改Makefile

不过fftw还是有同样的问题,即使指定libdir和includedir也不行,
configure时候能够识别到相关的头文件和库文件,但是后来生��
�的config.h还是
#undef HAVE_STDINT_H
而且事实上文件中所有的选项全部都是undef,没有一个define

http://mingw-users.1079350.n2.nabble.com/Compile-FFTW-3-2-2-with-threads-td57007
40.html#a6243165

最后的跟帖说也遇到了同样的问题并向gcc那边汇报了,不过4�
��份至今似乎并没有解决

SDL的问题我还在继续测试

Original comment by mybestle...@gmail.com on 23 Jun 2011 at 9:35

GoogleCodeExporter commented 9 years ago
SDL的问题解决了,需要
http://www.libsdl.org/extras/win32/common/dxsdk_aug2007_headers.zip
这个压缩包中有5个文件和你的头文件是相同文件名的,不过�
��容更多

Original comment by mybestle...@gmail.com on 12 Jul 2011 at 4:36