Skip to content

Xcircuit not starting in macos Catalina (version 10.15.7) #12

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

Open
avlsi opened this issue Oct 17, 2021 · 2 comments
Open

Xcircuit not starting in macos Catalina (version 10.15.7) #12

avlsi opened this issue Oct 17, 2021 · 2 comments

Comments

@avlsi
Copy link

avlsi commented Oct 17, 2021

Hi,
I have installed Xcircuit via macports

sudo port install xcircuit
And then tried to open Xcircuit via
xcircuit
I get the following error


application-specific initialization failed: couldn't connect to display "0:0"
Error in startup script: couldn't connect to display "0:0"
while executing
"load /opt/local/lib/libtk8.6.dylib Tk"
("package ifneeded Tk 8.6.11" script)
invoked from within
"package require Tk $tcl_version"
invoked from within
"if {$tcl_version < 8.0} {
return -code error "tkcon requires at least Tcl/Tk8"
} else {
package require Tk $tcl_version
}"
(file "/opt/local/lib/xcircuit-3.9/tkcon.tcl" line 44)

[1] + exit 1 xcircuit

Any help is appreciated?

@RTimothyEdwards
Copy link
Owner

You can check the instructions in https://github.com/RTimothyEdwards/netgen/blob/master/README.md for Mac OS, since the build is mostly the same, and depends on Tcl/Tk. But generally speaking, the "couldn't connect to display 0.0" message means that there is not an X11 server running, which probably just means that you need to be running Xquartz.

@avlsi
Copy link
Author

avlsi commented Oct 26, 2021

Thanks for the Xquartz insight. I am able to open xcircuit after installing Xquartz.

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

2 participants