TJF wrote:Did you test the app?
Trying to get it to work. Steps so far:
* Download pavi-master
* Download gir_headers-master
* Put Gir folder into pavi-master/src/bas
* Install libgtk-3-dev (not 3.0) + dependencies
* Install libosmgpsmap-1.0-dev + dependencies
* Try fbc64 -exx -w all "pavi.bas", result:
Code: Select all
pavi.o: In function `PAVI_STARTUP':
pavi.c:(.text+0x473): undefined reference to `GUIDATA::GUIDATA(FBSTRING&, _GApplication*)'
pavi.o: In function `PAVI_SHUTDOWN':
pavi.c:(.text+0x642): undefined reference to `GUIDATA::~GUIDATA()'
pavi.o: In function `PAVI_OPEN':
pavi.c:(.text+0x10b4): undefined reference to `TS_ADD::TS_ADD(char const*)'
pavi.c:(.text+0x11d9): undefined reference to `TS_SELECT'
Compilation failed.
* Install cmake + dependencies (I never worked with cmake before)
* Try: ~/Desktop/pavi-master/src/bas$ cmake CMakeLists.txt, result:
Code: Select all
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:62 (ADD_Fbc_SRC_DEPS):
Unknown CMake command "ADD_Fbc_SRC_DEPS".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.10)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/badidea/Desktop/pavi-master/src/bas/CMakeFiles/CMakeOutput.log".
So, I do not know how to compile this yet.
Possible cause is that my fbc is named fbc64 (and fbc32 for 32 bit). Edit: That wasn't the problem (I think).
* Try form 2 levels up:
Code: Select all
~/Desktop/pavi-master$ cmake CMakeLists.txt
CMake Error at CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
CMake 3.14 or higher is required. You are running version 3.10.2
-- Configuring incomplete, errors occurred!
So, I have to update my system it seems.
When I change 3.14 in pavi-master/CMakeLists.txt to 3.10, I get:
Code: Select all
CMake Error at CMakeLists.txt:24 (PROJECT):
No CMAKE_Fbc_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_Fbc_COMPILER to the full path to the compiler, or to the compiler
name if it is in the PATH.
I have the feeling that I am getting close, but at the same time I have absolutely no idea what I am doing :-)