Search found 11 matches

by cean
Thu Nov 25, 2010 10:53 am
Forum: wxWidgets Development (Chinese)
Topic: error: 'wxDDEConnectionList' does not name a type|
Replies: 0
Views: 2209

error: 'wxDDEConnectionList' does not name a type|

我在C:B里从wxWedgets模板创建工程,ddl的库,编译后说: ||=== mymy, Release ===| C:\wxWidgets-2.9.1\include\wx\msw\dde.h|94|error: 'wxDDEConnectionList' does not name a type| C:\wxWidgets-2.9.1\include\wx\msw\dde.h|100|error: 'wxDDEConnectionList' does not name a type| C:\wxWidgets-2.9.1\include\wx\msw\dde.h|125|error: ...
by cean
Sat Nov 20, 2010 11:16 am
Forum: wxWidgets Development (Chinese)
Topic: codeblocks如何设置__WXMSW__之类的编译标志
Replies: 4
Views: 3270

我是dll的。这是2。9。1里drawing例子
by cean
Sat Nov 20, 2010 10:40 am
Forum: wxWidgets Development (Chinese)
Topic: 简单画线,用那个控件?
Replies: 2
Views: 2181

好像wxClientDC是我需要的,在窗口的客户区里画线。这里http://wiki.wxwidgets.org/WxDC

但是怎么在codeblocks里用呀?
by cean
Fri Nov 19, 2010 3:05 am
Forum: wxWidgets Development (Chinese)
Topic: 简单画线,用那个控件?
Replies: 2
Views: 2181

简单画线,用那个控件?

可以在Frame里直接画么?

在samples里有个drawing例子,用c::b好像可以打开.dsp的工程文件,但我没编译过去。

谢谢
by cean
Sun Nov 14, 2010 11:23 pm
Forum: wxWidgets Development (Chinese)
Topic: 求助:config里各项的含义是什么呀?
Replies: 6
Views: 4101

比较神奇。原来minimal.exe 2M多,strip后只有500k了。

不过在dll目录里,dir *.dll可以。strip *.dll却不行,说没这个文件。可能不能用*通用吧。
by cean
Sat Nov 13, 2010 11:58 pm
Forum: wxWidgets Development (Chinese)
Topic: 求助:config里各项的含义是什么呀?
Replies: 6
Views: 4101

我把c:\wxWidgets-2.9.1\\lib\gcc_dll连到path里了,可以了。

strip? 怎么用? make -f -strip makefile.gcc?
by cean
Sat Nov 13, 2010 4:54 am
Forum: wxWidgets Development (Chinese)
Topic: 求助:config里各项的含义是什么呀?
Replies: 6
Views: 4101


# What type of library to build? [0,1]
SHARED ?= 1

又编译了一遍,编译的时间比以前长多了。在c:\wxWidgets-2.9.1\build\msw里多了一个gcc_mswudll的目录,294m.

又编译了一下c:\wxWidgets-2.9.1\samples\minimal, 这
次在c:\wxWidgets-2.9.1\samples\minimal\gcc_mswudll里的minimal.exe只有4。2兆了,大小还行。可是运行时说找不到dll,要怎么设路径呀?
,
by cean
Fri Nov 12, 2010 5:15 am
Forum: wxWidgets Development (Chinese)
Topic: 求助:config里各项的含义是什么呀?
Replies: 6
Views: 4101

求助:config里各项的含义是什么呀?

我想编译dll的,变那项? config.gcc在c:\wxWidgets-2.9.1\build\msw 部分内容如下: # Compiler flags to link shared library LINK_DLL_FLAGS ?= -shared # Compiler flags to link loadable module LINK_MODULE_FLAGS ?= -shared # C compiler CC = gcc # C++ compiler CXX = g++ # Standard flags for CC CFLAGS ?= # Standard flags for ...
by cean
Sun Nov 07, 2010 2:45 am
Forum: wxWidgets Development (Chinese)
Topic: 2.9.1怎么这么巨大
Replies: 20
Views: 11573

c:\wxWidgets-2.9.1\samples\minimal\gcc_mswud\minimal.exe 60M

把c:\wxWidgets-2.9.1\build\msw\config.gcc变了变,如下:
BUILD ?= release
又重新编译了一次wxWidgets,

现在c:\wxWidgets-2.9.1\samples\minimal\gcc_mswu\minimal.exe 11M

还是大。

要编译成dll的,config.gcc变哪项?
by cean
Sat Nov 06, 2010 1:44 am
Forum: wxWidgets Development (Chinese)
Topic: 2.9.1怎么这么巨大
Replies: 20
Views: 11573

我是用equation gcc 4.5 编的

gcc-lib库202M

看来要编个release版的。
by cean
Sat Nov 06, 2010 1:26 am
Forum: wxWidgets Development (Chinese)
Topic: 新手Equation Solution gcc 4.5+wxWidgets2.9.1+c::b10.05
Replies: 1
Views: 1797

新手Equation Solution gcc 4.5+wxWidgets2.9.1+c::b10.05

wxWidgets是自己用缺省config.gcc make的,好像是debug版,

编出一个exe 50多兆,好大。

gcc是这里的http://www.equation.com/servlet/equation.cmd?call=fortran