Skip to content

Fix Windows build of Java and Processing bindings#343

Merged
thp merged 4 commits into
thp:masterfrom
nitsch:fix-java
Dec 29, 2017
Merged

Fix Windows build of Java and Processing bindings#343
thp merged 4 commits into
thp:masterfrom
nitsch:fix-java

Conversation

@nitsch
Copy link
Copy Markdown
Collaborator

@nitsch nitsch commented Dec 27, 2017

Build was broken on Windows using Visual Studio.

The cp command was not understood by the Windows CMD, so this only worked
on Linux and OSX.

CMake's -E copy command does not support wildcards in filenames either, so
the most robust way is to simply call a script for copying on Windows.
The .jar file needs to be created only after SWIG generated the .java
files. This was not working properly.
Windows does not use the "lib" prefix for its libraries by default. Only
MinGW does that.
Copy link
Copy Markdown
Owner

@thp thp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is okay. the batch file solution is not as nice as could be, but it's good for now

@thp thp merged commit 8dd6877 into thp:master Dec 29, 2017
@nitsch nitsch deleted the fix-java branch December 29, 2017 19:59
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

Successfully merging this pull request may close these issues.

2 participants