青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

隨筆 - 505  文章 - 1034  trackbacks - 0
<2012年6月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567


子曾經曰過:編程無他,唯手熟爾!

常用鏈接

留言簿(94)

隨筆分類(649)

隨筆檔案(505)

相冊

BCB

Crytek

  • crymod
  • Crytek's Offical Modding Portal

Game Industry

OGRE

other

Programmers

Qt

WOW Stuff

搜索

  •  

積分與排名

  • 積分 - 921905
  • 排名 - 14

最新隨筆

最新評論

閱讀排行榜

評論排行榜


要看原版的點鏈接

Compiling Tolua++ without SCons

I wanted to post this on the tolua++ site but they dont have a wiki.

The tolua++ INSTALL file lets you figure out how to compile it without SCons. Its easy enough, but I wanted to save the people the 5 ( err... 15 ) minutes they need to figure this out.



Using Visual Studio 2003

DLL

Open the "File->New Project" menu. From the project types listbox, select "Visual C++ Projects->Win32". From the Templates listbox, select "Win32 project". For a project name, type in "tolua++".

When the wizard opens, select "Application Settings" on the right hand side. Choose "DLL" and click 'Finish'.

In the Solution Explorer right click on "source files" and select "Add->Existing Item". Browse to the location of the tolua++\src\lib directory. Highlight all .c and .h files and add them to the project. You may also optionally want to add the tolua++.h file from the include directory into the "header files" folder.

Right click on the tolua++ project in the Solution Explorer and select "Properties".

Under the "C/C++ -> General" section select the "Additional include directories" option. Navigate to the location of your Lua include files.

Under the "C/C++ -> Preprocessor" section add the following: TOLUA_API=extern __declspec(dllexport) Under the "C/C++ -> Precompiled headers" section, turn off precompiled headers. Under the "Linker -> General" section select the "additional library directories" option and navigate to the location of your Lua .lib library files. Under the "Linker -> Input" section add lua.lib and lualib.lib (assuming those are your lua libraries).

Compiling the project should result in a tolua++.dll.

EXE

To create tolua++.exe, open the "File->New Project" menu, select Visual C++-> Win32 -> Win32 console project. Add the files tolua.c and toluabind.c to the project.

You will need to add all of the relevant lua include and library directories to this project. The process is the same as above. Under the "C/C++ -> Preprocessor" section, add: TOLUA_API=extern __declspec(dllimport), ... etc ...

Note that for v1.0.92【重劍注:俺就用的這個版本, I had to remove the TOLUA_API that appears in toluabind.c:

int TOLUA_API tolua_tolua_open (lua_State* tolua_S)
becomes
int tolua_tolua_open (lua_State* tolua_S)

Using Visual Studio 2005

The same comments as above (for vs2003) generally apply, although some minor tweaks need to be made.

Note that, due to VS' poor c99 support, 'toluabind.c' in the "EXE" build will not compile. There are many lines that look like:

 int top; top = lua_gettop(tolua_S); static unsigned char B[] = {  

 

These need to be changed to:

 int top = lua_gettop(tolua_S); static unsigned char B[] = {  

or similar.

Tested with vs2005 (no service packs) and tolua++ 1.0.91.

posted on 2008-11-06 11:00 七星重劍 閱讀(1113) 評論(0)  編輯 收藏 引用 所屬分類: PL--c/c++PL--LuaC++ lib -- CEGUI
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            亚洲视频日本| 日韩亚洲在线| 久久国产精品亚洲77777| 欧美日韩视频免费播放| 亚洲黄色大片| 久久久水蜜桃av免费网站| 免费人成网站在线观看欧美高清| 国内综合精品午夜久久资源| 乱中年女人伦av一区二区| 欧美激情在线免费观看| 亚洲免费观看| 国产模特精品视频久久久久| 久久午夜精品一区二区| 亚洲美女中文字幕| 亚洲午夜免费视频| 亚洲国产欧美一区二区三区同亚洲 | 国产精品国产三级国产普通话三级 | 久久婷婷丁香| 一区二区三区 在线观看视| 小处雏高清一区二区三区| 欧美大片18| 久久色中文字幕| 亚洲一区二区三区色| 悠悠资源网久久精品| 国产美女扒开尿口久久久| 国产欧美日韩中文字幕在线| 欧美视频在线观看免费| 欧美一区91| 一区二区三区产品免费精品久久75 | 欧美有码在线观看视频| 亚洲精品黄色| 激情久久影院| 国产精品一二三| 欧美日韩高清在线播放| 女同一区二区| 快播亚洲色图| 久久久久91| 久久国产婷婷国产香蕉| 欧美精彩视频一区二区三区| 久久gogo国模啪啪人体图| 亚洲视屏在线播放| 久久久青草婷婷精品综合日韩 | 久久久精品久久久久| 欧美一区二区三区免费视频| 欧美国产一区二区| 午夜欧美大尺度福利影院在线看| 欧美成人免费va影院高清| 欧美好吊妞视频| 欧美高清视频| 国内视频一区| 在线日韩中文| 在线不卡免费欧美| 欧美一区深夜视频| 亚洲一区在线视频| 午夜精品影院在线观看| 欧美日韩亚洲一区二区| 亚洲精品久久久久| 亚洲第一区中文99精品| 亚洲激情在线观看视频免费| 欧美高清视频www夜色资源网| 亚洲欧美高清| 久久久久一本一区二区青青蜜月| 国产精品区一区| 亚洲午夜未删减在线观看| 亚洲激情一区二区| 欧美另类女人| 国产亚洲精品综合一区91| 红杏aⅴ成人免费视频| 久久精品1区| 亚洲日韩视频| 亚洲欧美日韩一区二区三区在线观看| 欧美一区2区三区4区公司二百| 国产精品久久久久久亚洲调教| 免费亚洲电影在线| 久久精品最新地址| 小处雏高清一区二区三区| 美女视频黄 久久| 亚洲国产欧美一区二区三区同亚洲 | 精品福利av| 蜜臀99久久精品久久久久久软件| 久久国产精品久久w女人spa| 好吊一区二区三区| 欧美激情精品久久久久久大尺度| 香蕉精品999视频一区二区| 合欧美一区二区三区| 亚洲国产日韩精品| 国产精品高潮呻吟视频| 久久国产精品72免费观看| 亚洲黄页一区| 欧美视频第二页| 久久精品国产免费观看| 久久一二三区| 中文日韩欧美| 亚洲国产毛片完整版 | 日韩小视频在线观看专区| 欧美色另类天堂2015| 久久精品女人天堂| 欧美成人精品| 久久精品一二三区| 欧美日韩国产片| 久久综合国产精品| 欧美日韩激情网| 久久亚洲精品网站| 欧美日韩国产高清视频| 久久一二三四| 国产精品欧美风情| 亚洲国产一区二区三区在线播 | 国产精品国产三级国产aⅴ9色| 久久一区免费| 国产精品乱子久久久久| 欧美不卡一卡二卡免费版| 亚洲综合色网站| 亚洲激情网址| 久久爱www久久做| 亚洲欧美日韩在线播放| 亚洲美女在线视频| 怡红院精品视频| 亚洲欧美色婷婷| 亚洲视频电影图片偷拍一区| 久久久久久久尹人综合网亚洲| 国产综合婷婷| 亚洲一区免费| 亚洲视频高清| 欧美多人爱爱视频网站| 欧美成人免费在线观看| 另类亚洲自拍| 夜夜精品视频| 国产精品视频自拍| 亚洲精品久久久久| 亚洲七七久久综合桃花剧情介绍| 欧美成年人网| 一区二区在线观看视频在线观看 | 久久久久久久久久久久久女国产乱| 日韩一级大片| 亚洲手机成人高清视频| 9久re热视频在线精品| 亚洲综合视频在线| 亚洲女同在线| 国产精品你懂的在线| 亚洲欧美怡红院| 久久精品欧美| 韩国三级电影一区二区| 久久久久久黄| 欧美国产综合| 一区二区三区日韩在线观看| 欧美日韩不卡视频| 中文国产亚洲喷潮| 欧美一区二区免费观在线| 国产午夜精品久久久| 免费成人激情视频| 在线免费观看一区二区三区| 免费欧美在线视频| 亚洲久久一区二区| 精品二区视频| 男人的天堂亚洲在线| 亚洲高清在线视频| 99亚洲视频| 国产精品影院在线观看| 久久久国际精品| 亚洲国产激情| 亚洲欧美激情诱惑| 国产在线观看一区| 欧美成人精品高清在线播放| 99视频在线观看一区三区| 久久精品视频99| 亚洲国产另类久久久精品极度| 免费观看亚洲视频大全| 日韩视频免费看| 久久免费国产| 在线视频欧美精品| 久久精品一区二区三区四区| 亚洲永久视频| 欧美成人精品一区二区| 一区二区欧美精品| 久久精品91久久香蕉加勒比| 红桃视频一区| 欧美午夜电影网| 欧美国产日韩一二三区| 日韩一区二区精品在线观看| 欧美日韩精品在线视频| 久久精品国产综合精品| 亚洲成人在线视频播放| 欧美成人有码| 亚洲伦理在线免费看| 久久久久久高潮国产精品视| 精品va天堂亚洲国产| 欧美大香线蕉线伊人久久国产精品| 亚洲国产mv| 久久一区二区三区四区五区| 亚洲美女网站| 欧美激情视频在线播放| 久久精品伊人| 在线视频精品一| 欧美国产精品久久| 久久精品日韩一区二区三区| 久久乐国产精品| 免费永久网站黄欧美| 一区二区三区在线观看视频| 欧美黑人在线播放| 午夜在线a亚洲v天堂网2018|