RTimothyEdwards / XCircuit

XCircuit circuit drawing and schematic capture tool
GNU General Public License v2.0
97 stars 25 forks source link

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

Open avlsi opened 2 years ago

avlsi commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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