-
Notifications
You must be signed in to change notification settings - Fork 29
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
Running callGraph on mac #1
Comments
Hi, eval 'use GraphViz ()'; To troubleshoot, you could try to get a basic Perl GraphViz example running |
Thanks for the pointer: that helped a lot and I got everything working. Side note: This tool works fantastically well—thank you! Here's the output generated for my project. It's a bit cluttered, but all-encompassing and extremely helpful. ——— Full disclosure: I'm out of my element here—I know nothing about Perl, GraphViz, or how any of these things are supposed to work together on Mac. I basically just followed the error messages and moved files to where the errors told me they should be. Ugly and wrong, yes, but it works for now. Things I tried:
Lastly, to generate the image shown above, I navigated to my project's directory, searched for all .swift files within the directory, selected all of them, typed |
I'm glad you were able to figure it out. You may be able to clean up your image by providing options such as: I've enhanced the callGraph error message to include the "@inc contains" message If anyone else has problems getting Perl GraphViz to work, I suggest creating the Perl GraphViz example program "Graphviz_example.pl" to aid in troubleshooting: use GraphViz; Save this in a text editor and run it using: Once this works, then 'callGraph' should also work |
Hi there,
This is a very useful looking tool, but I'm having trouble running it on mac.
I've run
brew install graphviz
as well assudo cpan install GraphViz
, copied callGraph's executable into/usr/local/Cellar/graphviz/2.48.0/bin
, and called it like so, with the following error:Am I doing something wrong? Is it possible to use callGraph on macOS?
Thanks,
Luke
The text was updated successfully, but these errors were encountered: