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

Windows build instructions do not describe how to install and manage Swig #133

Open
nicost opened this issue Nov 29, 2023 · 1 comment
Open

Comments

@nicost
Copy link
Member

nicost commented Nov 29, 2023

The description assumes a working and findable Swig installation ("If you build MMCoreJ, MMCoreJ_wrap.dll will be generated. Additionally, Java source files are generated in build\intermediates\Swig\MMCoreJ. "), but does not describe to install Swig and certinaly not to stay at version 3.0. I am also not quite sure how to tell Visual Studio where Swig is located.

@marktsuchida
Copy link
Member

On Windows, we are currently hard-wired to use the SWIG binaries in 3rdpartypublic. This is probably not such a bad thing, because the latest SWIG (4.x) does not work for MMCoreJ yet.

SWIG is invoked from MMCore.vcxproj. The location probably uses definitions in the property sheet (buildscripts/VisualStudio).

The Ant script for MMCoreJ might also (redundantly, outside of Visual Studio) invoke SWIG -- I'm not sure of the top of my head -- but even if it does, it does not build the C++ part.

So to get a complete MMCoreJ (C++ DLL + Java JAR), you need to run both.

@nicost nicost changed the title Windows build instructions do not describew how to install and manage Swig Windows build instructions do not describe how to install and manage Swig Dec 2, 2024
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