我用VC编译的程序里面用VC编译的ruby的lib和头,那我发布的时候直接让用户安装由mingw编译的RubyInstaller会有问题吗?
就是不能发布成msvcr*-ruby啊……那样用gem和库有问题,RubyInstaller的比较方便的说……
RM倒是导出了ruby的api
ordinal hint RVA name
1 0 0011F71C EncDefaultCharEncoding
2 1 00003E00 RGSSAddRTPPath
3 2 00003B70 RGSSAudioFinalize
4 3 00003B10 RGSSAudioInitialize
5 4 00003E10 RGSSClearRTPPath
6 5 00003CE0 RGSSErrorMessage
7 6 00003CC0 RGSSErrorType
8 7 00003C10 RGSSEval
9 8 00003B00 RGSSFinalize
10 9 00003E20 RGSSGC
11 A 00003B90 RGSSGameMain
12 B 00003C30 RGSSGetBool
13 C 00003EC0 RGSSGetDouble
14 D 00003E30 RGSSGetInt
15 E 00003D10 RGSSGetPathWithRTP
16 F 00003DF0 RGSSGetRTPPath
17 10 00003F90 RGSSGetStringACP
18 11 00003F30 RGSSGetStringUTF8
19 12 00003C60 RGSSGetTable
20 13 00003AF0 RGSSInitialize
21 14 000040B0 RGSSSetString
22 15 000041F0 RGSSSetStringACP
23 16 00004150 RGSSSetStringUTF8
24 17 00004320 RGSSSetupRTP
25 18 0011F150 RegDefaultSyntax
26 19 0011F5D8 RegEncodingASCII
27 1A 00121020 RegEncodingEUC_JP
28 1B 00121168 RegEncodingSJIS
29 1C 00120ED8 RegEncodingUTF8
30 1D 0011F140 RegSyntaxRuby
31 1E 00064900 enc_get_left_adjust_char_head
32 1F 00064860 enc_get_prev_char_head
33 20 000647E0 enc_get_right_adjust_char_head
34 21 0006F030 re_alloc_pattern
35 22 00063BC0 regex_end
36 23 00064E30 regex_error_code_to_str
37 24 0005EB10 regex_foreach_name
38 25 00063AB0 regex_free
39 26 00064790 regex_get_encoding
40 27 000647A0 regex_get_options
41 28 000647B0 regex_get_syntax
42 29 0006A900 regex_init
43 2A 0006D450 regex_match
44 2B 0005EBD0 regex_name_to_backref_number
45 2C 0005EB80 regex_name_to_group_numbers
46 2D 0006EF70 regex_new
47 2E 0005EB60 regex_number_of_names
48 2F 0006F050 regex_recompile
49 30 00063CD0 regex_region_clear
50 31 00063F10 regex_region_copy
51 32 00063EC0 regex_region_free
52 33 00063EB0 regex_region_new
53 34 00063D10 regex_region_resize
54 35 0006D920 regex_search
55 36 0005E6D0 regex_set_verb_warn_func
56 37 0005E6C0 regex_set_warn_func
57 38 000647C0 regex_version
58 39 000649B0 ruby_re_adjust_startpos
59 3A 0006EFE0 ruby_re_compile_pattern
60 3B 00064A00 ruby_re_free_pattern
61 3C 000649A0 ruby_re_free_registers
62 3D 0006DF30 ruby_re_match
63 3E 00064A20 ruby_re_mbcinit
64 3F 0006F0B0 ruby_re_recompile_pattern
65 40 0006DF60 ruby_re_search
66 41 00064A10 ruby_re_set_casetable
这个config文件不存在,何解?
装两个Ruby1.9.2怎么分开gem……
另外为什么我的Rm的导出表有100多个东西……
RGE好像没有改什么啊……
yangff 发表于 2011-9-24 01:52
可是Ruby的include里面根本没有include winsock2.h……我也没引用……吧……难道windows.h自带??
RGE也 ...
RGE也没看到提取什么吧……
yangff 发表于 2011-9-24 10:03
http://ondineyuga.com/svn/RGE2/RubyGameEngine2nd/Common/
http://ondineyuga.com/svn/RGE2/RubyGameEn ...
yangff 发表于 2011-9-24 10:28
virtual VALUE GetCObject() const { return *(VALUE*)::GetProcAddress(m_hRubyCore ...
至于RubyDefineV[abc]这三个文件是把RUBY191和Ruby186的常量分开定义的两个文件吧
里面没有什么东西啊
我关注的是它怎么调用Ruby C API [...]我记得是可以直接用h+lib来调用的
58 IntelliSense: more than one instance of overloaded function "FreeAddrInfoExW" has 'C' linkage c:\program files (x86)\microsoft sdks\windows\v7.0a\include\ws2tcpip.h 378 1 诡异……
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |