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

Building without GUI #18

Open
risc26z opened this issue Jan 31, 2024 · 5 comments
Open

Building without GUI #18

risc26z opened this issue Jan 31, 2024 · 5 comments

Comments

@risc26z
Copy link

risc26z commented Jan 31, 2024

Hello, I'm wondering whether it's possible to build WRSpice without a GUI? I realise that the GTK, etc, libraries are required per the build instructions. However, I noticed that there is an ASCII plot facility in the source code, and wondered whether it might be feasible? I'm interested in doing some optimisation on a SPICE engine, and I'd much prefer to work on C++ code without pulling in vast dependencies.
Thanks, Jacob

@wrcad
Copy link
Owner

wrcad commented Feb 3, 2024 via email

@risc26z
Copy link
Author

risc26z commented Feb 3, 2024

Thanks Steve, I'll look forward to that. I did have a look at the build system, but felt it was best to ask someone who has already worked with it. I'm more familiar with CMake.

BTW, I've got to express my admiration for you having put in the huge effort to port the code to C++. (I'm familiar enough with the SPICE code to get nightmares, so I do appreciate the scale :-))
Best wishes,
Jacob

@risc26z
Copy link
Author

risc26z commented Feb 3, 2024

One more suggestion: if you'd be willing to do so, it'd be great to split out at least wrspice and its unavoidable dependencies into separate git submodules. I'm currently experimenting to see what those dependencies actually are, if one is willing to sacrifice the help and all plot-related commands. (This is all in a messy cmake project full of ugly bodges in order to try to get it to at least build.)

@wrcad
Copy link
Owner

wrcad commented Feb 19, 2024

The tree now builds without a GUI toolkit specified. The parts of WRspice and Xic that are not GUI-dependent should work, but I haven't done much checking so far.

@kpobrien
Copy link

Hi Steve, thanks for making this change! I've tested out WRspice compiled without a GUI and it works well. I'm trying to get the no GUI XicTools packaged for Julia and they prefer to package releases not commits, so I was wondering if you could tag a new release that includes this feature. Thanks for considering this request. Regards, Kevin

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

3 participants