用vc编译gettext
来源:互联网 发布:war3 mac 版本转换器 编辑:程序博客网 时间:2024/06/01 13:04
原文地址: https://github.com/kahrl/gettext-msvc
编译通不过在config.h修改配置。
Visual Studio 2013 solution for gettext-0.19.4 and libiconv-1.14
================================================================
This lets you build libintl (from gettext) and libiconv with Visual Studio 2013.
(These two libraries are just enough to build Minetest with gettext support.)
Notes:
- This repository contains neither any precompiled binaries nor the full
source code of gettext & libiconv. See below for where to get
the source code and how to build it.
- Output will be: libintl.dll, libintl.lib, libiconv.dll, libiconv.lib.
- None of the utilities (such as xgettext) will be built.
- This has only been tested with Visual Studio Express 2013.
- 32 bit and 64 bit builds are both supported.
Instructions
============
1. Clone this repository or extract a zipped version of it somewhere.
2. Download gettext-0.19.4.tar.gz from
http://ftp.gnu.org/gnu/gettext/gettext-0.19.4.tar.gz
and libiconv-1.14.tar.gz from
http://ftp.gnu.org/gnu/libiconv/libiconv-1.14.tar.gz
3. Extract them both into the gettext-msvc directory.
You can use 7-Zip (http://www.7-zip.org/) to extract .tar.gz archives.
The directory structure should then look like this:
gettext-msvc
|-- gettext.sln
|-- gettext-0.19.4
| |-- libintl.vcxproj
| |-- config.h
| |-- libgnuintl.h
| |-- gettext-runtime
| | |-- intl
| | | `-- (lots of source files)
| | `-- (and more...)
| `-- (and more...)
`-- libiconv-1.14
|-- libiconv.vcxproj
|-- config.h
|-- iconv.h
|-- localcharset.h
|-- src
| |-- iconv.c
| `-- (and more...)
`-- (and more...)
4. Open gettext.sln in Visual Studio 2013.
5. Select a configuration (Release or Debug) and a platform (Win32 or x64)
and click BUILD -> Build Solution.
Once this is done, the .dll and .lib files are in one of the following
directories (depending on the chosen configuration and platform):
gettext-msvc/Release-Win32
gettext-msvc/Release-x64
gettext-msvc/Debug-Win32
gettext-msvc/Debug-x64
Acknowledgements
================
A lot of this is based on the solution files provided at
https://github.com/winlibs/gettext
https://github.com/winlibs/libiconv
- 用vc编译gettext
- gettext编译不过的问题
- GetText
- 编译VLC时碰到的gettext问题
- 用VC++编译mysql
- 用gettext快速实现国际化 PyGTK,glade
- getText()和getText().toString()
- 用php gettext库来开发多语言系统
- android里.getText().tostring()怎么用
- 用VC++ 6.0来编译WDM驱动
- 用VC++ 6.0来编译WDM驱动
- [强]用VC++6.0编译调试汇编程序
- 用VC++6.0编译调试汇编程序
- Windows下用VC编译Lua
- 用VC2005编译非VC工程
- 用VC++6.0编译调试汇编程序
- 用Sublime Text2搭建VC编译环境
- 在Win32上用VC编译nginx
- 简析全双工与半双工的区别
- delphi2007+win10 "c:\Windows\Microsft.NET...\Borland.Delphi.Targets" was not found
- 结构体字节对齐,pragma pack,__attribute__(packed)
- 原生js轮播图
- 使用MD中控件实现APP页面折叠
- 用vc编译gettext
- js图片轮播2
- php if与switch区别
- java 企业网站源码模版 屏幕自适应 有前后台 springmvc SSM 生成静态化
- 几种不同程序语言的HMM版本
- IDEA配置
- Linux 上的基础网络设备详解
- 【转载】【php】数字转对应汉字
- 移动端滚动加载-----jQuery 和 原生JS