MinGW DeviationTX build environment

More
31 Dec 2012 00:50 - 12 Nov 2015 06:58 #4395 by RugWarrior
MinGW DeviationTX build environment was created by RugWarrior
New version v1.2 released! :woohoo:

MinGW based DeviationTX build environment v1.2 has a nice documentation and there is an installer B)

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 :whistle:

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.
Attachments:
Last edit: 12 Nov 2015 06:58 by RugWarrior.

Please Log in or Create an account to join the conversation.

More
31 Dec 2012 11:11 #4413 by coaster
Replied by coaster on topic MinGW DeviationTX build environment
if i type in the command "hg clone", a system message appears
"hg command not found".

thank you in advance for the response.

cheers
Graziano

Please Log in or Create an account to join the conversation.

More
31 Dec 2012 12:38 - 11 Nov 2015 19:49 #4415 by RugWarrior
Replied by RugWarrior on topic MinGW DeviationTX build environment
Hi coaster.

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!
Last edit: 11 Nov 2015 19:49 by RugWarrior. Reason: Typo

Please Log in or Create an account to join the conversation.

More
31 Dec 2012 12:56 #4418 by coaster
Replied by coaster on topic MinGW DeviationTX build environment
installed the scs and now the build work's as you
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.

More
31 Dec 2012 13:08 #4421 by RugWarrior
Replied by RugWarrior on topic MinGW DeviationTX build environment
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 :lol:

I also wish you and all the others here a happy new year!

And be careful with the firework :woohoo:

Please Log in or Create an account to join the conversation.

More
31 Dec 2012 16:40 #4430 by sbstnp
Replied by sbstnp on topic MinGW DeviationTX build environment

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 :lol:

I also wish you and all the others here a happy new year!

And be careful with the firework :woohoo:


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
Spektrum Dx9
FrSky Taranis + TBS Crossfire

Please Log in or Create an account to join the conversation.

More
31 Dec 2012 17:38 #4436 by RugWarrior
Replied by RugWarrior on topic MinGW DeviationTX build environment
I think more options are always better :)

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 :P

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
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
08 Jan 2013 15:47 - 08 Jan 2013 16:19 #4841 by rbe2012
Replied by rbe2012 on topic MinGW DeviationTX build environment
RugWarrior,
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)
Last edit: 08 Jan 2013 16:19 by rbe2012. Reason: added new knowledge

Please Log in or Create an account to join the conversation.

More
09 Jan 2013 12:23 #4856 by RugWarrior
Replied by RugWarrior on topic MinGW DeviationTX build environment
Hi rbe2012,

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
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
09 Jan 2013 13:32 #4857 by rbe2012
Replied by rbe2012 on topic MinGW DeviationTX build environment
I will try this again, thank you for your test. I have to prepare a clean vm to start...
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
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
10 Jan 2013 14:33 #4898 by rbe2012
Replied by rbe2012 on topic MinGW DeviationTX build environment
I didn't have the time for a fresh vm yet.
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
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
28 Jan 2013 08:50 #5610 by rbe2012
Replied by rbe2012 on topic MinGW DeviationTX build environment
It's some time ago but now I tried it several times on a real XP and in virtual machines and it always worked as a charm.
Thank you very much!!

Please Log in or Create an account to join the conversation.

More
28 Jan 2013 19:22 #5659 by RugWarrior
Replied by RugWarrior on topic MinGW DeviationTX build environment
Thank you!

:)

Please Log in or Create an account to join the conversation.

More
21 Apr 2013 13:16 #9093 by kenkenlau
Replied by kenkenlau on topic MinGW DeviationTX build environment
Sorry for a silly question, I m newbie in ARM dev.

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.

More
21 Apr 2013 14:21 - 21 Apr 2013 14:21 #9096 by RandMental
Replied by RandMental on topic MinGW DeviationTX build environment
Hi kenkenlau,

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.
Last edit: 21 Apr 2013 14:21 by RandMental.

Please Log in or Create an account to join the conversation.

More
21 Apr 2013 16:39 #9097 by ColdFire
Replied by ColdFire on topic MinGW DeviationTX build environment
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.

More
21 Apr 2013 16:44 #9098 by ColdFire
Replied by ColdFire on topic MinGW DeviationTX build environment
Code::Blocks support multiple targets so in theory you can set it up to do exactly the makefile does. it is based on wxWidget and runs very smooth on most of my computers.

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.

More
21 Apr 2013 23:31 - 21 Apr 2013 23:31 #9106 by kenkenlau
Replied by kenkenlau on topic MinGW DeviationTX build environment
Thanks alot.

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 :D hope you guys dont mind some stupid questions coming soon. ;)
Last edit: 21 Apr 2013 23:31 by kenkenlau.

Please Log in or Create an account to join the conversation.

More
22 Apr 2013 00:21 #9108 by RugWarrior
Replied by RugWarrior on topic MinGW DeviationTX build environment
kenkenlau, thank you for pointing this out!

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 01:11 #11176 by adabman
Replied by adabman on topic MinGW DeviationTX build environment
Would like to try this out, but cant download it :(

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.

Time to create page: 0.106 seconds
Powered by Kunena Forum