How to instal this archive on OpenSUSE Leap 15.2

Hi!

I am trying to install a PIC16 simulator(GPSIM is not better), but I have problems.

I tried with this:
./configure
make
make install

The file can be downloaded from here:
https://sourceforge.net/projects/picmicrosim/

From year 2005?

Thats why errors are important:

./install
Make microsim …
make: *** Keine Regel vorhanden, um das Ziel „/usr/lib/qt-3.3/mkspecs/default/qmake.conf“,
benötigt von „Makefile“, zu erstellen. Schluss.
Done
Change ownership …
chown: Zugriff auf ‘microsim’ nicht möglich: Datei oder Verzeichnis nicht gefunden
Done
Change permissions …
chmod: Zugriff auf ‘microsim’ nicht möglich: Datei oder Verzeichnis nicht gefunden
Done

But you posted no problems at all. This is the same as as saying: “I went to the bakery to get some bread, but I have problems”. :frowning:

Always post between CODE tags what you do and see. Until now I haven’t met any people here that can read minds or are other wise clairvoyant.

It ain’t an installation – it’s an attempt to port old code to the current C++ compiler and, the Make file was generated by qmake in 2005 …

  • An awful amount of water has flowed under the software development bridge since then …

Welcome to software code maintenance …

Sorry for that, my processor is overloaded and it starts to freeze from time to time.

Error from ./configure:
bash: ./configure: No such file or directory

Error from make:
make: *** No rule to make target ‘/usr/lib/qt-3.3/mkspecs/default/qmake.conf’, needed by ‘Makefile’. Stop.

Error from make install:
make: *** No rule to make target ‘/usr/lib/qt-3.3/mkspecs/default/qmake.conf’, needed by ‘Makefile’. Stop.

I am a trying to build a good environment for developing PIC MCUs and other things.
**
EDIT: Any good PIC sim will do. Not GPSIM as it its not good. Functionally its ok, but the interface is not. I need a way to be able to see which pin changes and what happens.**

Sorry, but that is not the way to show us computer text.

There is an important, but not easy to find feature on the forums.

Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

An example is here: Using CODE tags Around your paste.

So, we want to see the complete thing starting with the line (including the prompt) with the ./configure, until and including the next prompt.

Also, there is no use at all to try to run the make when the ./confgure had errors.

And the error message clearly says there is no ./configure. But better show all as asked above, only then can we see who runs what, what is the working directory and what happens.

Also as notice:
First if you want to install something “the good old way”, read the README or the txt files in the sources:

MicroSim - PIC Microprocessor Simulator on Linux

A basic install script has been written to install microsim.
Once the files have been extracted to the desired directory, use ‘install’
It will make microsim, then change the ownership of the executable to root
and SUID root, so that the program may then be run by a normal user.

And as explained its too old. It will not compile.

I extracted the source to my Projects directory and, pointed KDevelop at it – it doesn’t build …

/home/xxx/Projekte/Leap-15.2/MicroSim/version-1.0/breakpoints.h:496:5: Control may reach end of non-void function -Wreturn-type]

/home/xxx/Projekte/Leap-15.2/MicroSim/version-1.0/instruction.h:17:1: Code ‘classInstruction{’ is invalid C code. Use --std or --language to configure the language.
<html>Code ‘classInstruction{’ is invalid C code. Use --std or --language to configure the language.</html>

Hi
What about https://sourceforge.net/projects/picsim/

Going over to <https://github.com/lcgamboa/picsimlab&gt; it seems that, the PICSimLab folks are Ubuntu oriented – the “picsimlab_build_all_and_install.sh” shell script calls “apt-get -y install git doxygen autoconf gcc g++ make libwxgtk3.0-gtk3-dev … ” …

Hi
Doesn’t matter, easy enough to reconfigure for openSUSE. Need to build the dependency though…