- Posts: 59
MinGW DeviationTX build environment
- RugWarrior
- Topic Author
- Offline
MinGW based DeviationTX build environment v1.2 has a nice documentation and there is an installer
It should work for x32 and x64 based Windows systems and was tested on Windows 10 x64 building the latest repo plus emu(s).
It is fast and easy to edit your repo, test and edit language files with the emulator or just build the latest version of a repo before someone else will do it
Everything will be extracted to C:\MinGW (also the toolchain). So it does not matter if you already have a toolchain installed
Use "hg clone bitbucket.org/deviationtx/deviation " as this is the latest repo
MinGW DeviationTX v1.2 on DropBox
MinGW DeviationTX v1.2 on MEGA
You can use TortoiseHg as the source control system
or have a look at the documentation for a native MinGW version.
PS: The installer is about 207MB but will uncompress
to about 853MB when using the offical repo.
As kenkenlau mentioned: If you have a Windows username with spaces in it and get into trouble please create a new user without spaces and run MinGW there.
Please Log in or Create an account to join the conversation.
- coaster
- Offline
- Posts: 50
"hg command not found".
thank you in advance for the response.
cheers
Graziano
Please Log in or Create an account to join the conversation.
- RugWarrior
- Topic Author
- Offline
- Posts: 59
I forgot to mention that you also have to install TortoiseHg for the source control system.
I will enable a pure MinGW version of Mercurial later the day or tomorrow
Thank you for trying it out!
Please Log in or Create an account to join the conversation.
- coaster
- Offline
- Posts: 50
described in the manual.
thank you very much, this build environment is a great help
for "non professionals" like me
happy new year and
cheers
Graziano
Please Log in or Create an account to join the conversation.
- RugWarrior
- Topic Author
- Offline
- Posts: 59
I think the idea from sbstnp with the dedicated VM image is also a nice idea but was a bit oversized for me
I like the tight integration into Windows and the easy way to use different source control systems and similar things.
Now we have two nice platforms for diffent demands and everybody can more easily join the project as translator, developer or just someone who want to have just the latest version available
I also wish you and all the others here a happy new year!
And be careful with the firework
Please Log in or Create an account to join the conversation.
- sbstnp
- Offline
- Posts: 649
RugWarrior wrote: Thank you
I think the idea from sbstnp with the dedicated VM image is also a nice idea but was a bit oversized for me
I like the tight integration into Windows and the easy way to use different source control systems and similar things.
Now we have two nice platforms for diffent demands and everybody can more easily join the project as translator, developer or just someone who want to have just the latest version available
I also wish you and all the others here a happy new year!
And be careful with the firework
Hey, nice work, I'm sure some people will prefer a pure windows dev environment.
My home is Linux, my day job is Linux, I breathe, drink and eat Linux every day since too many years ago, so for me Linux was a natural way of doing things
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- RugWarrior
- Topic Author
- Offline
- Posts: 59
Best of both worlds
It is also always a nice thing to learn new things and possibilities.
I liked to play around with VirtualBox, ArchLinux and had a nice time with Inno Setup script files
So all in all I hope that we can inspire the people a bit and get them to work on this great project. If we can reach this than I am happy!
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
thanks for your work. Now I can compile under Windows without the need of a linux vm.
I expected that the tools PB mentioned on his bitbucket-page (fltk, portaudio) were installed, but they weren't. Would it be hard to integrate them? Without you can not compile the emulators.
Edit: libportaudio-2.dll must be found by Windows (copied it to C:\Windows\System32)
Please Log in or Create an account to join the conversation.
- RugWarrior
- Topic Author
- Offline
- Posts: 59
I set up a clean Windows 7 x64 in a VMware to test it...
I just installed MinGW DeviationTX v1.1, installed the hg tools, made a "hg clone bitbucket.org/PhracturedBlue/deviation ", "cd deviation/src".
Then I made a "make release" and then "make TARGET=emu_devo8 WINDOWS=1" and ran it via "./emu_devo8.exe"...
And for me it is working fine... but you have to set "WINDOWS=1" or it will not work!
Please try again
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
When I tried it in my xp-vm I had to add linker options (-static-libgcc -static-libstdc++) to get rid off error messages from Windows when starting the emulator (but I startet it from the explorer, not from MinGW - that could make the difference).
On my Win7-64 laptop I did not manage to start the emulator because of a missing libportaudio-2.dll - even when I copied it to the system32-dir. regsvr32 told me that it can not be registered...
I try again later after some cleaning.
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
On my laptop the emulators are working when I start them as RugWarrior mentioned with ./emu_dexo8.exe from MinGW. Starting from the Windows Explorer throws an error message.
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
Thank you very much!!
Please Log in or Create an account to join the conversation.
- RugWarrior
- Topic Author
- Offline
- Posts: 59
Please Log in or Create an account to join the conversation.
- kenkenlau
- Offline
- Posts: 35
Is Keil MDK good to be the IDE of Deviation? or MinGW is a must?
If there is a suggested IDE for starter(who have no exp on ARM/Linux) would be nice.
Thanks
Please Log in or Create an account to join the conversation.
- RandMental
- Offline
- Posts: 521
having gone through this a few months ago, I would strongly suggest that you stay with the MinGW based environment. Once you have this up and running you can look at moving to other (Keil) IDE's.
This way you have a forum to assist if you have problems with building.
Start here: www.deviationtx.com/articles/7-development-on-windows
and once you can build the source without errors, try the eclipse IDE.
www.deviationtx.com/articles/15-using-eclipse-with-deviation
Eclipse does have a Keil ARM plugin, however I have not used it.
Please Log in or Create an account to join the conversation.
- ColdFire
- Offline
- Posts: 45
Code::Blocks has decent code completion support. code browsing is very convenient with find declaration/implementation/occurrence ... context menu.
Please Log in or Create an account to join the conversation.
- ColdFire
- Offline
- Posts: 45
ColdFire wrote: I use Code::Blocks IDE to build the EMU (I was making changes to the GUI). once everything looks fine I just use command line to make release the firmware.
Code::Blocks has decent code completion support. code browsing is very convenient with find declaration/implementation/occurrence ... context menu.
Please Log in or Create an account to join the conversation.
- kenkenlau
- Offline
- Posts: 35
I have spent some time with the Mingw and everything seems working fine except the Login username must have no space. (Win XP 32) Otherwise the make will have error.
I simply create another user and reinstall it again then everything is smooth.
Last time typed so many command was in MS-DOS age hope you guys dont mind some stupid questions coming soon.
Please Log in or Create an account to join the conversation.
- RugWarrior
- Topic Author
- Offline
- Posts: 59
Please Log in or Create an account to join the conversation.
- adabman
- Offline
- Posts: 47
I was able to download about 50% of it last night before a power outage. Retried today and now this:
Error (509)
This account's public links are generating too much traffic and have been temporarily disabled!
Deviation 1 TX to rule them all...
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- MinGW DeviationTX build environment