Giter VIP home page Giter VIP logo

iconv-for-windows's Introduction

iconv-for-windows

iconv library for Windows (Microsoft Visual Studio Compiler) based on libiconv 1.14

Soltion file is compatible with Visual Studio 2012 only.

With pre-built configurations:

Release Win32
Release Static Win32
Debug Win32
Debug Static Win32
Release x64
Release Static x64
Debug x64
Debug Static x64

It is built in "C:\git\iconv-for-windows"

Remember to use paths like
ICONV_SOURCE, ICONV_SRC or ICONV_PATH = C:\git\iconv-for-windows
and add it to the system/build variables:
INCLUDE = C:\git\iconv-for-windows\include
LIB = C:\git\iconv-for-windows\lib (or C:\git\iconv-for-windows\lib64)

All this code based on this article: http://www.codeproject.com/Articles/302012/How-to-Build-libiconv-with-Microsoft-Visual-Studio
Thank you Youngho, you're great!

iconv-for-windows's People

Contributors

olegchir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

iconv-for-windows's Issues

Property Errors

There are errors in project properties:

Configuration=Debug: Multi-threaded Debug DLL (/MDd) // not Multi-threaded Debug (/MTd) !
Configuration=StaticDebug: Multi-threaded Debug (/MTd) // not Multi-threaded Debug DLL (/MDd) !
Configuration=Release: Multi-threaded DLL (/MD) // not Multi-threaded (/MT) !

config.h not found

Hello Ruski.

Since the official iconv build method suck so hard for Windows/MSVC, I came across your package.
You write:

and add it to the system/build variables:
INCLUDE = C:\git\iconv-for-windows\include

But while building it too? It should at least find it' own files while building itself IMHO.
On the cmd-line in <iconv-for-windows-root>, I did:

msbuild -p:Configuration=Release LibIconv.sln

which errors:

ClCompile:
  f:\gv\VC_2015\bin\CL.exe /c /Zi /nologo /W3 /WX- /O2 /Oi /Oy- /GL /D WIN32 /D NDEBUG 
/D _WINDOWS /D _USRDLL /D BUILDI NG_LIBICONV /D BUILDING_LIBCHARSET /D LIBICONV_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"F:\MingW32\src\libiconv-for-windows\obj\libiconv\Release_Win32\\"
  /Fd"F:\MingW32\src\libiconv-for-windows\obj\libiconv\Release_Win32\vc140.pdb" /Gd /TC /analyze- /errorReport:queue iconv.c localcharset.c relocatable.c iconv.c
iconv.c(25): fatal error C1083: Cannot open include file: 'config.h': No such file or directory 

I tried to fix it in libiconv\libiconv.vcxproj, but failed (*.vcxproj suck equally much as auto-tools...)

EDIT:

This works though:

set INCLUDE=%INCLUDE%;F:\MingW32\src\libiconv-for-windows\include & ^
   msbuild -p:Configuration=Release LibIconv.sln

(realising that msbuild does a cd inside itself. Yuk!).

But I don't like it. As I said, a package should find it's own files w/o setting INCLUDE etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.