Coder Social home page Coder Social logo

safetysynth's People

Contributors

ltentrup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

safetysynth's Issues

Troubles during compilation

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?

Troubles with the makefile

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

Error with CAigerHelper

When trying to compile, I find this error:

SafetySynth/Sources/SafetyGameSolver/AigerHelper.swift:2:8: error: no such module 'CAigerHelper'
import CAigerHelper

Synthesis with ABC

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.