xinxinlx / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

Compilation error under Visual Studio 2003 #351

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
cmake generator : Visual Studio 2003
Try to compile opj_compress => link error _vsnprintf symbol is not defined

Cause : prior to Visual Studio 2005, msvc does not define vsnprint but _vsnprint

Thhe following patch corrects this issue (from 2.1.0 tag)

Original issue reported on code.google.com by m.darb...@gmail.com on 26 May 2014 at 8:43

Attachments:

GoogleCodeExporter commented 9 years ago
This symbol is used by event.c in src/lib/openjp2

Original comment by m.darb...@gmail.com on 26 May 2014 at 8:47

GoogleCodeExporter commented 9 years ago
Respectfully, who is still using visual studio 2003 ?!

Original comment by boxe...@gmail.com on 5 Jul 2014 at 2:15

GoogleCodeExporter commented 9 years ago
Unfortunately, this is not up to me.

Given the 3 lines patch needed, I think it's not too much of a hassle to get 
support back anyway.

Original comment by m.darb...@gmail.com on 5 Jul 2014 at 8:24

GoogleCodeExporter commented 9 years ago
UPdated patch

Original comment by m.darb...@gmail.com on 8 Dec 2014 at 10:56

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2950.

Original comment by m.darb...@gmail.com on 9 Dec 2014 at 5:45