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

Question: How to add Kakadu support in Visual Studio 2022? #268

Open
manmeetsingh-sdm opened this issue May 23, 2024 · 1 comment
Open

Comments

@manmeetsingh-sdm
Copy link

Hi

We are using IIPsrv 0.9.9 and planning to upgrade to latest version. We have kakadu license but facing issue in adding kakadu support in latest version of IIPsrv source code using visual studio 2022 IDE.

Can you please tell me how to do the same or provide any reference specific to Windows env & Visual Studio 2022?

Regards
Manmeet

@ruven
Copy link
Owner

ruven commented May 29, 2024

I haven't actually tried this myself, so this may not work 100%, but it should be quite straightforward:

Define HAVE_KAKADU and HAVE_KAKADUMETANODE (if using Kakadu 7A or later) in Visual Studio. Then make sure you add a number of object files generated by the Kakadu build process to the iipsrv build:

jpx.o jp2.o kdu_stripe_decompressor.o

plus a number of others which will depend on your config and version:
ssse3_stripe_transfer.o (if SSE3 enabled)
avx2_stripe_transfer.o (if AVX2 enabled)
kdu_client_window.o (if this exists)
supp_local.o (if this exists)

Then to run iipsrv, make you copy across the Kakadu library dll to the iipsrv runtime folder

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

No branches or pull requests

2 participants