happykevins / cocos2dx-ext

Extensions for Cocos2dx: Dynamic Font Management, HTML Widget, Powerful Asset Management...
107 stars 82 forks source link

how to compile it in windows? #2

Open cmzx3444 opened 10 years ago

cmzx3444 commented 10 years ago

i don't found the < ft2build.h> head file in cocos2d-x's third_party directory,but i see your picture show is on windows.,my cocos2d-x version is 2.2.1

happykevins commented 10 years ago

you should download freetype2 library, add to your search path, then compile it and link with your program.

2013/11/24 lrc notifications@github.com

i don't found the < ft2build.h> head file in cocos2d-x's third_party directory£¬but i see your picture show is on windows.

¡ª Reply to this email directly or view it on GitHubhttps://github.com/happykevins/cocos2dx-ext/issues/2 .

happykevins commented 10 years ago

i have pushed the ft2 deps into github.

2013/11/27 Kevin happykevins@gmail.com

you should download freetype2 library, add to your search path, then compile it and link with your program.

2013/11/24 lrc notifications@github.com

i don't found the < ft2build.h> head file in cocos2d-x's third_party directory£¬but i see your picture show is on windows.

¡ª Reply to this email directly or view it on GitHubhttps://github.com/happykevins/cocos2dx-ext/issues/2 .

funlove9 commented 10 years ago

错误 1 error LNK2019: 无法解析的外部符号 "public: void thiscall dfont::FontFactory::dump_textures(void)" (?dump_textures@FontFactory@dfont@@QAEXXZ),该符号在函数 "public: virtual bool thiscall HTMLTest::init(void)" (?init@HTMLTest@@UAE_NXZ) 中被引用 E:\cocos2d-x-2.2.1\samples\Cpp\HTMLTest\proj.win32\HTMLTest.obj

who can i compile in windows?

happykevins commented 10 years ago

"dump_textures" is a debug function, you can remove it from the test project :-)

2013/12/18 funlove9 notifications@github.com

错误 1 error LNK2019: 无法解析的外部符号 "public: void thiscall dfont::FontFactory::dump_textures(void)" (?dump_textures@FontFactory @dfont@@QAEXXZ),该符号在函数 "public: virtual bool thiscall HTMLTest::init(void)" (?init@HTMLTest@@UAE_NXZ) 中被引用 E:\cocos2d-x-2.2.1\samples\Cpp\HTMLTest\proj.win32\HTMLTest.obj

who can i compile in windows?

— Reply to this email directly or view it on GitHubhttps://github.com/happykevins/cocos2dx-ext/issues/2#issuecomment-30827161 .