Hy kilrah , bertrant
ubuntu 12.04 32bit all well running
all paket installed for companion and opentx
downloading your latest next from github today
---------------------------------------
compiling of opentx runs well, no error, with different make files
opentx at simu and Taransi is ok,fine
----------------------------------------
But Companion compiling:
lbuild and cmake is all ok
make clean
make
at the end allways the same 2 errors at terminal
.
.
.
.
[ 9%] Built target simulation
[ 35%] Built target modeledit
[ 35%] Building CXX object CMakeFiles/companion.dir/firmwares/opentx/opentxTaranisSimulator.cpp.o
In file included from /home/helle/github_opentx/opentx-next/companion/src/firmwares/opentx/opentxTaranisSimulator.cpp:87:0:
/home/helle/github_opentx/opentx-next/companion/src/../../radio/src/gui/menu_model.cpp: In Funktion »void Open9xX9D::menuModelLimits(uint8_t)«:
/home/helle/github_opentx/opentx-next/companion/src/../../radio/src/gui/menu_model.cpp:3977:45: Anmerkung: #pragma message: could be less restrictive!
In file included from /home/helle/github_opentx/opentx-next/companion/src/firmwares/opentx/opentxTaranisSimulator.cpp:105:0:
/home/helle/github_opentx/opentx-next/companion/src/../../radio/src/templates.cpp: In Funktion »void Open9xX9D::applyTemplate(uint8_t)«:
/home/helle/github_opentx/opentx-next/companion/src/../../radio/src/templates.cpp:187:87: Anmerkung: #pragma message: Templates with virtual inputs (FrSky Taranis) are not implemented!
In file included from /home/helle/github_opentx/opentx-next/companion/src/firmwares/opentx/opentxTaranisSimulator.cpp:121:0:
/home/helle/github_opentx/opentx-next/companion/src/../../radio/src/lua.cpp: In Funktion »int Open9xX9D::luaGetVersion(Open9xX9D::lua_State*)«:
/home/helle/github_opentx/opentx-next/companion/src/../../radio/src/lua.cpp:82:21: Fehler: »VERS_NUM« wurde in diesem Gültigkeitsbereich nicht definiert
make[2]: *** [CMakeFiles/companion.dir/firmwares/opentx/opentxTaranisSimulator.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/companion.dir/all] Fehler 2
make: *** [all] Fehler 2
helle@helle-Latitude-E5500:~/github_opentx/opentx-next/companion/lbuild$
no Idea why
Helle
Compiler error at companion from next at github
Compiler error at companion from next at github
Last edited by Helle on Sun Feb 23, 2014 9:55 am, edited 1 time in total.
Re: Compiler error at companion from next at github
I get the same error when I compile on Windows. I do not get the problem when I compile on Linux.
I asked Bertrand about it two days ago, but I think the question got lost among other problems we were fighting.
It is easy to get around by inserting:
#define VERS_NUM 1
in the file lua.cpp. But naturally it would be best with a real solution.
I asked Bertrand about it two days ago, but I think the question got lost among other problems we were fighting.
It is easy to get around by inserting:
#define VERS_NUM 1
in the file lua.cpp. But naturally it would be best with a real solution.
Re: Compiler error at companion from next at github
Just found this explanation from Kilrah I missed. See the last message for the explanation of the VERS_NUM issue:
https://github.com/opentx/opentx/issues/698
https://github.com/opentx/opentx/issues/698
Re: Compiler error at companion from next at github
hy,
thanks
solutioin was at file radio\src\lua.cpp
set at top of file lua.cpp this define
#define VERS_NUM 1
and all is compiling with no errors
why this not standard?
Helle
thanks
solutioin was at file radio\src\lua.cpp
set at top of file lua.cpp this define
#define VERS_NUM 1
and all is compiling with no errors
why this not standard?
Helle
Re: Compiler error at companion from next at github
Read the post dvogonen linked you to
Sent via mobile
![Smile :)](./images/smilies/icon_e_smile.gif)
Sent via mobile
- MicheleVilla
- Posts: 66
- Joined: Thu Apr 10, 2014 4:13 pm
- Country: -
Re: Compiler error at companion from next at github
Hi
I'm on Lubuntu 13.04 and try to compile Companion from Git without success
Istructions are from wiki on opentx site on github
Compiler give the following error
[ 63%] Building CXX object CMakeFiles/companion.dir/firmwares/opentx/opentxTaranisSimulator.cpp.o
In file included from /home/michele/opentx/companion/src/firmwares/opentx/opentxTaranisSimulator.cpp:88:0:
/home/michele/opentx/companion/src/../../radio/src/gui/menu_general.cpp:40:33: fatal error: ../bitmaps/sticks.lbm: File o directory non esistente
compilation terminated.
make[2]: *** [CMakeFiles/companion.dir/firmwares/opentx/opentxTaranisSimulator.cpp.o] Errore 1
make[1]: *** [CMakeFiles/companion.dir/all] Errore 2
make: *** [all] Errore 2
file lbm are missing
What do you suggest?
I'm on Lubuntu 13.04 and try to compile Companion from Git without success
Istructions are from wiki on opentx site on github
Compiler give the following error
[ 63%] Building CXX object CMakeFiles/companion.dir/firmwares/opentx/opentxTaranisSimulator.cpp.o
In file included from /home/michele/opentx/companion/src/firmwares/opentx/opentxTaranisSimulator.cpp:88:0:
/home/michele/opentx/companion/src/../../radio/src/gui/menu_general.cpp:40:33: fatal error: ../bitmaps/sticks.lbm: File o directory non esistente
compilation terminated.
make[2]: *** [CMakeFiles/companion.dir/firmwares/opentx/opentxTaranisSimulator.cpp.o] Errore 1
make[1]: *** [CMakeFiles/companion.dir/all] Errore 2
make: *** [all] Errore 2
file lbm are missing
What do you suggest?
Re: Compiler error at companion from next at github
See the firmware build guide and install python and PyQT. As the firmware and companion have been merged some operations are now shared.
- MicheleVilla
- Posts: 66
- Joined: Thu Apr 10, 2014 4:13 pm
- Country: -
Re: Compiler error at companion from next at github
Ok now are all ok after pythonQT pakage installation
I think a wiki upgrade is needed
Thank you for precious support
I think a wiki upgrade is needed
Thank you for precious support
Re: Sv: Compiler error at companion from next at github
These are the first lines of text at the top of the wiki page with Linux build instructions for Companion :
"Please note that there are build dependencies from OpenTX Companion to the OpenTX firmware.
This means that the complete OpenTX code base, not just the Companion part, must be available.
It also means that you have to install the OpenTX firmware build chain before you continue."
The last sentence is in bold type face.
I do not know how to modify the wiki page to more clearly say that you need to install the OpenTX build tools before you install the Companion build tools.
"Please note that there are build dependencies from OpenTX Companion to the OpenTX firmware.
This means that the complete OpenTX code base, not just the Companion part, must be available.
It also means that you have to install the OpenTX firmware build chain before you continue."
The last sentence is in bold type face.
I do not know how to modify the wiki page to more clearly say that you need to install the OpenTX build tools before you install the Companion build tools.
- MicheleVilla
- Posts: 66
- Joined: Thu Apr 10, 2014 4:13 pm
- Country: -
Re: Compiler error at companion from next at github
I'm an absolute beginner in Linux OS
forgive Me I dont' understand someting or I say wrong things
I'm on Lubuntu 13.04
I think simply indicate the pyqt4-dev-tools is needed
Thank you
forgive Me I dont' understand someting or I say wrong things
I'm on Lubuntu 13.04
I think simply indicate the pyqt4-dev-tools is needed
Thank you