Closed reillymck closed 3 years ago
Have you tried a sudo make install
of capnproto-java
? That is what our CI is doing: https://github.com/YosysHQ/nextpnr/blob/master/.github/ci/build_interchange.sh#L16
GitHub
nextpnr portable FPGA place and route tool. Contribute to YosysHQ/nextpnr development by creating an account on GitHub.
Thanks! This worked for me.
Hey, so I think I am missing something here. So after running make, I copy schema/capnp/java.capnp to /capnp/java.capnp. However, I get the following error:
capnp.lib.capnp.KjException: ~/RapidWright/interchange/fpga-interchange-schema/interchange/DeviceResources.capnp:15: failed: Import failed: /capnp/java.capnp
I ran
sudo chmod +777 /capnp
andsudo chmod +777 /capnp/java.capnp
and the import still fails. As a temporary solution, I have edited the schema files to readimport ../../schema/capnp/java.capnp
instead, and this works. However, I would like to know how everyone else is structuring their directory since I am obviously missing something here. Thanks.