- Posts: 28
VM dedicated to compiling Deviation
- Rand__
- Offline
ok, then i did misunderstand the part about the icons - i thought i had read that those where embedded in the library but that probably where the toggle icons then; as i said the actual model icons are working:)
So if the current nightly utilizes the windescren layout too i will stay with that for now and recreate a usefull interface from scratch - or maybe i find a usable config to begin with somewhere in the forum.
Thanks a lot for your help and
@sbstnp - Yes an updated vm would be nice, preferably with an autoupdate option like yum or apt (which i believe ubuntu has)
Please Log in or Create an account to join the conversation.
- WheresWaldo
- Offline
- Posts: 253
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
Windows: make TARGET=emu_devoXX WINDOWS=1 (creates .exe)
Please Log in or Create an account to join the conversation.
- WheresWaldo
- Offline
- Posts: 253
rbe2012 wrote: Linux: make TARGET=emu_devoXX (XX = 10, 6, 8, 12) (creates .elf)
Windows: make TARGET=emu_devoXX WINDOWS=1 (creates .exe)
OK, figured out I needed to be in the ~/deviation/src subdirectory to issue the make command but I get the following error on compilation:
target/common_emu/sound.c:54:23: fatal error: portaudio.h: No such file or directory compilation terminated.
make: **** [objs/emu_devo10-w32/sound.o] Error 1
The header file is not in that directory, does it exist somewhere else?
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
You have to install portaudio if you try to compile for Windows.
Please Log in or Create an account to join the conversation.
- WheresWaldo
- Offline
- Posts: 253
Please Log in or Create an account to join the conversation.
- richardclli
- Offline
- Posts: 199
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
richardclli wrote: Can the VM be used to build the emulator? I am trying out the latest beta 3.1.0-beta8 and hope I can build the emulator to have a try first.
Only the Linux version. I never got to work on cross compiling he emu, sorry.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- WheresWaldo
- Offline
- Posts: 253
Please Log in or Create an account to join the conversation.
- linuxworks
- Offline
- Posts: 10
I downloaded and installed the ova file. I'm using virtualbox (latest) on win7.
deviation self-update is failing. I'm assuming the repo is different, now?
TIA,
/bryan
my tech photostream: www.flickr.com/photos/linux-works/
Please Log in or Create an account to join the conversation.
- mwm
- Offline
I've got a docker container that sorta-kinda works. Well, two. See hub.docker.com/u/mwmeyer/ for them. They both have the same issue: they use the latest version of gcc-arm-embedded, which fails to build 7E firmware since the resulting binary is to big.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- linuxworks
- Offline
- Posts: 10
my target is the 7e and so I need something that works for that. good to know that this vm is out of date, so I won't waste time on it.
what's my best solution for the 7e, then? I'm using 4.0.1 builds and I'd like to start to hack the builds myself. maybe someday even try to decode and implement a protocol. but first things first, I need a build environment.
I can do native linux admin well enough; but I figured for sanity reasons, a common VM would be the easiest for people to support. maybe that's not the case (?)
thx
/bryan
my tech photostream: www.flickr.com/photos/linux-works/
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Please Log in or Create an account to join the conversation.
- mwm
- Offline
The other option is to use the cygwin version on a windows platform to build it.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- linuxworks
- Offline
- Posts: 10
if I need to go back to an older linux distro, that's fine. I think a VM is the right thing to do, though, rather than bare metal. and of course, it lets windows people do builds.
if I can avoid windows, though (even cygwin) I'll do it. I've been doing linux work since about 1995 so I'm quite capable on the linux side of things. but I am new to ARM and the toolchain, so I might need to know what the magic versions of the various tools are, as well as some way to verify that the resultant builds are clean. once I can get the tools all setup, I'll be happy to document what I find.
on my own 7e, I removed the walkera rf module and its annoying me that I have to press OK every power-on to dismiss the error dialog that's one reason I want a custom build. and if I comment out all of the walkera cyrf (?) module stuff, I may have more room left for my own playing around.
my tech photostream: www.flickr.com/photos/linux-works/
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
make48 ()
{
make CROSS=/usr/local/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi- $*
}
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
But, if enough interest arise I will do checkup and update on the VM.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- mwm
- Offline
The docker container is really intended for use in things like a web app for doing builds, CI, and such like. Personally, I think it's a bit easier to use than a vm for local builds, but neither is as good as a proper local builds environment.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- linuxworks
- Offline
- Posts: 10
my tech photostream: www.flickr.com/photos/linux-works/
Please Log in or Create an account to join the conversation.
- mwm
- Offline
The second docker image - deviaitonPlus - provides all the tools to build the windows emulator, a Linux emulator, and the manuals. The docker files provide the list of commands to run on ubuntu to install all the bits that needs.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.