netgen icon indicating copy to clipboard operation
netgen copied to clipboard

netcmp.c / MatchPins

Open ymei opened this issue 1 year ago • 2 comments

I notice that the definition of MatchPins() in netcmp.c is guarded under #ifdef TCL_NETGEN, but its invocation by spice.c and verilog.c are not. This is causing linking issues on my macOS (symbol not found) if TCL_NETGEN is not defined.

ymei avatar May 09 '24 17:05 ymei

Thank you for pointing this out. The #ifdef TCL_NETGEN statement got moved to the wrong position and this error went unnoticed.

However, if you are not compiling with Tcl support, then you should be, since the non-Tcl version is missing a large amount of functionality.

If you want to ensure that you are compiling the right version under Mac OS, see the instructions at:

http://opencircuitdesign.com/analog_flow/index.html

and specifically

http://opencircuitdesign.com/analog_flow/appendix_3.html

RTimothyEdwards avatar May 09 '24 18:05 RTimothyEdwards

Thank you for pointing this out. The #ifdef TCL_NETGEN statement got moved to the wrong position and this error went unnoticed.

However, if you are not compiling with Tcl support, then you should be, since the non-Tcl version is missing a large amount of functionality.

If you want to ensure that you are compiling the right version under Mac OS, see the instructions at:

http://opencircuitdesign.com/analog_flow/index.html

and specifically

http://opencircuitdesign.com/analog_flow/appendix_3.html

Thanks. Indeed, after figuring out TCL_NETGEN, I realized that I was missing tcl/tk related arguments for configure.

ymei avatar May 09 '24 18:05 ymei