lcgamboa / picsimlab

PICsimLab - Programmable IC Simulator Laboratory
GNU General Public License v2.0
442 stars 85 forks source link

Can't build for macOS from source #86

Closed Duy-Thanh closed 11 months ago

Duy-Thanh commented 11 months ago

Describe the bug I'm trying to build PicSimLab on macOS Ventura 13.5. I've managed to build lxrad and picsim, and I plan to commit the changes as soon as I successfully build PicSimLab full-featured on macOS. However, there seem to be some problems. I got this error and it confused me. Here is the full error:

Terminal Saved Output.txt

To Reproduce Steps to reproduce the behavior:

  1. Build lxrad and picsim successfully on macOS (with some modifications)
  2. Trying build picsimlab will cause the error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Files If applicable, add a minimal source code together with a PICSimLab workspace (.pzw file) to help reproduce your problem.

Desktop (please complete the following information):

Troubleshooting: The simulation in PICSimLab consists of 3 parts:

When a problem occurs it is important to detect where it is occurring.

One of the most common problems is the error in the microcontroller program. Before creating an issue, test your code on a real circuit (even partially) to make sure the problem is not there.

Errors in the microcontroller simulation can be detected using code debugging. Any instruction execution or peripheral behavior outside the expected should be reported in the project of simulator used (picsim or simavr).

If the problem is not in either of the previous two options, the problem is probably in PICSimLab. A good practice is to send a source code together with a PICSimLab workspace (.pzw file) to open the issue about the problem.