Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error under Visual Studio 2003 #351

Closed
gcode-importer opened this issue May 26, 2014 · 5 comments
Closed

Compilation error under Visual Studio 2003 #351

gcode-importer opened this issue May 26, 2014 · 5 comments

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 351

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)

Reported by mayeut on 2014-05-26 08:43:50


- _Attachment: [openjpeg-2.1.0-vsnprintf.patch](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-351/comment-0/openjpeg-2.1.0-vsnprintf.patch)_
@gcode-importer
Copy link
Author

This symbol is used by event.c in src/lib/openjp2

Reported by mayeut on 2014-05-26 08:47:33

@gcode-importer
Copy link
Author

Respectfully, who is still using visual studio 2003 ?!

Reported by boxerab on 2014-07-05 02:15:57

@gcode-importer
Copy link
Author

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.

Reported by mayeut on 2014-07-05 08:24:03

@gcode-importer
Copy link
Author

UPdated patch

Reported by mayeut on 2014-12-08 10:56:28

  • Status changed: Started

- _Attachment: [issue351.patch](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-351/comment-4/issue351.patch)_

@gcode-importer
Copy link
Author

This issue was closed by revision r2950.

Reported by mayeut on 2014-12-09 05:45:00

  • Status changed: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant