0

I’m installing SimpleIDE for Parallax Propeller development on Ubuntu 20.04. The git repository is: https://github.com/parallaxinc/SimpleIDE .

I had a problem initially with qmake. The install script was not detecting qmake / Qt5 properly, but I got past that by installing the latest Qt5 and modding the SimpleIDE Linux installer script slightly.

The install script runs for a long time compiling and linking.

Eventually it bails with the following error message:

g++ -Wl,-O1 -o SimpleIDE mainspin.o PortConnectionMonitor.o PropellerID.o editor.o ctags.o mainspinwindow.o cbuildtree.o treemodel.o treeitem.o projecttree.o terminal.o termprefs.o properties.o newproject.o PortListener.o highlighter.o hardware.o help.o console.o asideconfig.o asideboard.o projectoptions.o replacedialog.o aboutdialog.o loader.o qextserialport.o qextserialenumerator.o buildc.o buildspin.o build.o spinhighlighter.o spinparser.o gdb.o highlightc.o hintdialog.o blinker.o buildstatus.o highlightbuild.o directory.o zip.o zipper.o StatusDialog.o workspacedialog.o rescuedialog.o xesp8266port.o qextserialport_unix.o qextserialenumerator_unix.o qrc_resources.o moc_mainspinwindow.o moc_PortConnectionMonitor.o moc_PropellerID.o moc_editor.o moc_ctags.o moc_highlighter.o moc_treemodel.o moc_PortListener.o moc_terminal.o moc_termprefs.o moc_properties.o moc_newproject.o moc_console.o moc_hardware.o moc_help.o moc_projectoptions.o moc_replacedialog.o moc_aboutdialog.o moc_loader.o moc_projecttree.o moc_qextserialenumerator.o moc_buildc.o moc_buildspin.o moc_build.o moc_spinhighlighter.o moc_gdb.o moc_qportcombobox.o moc_hintdialog.o moc_blinker.o moc_zipper.o moc_StatusDialog.o moc_workspacedialog.o moc_rescuedialog.o moc_xesp8266port.o -lz /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Core.so /usr/lib/x86_64-linux-gnu/libGL.so -lpthread
/usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status make: *** [Makefile:400: SimpleIDE] Error 1

The linker is failing somewhere. I checked all the libQt5 .so shared libs listed and they do exist. I’ve looked at other libs and they all seem to be installed.

Can anyone see an obvious problem from the output?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.