Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile don't execute on OSX #9

Closed
peterMelco opened this issue Jun 21, 2016 · 5 comments
Closed

Makefile don't execute on OSX #9

peterMelco opened this issue Jun 21, 2016 · 5 comments

Comments

@peterMelco
Copy link

If after cloning rep and running make on Osx
you get:
**make: * No rule to make target vst', needed byjson'. Stop.

The current make file could be replaced with the following on OSx:
**# W3C vehicle data conversions
.PHONY: VERSION

VERSION=$$(cat VERSION)

all:
./tools/vspec2json.py -I ./spec ./spec/Vehicle/Vehicle.vspec > vss_w3c_$(VERSION).json**

@rstreif
Copy link
Contributor

rstreif commented Dec 12, 2016

@peterMelco Unfortunately I do not have access to an OSX system to test on. However, please make your suggested changes and submit a pull request. When submitting a pull request to resolve an issue on another platform please make sure that you also test it on Linux to be sure it did not break anything.

@PeterWinzell
Copy link

I will get back on this as soon as possible - been a while since I looked at this.

@sanbeam
Copy link
Contributor

sanbeam commented Mar 20, 2017

I have tried this on the latest OS X version Sierra 10.12.3.

git clone
sudo pip install pyyaml

make works without any issues.

Here's the log I see.

vehicle_signal_specification sanjeev$ make
rm -f vss_rel_$(cat VERSION).json vss_rel_$(cat VERSION).fidl vss_rel_$(cat VERSION).vsi vss_rel_$(cat VERSION).csv
./tools/vspec2json.py -i:spec/VehicleSignalSpecification.id:1 -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$(cat VERSION).json
./tools/vspec2franca.py -v $(cat VERSION) -i:spec/VehicleSignalSpecification.id:1 -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$(cat VERSION).fidl
./tools/vspec2vsi.py -v $(cat VERSION) -i:spec/VehicleSignalSpecification.id:1 -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$(cat VERSION).vsi
./tools/vspec2csv.py -i:spec/VehicleSignalSpecification.id:1 -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$(cat VERSION).csv

I think we can close this issue. Someone likely fixed it.

@rstreif
Copy link
Contributor

rstreif commented Mar 20, 2017

@iamsanjeev Thanks for testing. Your output looks good. Let's wait for @PeterWinzell to confirm that it is working for him too.

@peterMelco
Copy link
Author

This is since long overdue. Closing this,

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

No branches or pull requests

4 participants