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

error C2169: 'lrintf': intrinsic function, cannot be defined #1333

Closed
NancyLi1013 opened this issue Mar 11, 2021 · 4 comments
Closed

error C2169: 'lrintf': intrinsic function, cannot be defined #1333

NancyLi1013 opened this issue Mar 11, 2021 · 4 comments
Labels
removed_components Issues that affect MJ2, JPWL or JP3D wontfix

Comments

@NancyLi1013
Copy link

Hi all,

When building openjpeg on Windows with Visual studio 2019 16.9, it failed with the error like this:

D:\2019\test\buildtrees\openjpeg\src\v2.3.1-ea4b63573b.clean\src\lib\openmj2\opj_includes.h(97): error C2169: 'lrintf': intrinsic function, cannot be defined

Could you please help take a look?

Thanks in advance!

Related issue microsoft/vcpkg#16645

@rouault
Copy link
Collaborator

rouault commented Mar 11, 2021

Could you please help take a look?

Only the openjp2 component is really supported. You are on your own with other components such as openmj2. I would suggest vcpkg only to package openjp2

@NancyLi1013
Copy link
Author

Thanks for your information @rouault.

So there is no plan to support other components except for openjp2 , right? If this is true, maybe dropping the support for other components is a good idea.

@emmenlau
Copy link

Dear @rouault , could you consider the related PR #1339 that should fix this issue?

@rouault
Copy link
Collaborator

rouault commented May 6, 2021

Issue no longer relevant since #1350

@rouault rouault closed this as completed May 6, 2021
@rouault rouault added removed_components Issues that affect MJ2, JPWL or JP3D wontfix labels May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
removed_components Issues that affect MJ2, JPWL or JP3D wontfix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants