libucl icon indicating copy to clipboard operation
libucl copied to clipboard

Visual Studio support

Open dkrikun opened this issue 10 years ago • 6 comments

Hi,

I'm trying to build libucl using Visual Studio 2012, and there are numerous errors (even if I try to compile as C++ code). Have anyboy used libucl with Visual Studio?

Thanks!

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7755372-visual-studio-support?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github).

dkrikun avatar Jan 14 '15 13:01 dkrikun

Hello, have you specified c99 standard for your compiler?

vstakhov avatar Jan 14 '15 13:01 vstakhov

To the best if my knowledge Visual Studio does not support c99 till 2013 On Jan 14, 2015 3:57 PM, "Vsevolod Stakhov" [email protected] wrote:

Hello, have you specified c99 standard for your compiler?

— Reply to this email directly or view it on GitHub https://github.com/vstakhov/libucl/issues/59#issuecomment-69918895.

dkrikun avatar Jan 14 '15 14:01 dkrikun

I've checked if Visual Studio 2013 can compile libucl, and it looks like it does not, too. Is it possible that libucl could be made portable to compile under Visual Studio (c89 or c++)? Thx

dkrikun avatar Jan 18 '15 17:01 dkrikun

According to: http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-library-support-in-visual-studio-2013.aspx it lacks some important functions like snprintf I would say if you do plan to use libucl on windows, you would better imho use mingw

bapt avatar Jan 18 '15 22:01 bapt

Unfortunately there is an existing codebase that is only buildable in VS. Would be great to see libucl supported on Visual Studio too!

dkrikun avatar Feb 25 '15 16:02 dkrikun

I can reply only the same as for issue #61:

Unfortunately, I have no windows machine available for testing and I'm not very experienced in windows development tools. However, if you have a tested patch I'll be happy to review and include it to libucl.

vstakhov avatar Feb 25 '15 16:02 vstakhov