首页
社区
课程
招聘
= =! 再次在linux下make出现的错误
发表于: 2010-10-5 13:58 3550

= =! 再次在linux下make出现的错误

2010-10-5 13:58
3550
[root@lab onscripter-20101003]# make -f Makefile.WinCE
arm-cegcc-g++ -finput-charset=cp932 -fexec-charset=cp932 -o onscripter.exe onscripter.o DirectReader.o SarReader.o NsaReader.o sjis2utf16.o ScriptHandler.o ScriptParser.o ScriptParser_command.o ONScripterLabel.o ONScripterLabel_animation.o ONScripterLabel_command.o ONScripterLabel_effect.o ONScripterLabel_effect_breakup.o ONScripterLabel_event.o ONScripterLabel_file.o ONScripterLabel_file2.o ONScripterLabel_image.o ONScripterLabel_rmenu.o ONScripterLabel_sound.o ONScripterLabel_text.o AnimationInfo.o FontInfo.o DirtyRect.o resize_image.o  -static `/usr/local/cegcc/arm-cegcc/bin/sdl-config --libs` -lSDL_ttf -lSDL_image -lSDL_mixer -lSDL -lmad -lfreetype -ljpeg -lpng -lz -lbz2 -luser32
/usr/local/cegcc/bin/../lib/gcc/arm-cegcc/4.4.0/../../../../arm-cegcc/bin/ld: cannot find -luser32
collect2: ld returned 1 exit status
make: *** [onscripter.exe] 错误 1

user32 到底是什么东西 = =! 搜索也找不到 少了什么库么?

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 2109
活跃值: (11)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
user32.dll => coredll.dll

406K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6h3c8G2j5$3W2F1i4K6u0W2j5$3!0E0i4K6u0r3M7q4)9J5k6o6p5I4z5o6p5H3y4K6S2Q4x3X3g2Z5N6r3#2D9
Windows CE的架构也与台式机不同。在台式机中,您可以找到三款核心操作系统组件:Kernel32、GDI32和 User32。
而Windows CE则不存在这些组件,具有相同功能的组件包括Coredll (kernel32)和GWES,Graphics Windowing以及Event Subsystem(相当于GDI32与 User32 的组合)

252K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4c8J5j5h3y4Q4x3X3g2%4P5s2N6A6k6r3N6W2N6s2y4Q4x3X3g2G2M7X3N6Q4x3V1k6@1K9h3y4C8k6i4c8Q4x3V1j5I4x3o6p5^5z5b7`.`.
In these 2 files:

(WXHOME)\src\msw\display.cpp
(WXHOME)\src\msw\toplevel.cpp

user32.dll is used 5 time in this statement:

wxDynamicLibrary dllUser32(_T("user32.dll"));

this is wrong because user32.dll doesn't exist.
Changing it in:

wxDynamicLibrary dllCoredll(_T("coredll.dll"));

it is correct.
The display sample run without problems after that change.
2010-10-5 15:23
0
游客
登录 | 注册 方可回帖
返回