I have not been able to get anything built in the IDE. Things seem to compile with out errors, but I can't get them to run in the simulator or on my Gemini. So how do I get started building on the Gemini directly? Is this done through a configure/make script process? Any leads on good documentation for the actual build process?
I installed gcc-4.8.3 and gcc-c++-4.8.3 from jolla from the command line:
pkcon install gcc
pkcon install gcc-c++
It should install the libs needed for you.
You probably also want to install things like make, automake, ...
pkcon install make
pkcon install automake
I installed tIDE (either from openrepos or jolla) as it makes building the rpms easy. You won't have an IDE to run projects created on a PC, however anything that is a standard opensource git/sourceforge/etc project should be fair game. Do the following to compile (appologies if you already know this):
1) download your source from git/sourceforge/etc
2) uncompress into your source directory (eg ~/src)
3) go to the extracted source directory (eg ~/src/ffmpeg/)
4) if there is a configure file, run ./configure
5) if there isn't a config file, but there is an autogen.sh, run it
6) if there are automake files, well you get the idea.
7) install any missing libraries reported by one of the configure methods (remember to install the -devel version) -> repeat 4)
tweak the parameters to the build (do ./configure -h to see a list of options)
When you are ready to compile, run:
make -j 9
which uses 9 concurrent compiles - this speeds up the compile time. You can use make -j 10, but I like to leave one processor free for phone stuff.
Now comes the fun part: fix any bugs that occur during build. When the program compiles, you can run it and see what works/doesn't. Modify parts that don't work till you are happy
To make an RPM, create a tIDE project and modify the qml to your liking. I made a button which calls python code which runs a process (your app). When you are happy, modify the file in the project named <yourproject>.spec to add your own bits (eg copy the executable), and use the pulley menu "Build Project".
Done