Instructions to compile on Ubuntu and rotate circuit elements
SPICE netlist visualizer
Status: Beta
Brought to you by:
frm
Hi all,
First, I wanted to provide some usefull information to compile the code on Ubuntu.
The required extra packages (in addition to the standard compilation stuff) are :
- libwxgtk3.0-gtk3-dev
- libboost-all-dev
On ubuntu, this is installed with a simple:
sudo apt install libwxgtk3.0-gtk3-dev libboost-all-dev
Then using make in NetlistViewer/build/linux will build the application.
Second, as mentionned by other users, it took me while to understand how to rotate circuit elements. This is done by left-dragging a component and at the same right clicking.
This can be seen in app.cpp:
void SpiceViewerCanvas::OnMouseUp(wxMouseEvent &event)
{
if (event.LeftUp())
{
m_pDraggedDev = NULL;
Refresh();
}
else if (event.RightUp() && m_pDraggedDev)
{
// rotate the device being dragged
m_pDraggedDev->rotateClockwise();
Refresh();
}
}
hi,
thanks for comment.
Indeed Linux build info were missing... I created some at https://github.com/f18m/netlist-viewer/blob/master/NetlistViewer/build/linux/README.md, which resemble what you wrote in this ticket.
About rotating elements: I opened an issue in the github tracker: https://github.com/f18m/netlist-viewer/issues/5
I'm closing this ticket on the SF platform since I moved the project to GitHub.
Thanks,
Francesco