Search found 35 matches

by ChunJiu
Tue Apr 05, 2016 8:38 am
Forum: wxWidgets Development (Chinese)
Topic: wx自带的example用codeblocks怎么打开?
Replies: 3
Views: 4310

Re: wx自带的example用codeblocks怎么打开?

补充第二点:

在编译例程时,需导入第一步编译好的库文件;
by ChunJiu
Tue Apr 05, 2016 8:36 am
Forum: wxWidgets Development (Chinese)
Topic: wx自带的example用codeblocks怎么打开?
Replies: 3
Views: 4310

Re: wx自带的example用codeblocks怎么打开?

wx 自带的例子不是 Code::Blocks 的项目,所以无法打开,但是可以通过编译器直接编译,只需要使用库编译的相同选项即可。

就是说:

1、你先将库编译好,并记住编译使用的选项;

2、进入例程的目录,make 这个例程,并使用同样的选项;

3、如果编译正确,例程目录下就会出现编译好的执行文件,运行它 ...
by ChunJiu
Wed Mar 09, 2016 1:58 pm
Forum: wxWidgets Development (Chinese)
Topic: wxWidgets 3.1.0 解决了 DLL 模式的问题
Replies: 0
Views: 4635

wxWidgets 3.1.0 解决了 DLL 模式的问题

之前的 wxWidgets Ver 3.0.2 在使用 shared 方式时,应用程序在启动时无法启动,CPU 100% 占用。

现在最新发布的 wxWidgets Ver 3.1.0 经测试没有这个问题了。 =D>
by ChunJiu
Wed Feb 10, 2016 6:03 pm
Forum: wxWidgets Development (Chinese)
Topic: 为 Windows 用户打造了开源的 C++ 开发平台 --- EasilyGCC
Replies: 1
Views: 3375

Re: 为 Windows 用户打造了 EasilyGCC C++ 开发平台

请注意,再次感谢!

EasilyGCC 仅仅是那些非常优秀的开源工具的一个大集合,它并不是一个独立的作品。若没有像 wxWidgets、CodeBlocks、TDM-GCC、Boost 等等的伟大作品,则不可能有 EasilyGCC。

为此,非常感谢它们的作者们、以及为此奉献的众多人等。
:D
by ChunJiu
Wed Feb 10, 2016 5:57 pm
Forum: wxWidgets Development (Chinese)
Topic: 为 Windows 用户打造了开源的 C++ 开发平台 --- EasilyGCC
Replies: 1
Views: 3375

为 Windows 用户打造了开源的 C++ 开发平台 --- EasilyGCC

请注意,EasilyGCC 仅仅是那些非常优秀的开源工具的一个大集合,它并不是一个独立的作品。若没有像 wxWidgets、CodeBlocks、TDM-GCC、Boost 等等的伟大作品,则不可能有 EasilyGCC。为此,非常感谢它们的作者们、以及为此奉献的众多人等。 :D EasilyGCC 是一个大包装,为了方便 Windows 用户顺利使用 wxWidgets 库和 gcc 工具,使用了 Code::Blocks (SVN) + TDM-GCC 5.1.0 + wxWidgets 2.8.12 + Boost 1.60 组合成一个完整的 C++ 开发平台,并将它命名为 Easil...
by ChunJiu
Wed Feb 10, 2016 1:39 pm
Forum: wxWidgets Development (Chinese)
Topic: 在 Windows 下,wxWidgets 3.0.x 的动态连接问题比较严重
Replies: 0
Views: 4041

在 Windows 下,wxWidgets 3.0.x 的动态连接问题比较严重

通过 Google 搜索了一下,发现很多人和我遇到同样的问题: 在 Windows 下,静态链接 wxWidgets 的库内容没有太多问题,但如果使用 Shared 模式(DLL文件),则遇到严重的启动问题。 现象为双击生成的应用程序,CPU 会占用 100%(单个核),延迟一段时间之后程序才能启动,启动过后 CPU 占用恢复正常值。 如果 wxWidgets 3.0.x 编译成单一的动态链接库,延迟可能是几秒或十几秒。 如果编译成分离的众多部件 DLL 库,则延迟可能长达几分钟,在此期间 CPU 占用 100%(针对单个核)。 由于 GCC 的库使用 LGPL 授权问题,静态链接库的内容必须...
by ChunJiu
Thu Apr 09, 2015 11:21 am
Forum: wxWidgets Development (Chinese)
Topic: 在ubuntu上获取ip地址,怎么是127.0.1.1
Replies: 2
Views: 3680

Re: 在ubuntu上获取ip地址,怎么是127.0.1.1

检查一下是否使用了代理。
by ChunJiu
Thu Apr 02, 2015 10:38 am
Forum: wxWidgets Development (Chinese)
Topic: wxGrid 设置不可滚动区域
Replies: 1
Views: 2698

Re: wxGrid 设置不可滚动区域

我没用过 wxGrid ,但我想你用两个wxGrid垂直拼起来就可以了。
by ChunJiu
Mon Mar 23, 2015 12:36 pm
Forum: Compiler / Linking / IDE Related
Topic: The wxWidgets 3.0 seems to have problem, or bug?
Replies: 17
Views: 7670

Re: The wxWidgets 3.0 seems to have problem, or bug?

OK, Sam ! Frankly, if I can avoid to spend ten years to learn Chinese, thanks ;D Well, also (forgotten to say), if you place your manifest beside the exe (to keep things easy), take care to remove any eventual existing one inside ; with a resource editor (e.g. http://anolis.codeplex.com/releases/vi...
by ChunJiu
Mon Mar 23, 2015 5:20 am
Forum: wxWidgets Development (Chinese)
Topic: wxXmlDocument loadxml的替代方法
Replies: 7
Views: 5251

Re: wxXmlDocument loadxml的替代方法

我已经转到tinyxml了,我用wxxml 读取了一个有上千行的xml文件,发现只读到100多行的时候就报错了,用Loadxml的时候,发现读入数据一旦超过4096字节的时候,也报错了,不知道为什么,不管了,周末刚刚把项目用tinyxml重写了 我早期在使用 wxXML的时候发现它没有完善,所以就换了 tinyXML。 wxWidgets 在内部使用一个动态内存分配的技术,虽然在资源分配上比较实用,但有个问题就是会丢数据。 它在重置内存块大小时会偶尔丢掉后面几个字节......实际上就是发现内存块满了就将数据截断抛弃,然后分配一个更大的内存块。 所以我现在使用 wxWidgets 组件的时候...
by ChunJiu
Sun Mar 22, 2015 5:17 pm
Forum: Compiler / Linking / IDE Related
Topic: The wxWidgets 3.0 seems to have problem, or bug?
Replies: 17
Views: 7670

Re: The wxWidgets 3.0 seems to have problem, or bug?

As you want, Chun, but this quick test with manifest was not very hard to achieve. Maybe a useful link for reading : http://www.samlogic.net/articles/manifest.htm Whatever be the compiler you'll use, without taking care of a manifest (which can be inside your final executable or beside, a simple XM...
by ChunJiu
Sun Mar 22, 2015 2:41 pm
Forum: wxWidgets Development (Chinese)
Topic: dialog 问题wxsmith
Replies: 1
Views: 2578

Re: dialog 问题wxsmith

最好详细描述你的问题,看不懂你做了什么和想做什么 ...
by ChunJiu
Sun Mar 22, 2015 2:39 pm
Forum: wxWidgets Development (Chinese)
Topic: codeblocks 13.12中的问题
Replies: 3
Views: 14270

Re: codeblocks 13.12中的问题

没看懂你的问题 #-o
by ChunJiu
Sun Mar 22, 2015 2:32 pm
Forum: Compiler / Linking / IDE Related
Topic: The wxWidgets 3.0 seems to have problem, or bug?
Replies: 17
Views: 7670

Re: The wxWidgets 3.0 seems to have problem, or bug?

I meant how it goes if you explicitly embed a manifest in the final executable with mt.exe. A one like this, indicating the arch both for the exe itself and common controls : <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-micr...
by ChunJiu
Fri Mar 20, 2015 8:30 am
Forum: Compiler / Linking / IDE Related
Topic: The wxWidgets 3.0 seems to have problem, or bug?
Replies: 17
Views: 7670

Re: The wxWidgets 3.0 seems to have problem, or bug?

For 32 bits compilation using TDM 64 bits, try this: mingw32-make.exe -j4 -f makefile.gcc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=1 CXXFLAGS="-m32 -std=gnu++11 -fno-keep-inline-dllexport" CPP="gcc -E -D_M_IX86" LDFLAGS="-m32" CPPFLAGS="-m32" WINDRES="...