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

Qt lib check #288

Open
kb2623 opened this issue Feb 27, 2020 · 4 comments
Open

Qt lib check #288

kb2623 opened this issue Feb 27, 2020 · 4 comments

Comments

@kb2623
Copy link

kb2623 commented Feb 27, 2020

I am having problems building SimpleIDE. I build propeller-gcc and Qt 5.4.2 from source, but when I am trying to build the SimpleIDE I get error when I try to run plinrelease.sh script. I suspect that the problem lies somewhere in:

QMAKE=`which qmake`
QT5QMAKE=`echo ${QMAKE} | grep -i 'Qt5'`
grep -i 'Qt5' ${QMAKE}
if test $? != 0 ; then
    echo "The qmake program must be Qt5.4 or higher vintage."
    echo "Please adjust PATH to include a Qt5 build if necessary."
    echo "Please install Qt5.4 from here if you don't have it already:"
    echo "download.qt.io./official_releases/qt/5.4/5.4.2"
    exit 1
fi

For checking qt version a different command should be used. I think that the best command for version check should be qmake -v.

@BMarkley
Copy link

Same problem here.
Linux Mint 20 - 5.4.0-42-generic. QMake version 3.1. Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu

@BMarkley
Copy link

BMarkley commented Aug 10, 2020

I simply deleted this whole section of plinrelease and it got stuck at
'
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make: *** [Makefile:399: SimpleIDE] Error 1
make failed.
'
Fixed this by installing package: zlib1g-dev

Then got stuck at
'
/bin/sh: 1: openspin: not found
make: *** [Makefile:154: /home/brian/Desktop/proploader-linux-build/obj/IP_Loader.h] Error 127
./plinrelease.sh: 211: popd: not found
cp: cannot stat '../proploader-linux-build/bin/proploader': No such file or directory
../proploader-linux-build/bin/proploader is missing. Build it?
'
Which I fixed by running the script as 'sudo bash plinrelease.sh' instead of 'sudo ./plinrelease.sh'

Then got stuck at
'
Creating Version SimpleIDE-1-1-2
bin INSTALL.txt license setup.sh
proploader not found. Adding:
fatal: destination path '../proploader' already exists and is not an empty directory.
/home/brian/Desktop/SimpleIDE-1.1.2 /home/brian/Desktop/SimpleIDE-1.1.2
VERSION v1.0-46 (2020-08-10 08:12:00 gd647776)
cd spin/; openspin -o /home/brian/Desktop/proploader-linux-build/obj/IP_Loader.binary IP_Loader.spin
/bin/sh: 1: openspin: not found
make: *** [Makefile:154: /home/brian/Desktop/proploader-linux-build/obj/IP_Loader.h] Error 127
/home/brian/Desktop/SimpleIDE-1.1.2
cp: cannot stat '../proploader-linux-build/bin/proploader': No such file or directory
../proploader-linux-build/bin/proploader is missing. Build it?
'

@BMarkley
Copy link

BMarkley commented Aug 11, 2020

Now if I copy the proploader directory created by the scripts into the proploader-linux-build/bin directory - also created by the scripts - and run the plinrelease.sh again the scripts reach a done point, but nothing seems to be installed and simpleide command does not work.

This entire installation process seems broken and does not match the documentation at all.

@BMarkley
Copy link

OK... so now I found where it installed it. It compiled everything into a folder named SimpleIDE-1.1.2/SimpleIDE-1-1-2 - where there was a setup.sh script. ran that and finally I can make simpleide open up - but now it has no propeller-elf-gcc compiler, doesn't have the propeller load folder, and no "simple-ide library package" so it's pretty much useless. I can't for the life of me find the compiler in any of the installed files.

Ready to give up. Any help would be appreciated.

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

2 participants