Search found 50 matches

by kevin_fly
Sat Jun 14, 2008 11:14 am
Forum: wxWidgets Development (Chinese)
Topic: MAC下写的DLL编译出错:error: parse error before 'wxC
Replies: 10
Views: 3467

好的,多谢你的指点和关注:-)
by kevin_fly
Sat Jun 14, 2008 10:53 am
Forum: wxWidgets Development (Chinese)
Topic: MAC下写的DLL编译出错:error: parse error before 'wxC
Replies: 10
Views: 3467

我也是第一次在MAC上写程序,项目需要
用的是XCode编程环境,没用makefile
错误提示中没有什么没定义
我的程序只是简单的导出了一个wx窗口,没做别的事情
不知道你在MAC下用wxWidgets做过动态库没?
非常感谢你的回复:-)
by kevin_fly
Sat Jun 14, 2008 9:00 am
Forum: wxWidgets Development (Chinese)
Topic: MAC下写的DLL编译出错:error: parse error before 'wxC
Replies: 10
Views: 3467

编译器编译到#include <wx/wx.h>就一层层的编译进去,最后到了buffer.h,就提示出错了

我感觉好像是预编译的问题,没有设置好预编译条件或者工程属性,但是对照着例子检查了好多遍,也试着修改了一些地方,都是不行。
by kevin_fly
Sat Jun 14, 2008 8:57 am
Forum: wxWidgets Development (Chinese)
Topic: MAC下写的DLL编译出错:error: parse error before 'wxC
Replies: 10
Views: 3467

code ---------------------------------------------------------- export.h int FunTest(int a, int b); void OpenWnd(); export.cpp #include <wx/wx.h> #define EXPORT __attribute__((visibility("default"))) int EXPORT FunTest(int a, int b) { return a+b; } void EXPORT OpenWnd() { wxFrame* pFrame = new wxFr...
by kevin_fly
Fri Jun 13, 2008 2:07 am
Forum: wxWidgets Development (Chinese)
Topic: MAC下写的DLL编译出错:error: parse error before 'wxC
Replies: 10
Views: 3467

没人回帖。。。
难道是因为汶川地震???
by kevin_fly
Fri Jun 13, 2008 2:05 am
Forum: Compiler / Linking / IDE Related
Topic: compile error
Replies: 4
Views: 795

can you show some code? ---------------------------------------------------------- export.h int FunTest(int a, int b); void OpenWnd(); export.cpp #include <wx/wx.h> #define EXPORT __attribute__((visibility("default"))) int EXPORT FunTest(int a, int b) { return a+b; } void EXPORT OpenWnd() { wxFrame...
by kevin_fly
Thu Jun 12, 2008 3:06 am
Forum: wxWidgets Development (Chinese)
Topic: 人气在哪里????
Replies: 2
Views: 1534

人气在哪里????

大家踊跃发言啊,搞活我们这个论坛
by kevin_fly
Thu Jun 12, 2008 1:31 am
Forum: Compiler / Linking / IDE Related
Topic: is <wx/wxprec.h> always needed?
Replies: 1
Views: 514

no one know???
by kevin_fly
Thu Jun 12, 2008 1:29 am
Forum: Compiler / Linking / IDE Related
Topic: compile error
Replies: 4
Views: 795

compile error

I use wxWidgets to write a simple dll project(only export a UI) in MAC+Xcode, but when I compile the project, many error as below: ../include/wx/buffer.h:96: error: parse error before "wxCharBuffer" ../include/wx/buffer.h:96: error: syntax error before '{' token ../include/wx/buffer.h:96: error: pa...
by kevin_fly
Thu Jun 12, 2008 1:27 am
Forum: wxWidgets Development (Chinese)
Topic: MAC下写的DLL编译出错:error: parse error before 'wxC
Replies: 10
Views: 3467

我写的DLL功能很简单,就是在一个导出函数中显示一个UI
我感觉可能与工程配置有关,但是对照sample中的例子,检查不出问题
请各位大虾给看看,先谢啦
by kevin_fly
Thu Jun 12, 2008 1:01 am
Forum: wxWidgets Development (Chinese)
Topic: =自我介绍=(新人可来这里对自己作自我介绍)
Replies: 146
Views: 180025

本人从事Windows下C++方面的程序开发。最近由于项目需要支持跨平台UI,所以就结识了wxWidgets和这里的朋友。。
by kevin_fly
Wed Jun 11, 2008 9:37 am
Forum: wxWidgets Development (Chinese)
Topic: MAC下写的DLL编译出错:error: parse error before 'wxC
Replies: 10
Views: 3467

MAC下写的DLL编译出错:error: parse error before 'wxC

请高手指点下面错误是因为什么引起的?
../wx/buffer.h:96: error: parse error before "wxCharBuffer"
../wx/buffer.h:96: error: syntax error before '{' token
...
by kevin_fly
Wed Apr 16, 2008 11:31 am
Forum: wxWidgets Development (Chinese)
Topic: 太弱了吧,wxString居然不支持从资源文件读入
Replies: 6
Views: 3063

wxString居然不支持LoadString,从StringTable中读入

这么基本的功能都不支持,多语言支持怎么做啊?
by kevin_fly
Wed Apr 16, 2008 11:28 am
Forum: wxWidgets Development (Chinese)
Topic: 太弱了吧,wxString居然不支持从资源文件读入
Replies: 6
Views: 3063

太弱了吧,wxString居然不支持从资源文件读入

wxString居然不支持Load函数,太失望了。。。
多语言支持怎么做呀?
by kevin_fly
Tue Apr 15, 2008 3:19 am
Forum: wxWidgets Development (Chinese)
Topic: 在wxWidgets中使用STL有什么要注意的吗?
Replies: 7
Views: 3140

如果不能很好的支持STL,那将是wxWidgets的一大缺陷