ltentrup / safetysynth Goto Github PK
View Code? Open in Web Editor NEWA symbolic safety game solver written in Swift
A symbolic safety game solver written in Swift
During the compilation of SafetySynth, I have the following issue when trying make test
:
swift test
safetysynth: error: manifest parse error(s):
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/module.modulemap:1:8: error: redefinition of module 'AppleTextureEncoder'
module AppleTextureEncoder [system] [extern_c] {
^
/usr/local/include/module.modulemap:1:8: note: previously defined here
module AppleTextureEncoder [system] [extern_c] {
^
I tried it on macOS Catalina v. 10.15.6.
Most likely, the update to Catalina caused this issue.
Do you have any idea about a workaround?
Hi,
I think that the abc's repository on Mercurial is obsolete, and for that reason it didn't work.
They moved to "https://github.com/berkeley-abc/abc".
I changed the Makefile as follows:
.PHONY: default debug release test tools all clean distclean
default: debug
debug: tools
swift build
release: tools
swift build --configuration release -Xcc -O3 -Xcc -DNDEBUG -Xswiftc -Ounchecked
test:
swift test
clean:
swift package clean
distclean:
swift package reset
rm -rf Tools
tools: Tools/abc
Tools/.f:
mkdir -p Tools
touch Tools/.f
# abc
Tools/abc: Tools/abc-build
mv abc build-abc; cp build-abc/abc .
Tools/abc-build: Tools/abc-git
make -C Tools/abc
Tools/abc-git: Tools/.f
cd Tools ; git clone https://github.com/berkeley-abc/abc
When trying to compile, I find this error:
SafetySynth/Sources/SafetyGameSolver/AigerHelper.swift:2:8: error: no such module 'CAigerHelper'
import CAigerHelper
Hi,
when I ask only for (un)realizability of a circuit, the binary ./SafetySynth works well.
But when I ask also for synthesis it works only if called from the root directory of the project.
Did I make some mistakes during installation or do you have the same problem?
I think the problem is that it cannot resolve the path to the ABC tool.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.