clab / clab/dynet

Windows swig build fails

Open
#1,427 5 comments 0 reactions 0 assignees View on GitHub
SWIG
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

After the solution dynet.sln gets built, there are still quite a few problems. After issue #1426 gets fixed, the next problem seems to be with this line from CMakeLists.txt.
```
COMMAND zip -j ${CMAKE_CURRENT_BINARY_DIR}/dynet_swigJNI_dylib.jar ${CMAKE_CURRENT_BINARY_DIR}/libdynet_swig.*
```
This will not catch the file dynet_swig.dll. That can be fixed by removing "lib" and perhaps adding Debug/.

That is not the last of the problems, though.

Really, has this been built for Windows in the recent past? Judging from the instructions, see below, see above, it hasn't.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with dynet.sln and the relevant CMakeLists.txt command that packages libdynet_swig.* into dynet_swigJNI_dylib.jar. Review issue #1426 first, then reproduce the Windows build to identify the remaining failures described in the issue. Done means the Windows solution and SWIG packaging complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.