PostFrontal Forum
PostFrontal Forum
LK8000_Support_Forum | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 LK8000 International Support
 Developers
 Recommended Development Environment

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
NorthernLad59 Posted - 05/02/2017 : 20:20:07
I would like to compile and build LK8000. Soon after it was first launched I downloaded the Nimbus VM and successfully built LK8000 - version 5. I then got distracted by life. I just came back to use it, pulled the latest version of the sources and I can no longer build it. I seem to have a range of issues, including not being able to upgrade and run SmartGit to version 7, not essential but would be nice - it doesn't look like JRE 1.8 will install on Wheezy.

Anyway I suspect that Nimbus is not "currently supported" for version 6.0a of LK8000. So I am after recommendations for the most sensible development enviroment to configure.

I am a software developer and run a high spec Macbook Pro (2015), with VMWare installed. Besides Nimbus I run the following VM's:

Ubuntu 12.04.5 (32 bit)
Ubuntu 14.04.1 (64 bit)
Windows 10 Pro (64 bit)
- With Microsoft Visual Studio 2013 (Community Edition)
- with Visual GDB for Linux installed allowing me to cross compile for a Linux target.

I am happy to install and other flavour of Unix if that is recommended.

So should I be using Ubuntu or Debian? 32 bit or 64 bit?
Or is it possible to use Visual Studio and Visual GDB?

Cheers

Richard
15   L A T E S T    R E P L I E S    (Newest First)
brunotl Posted - 08/02/2025 : 13:52:44
quote:
Originally posted by NorthernLad59

FYI, I had to add libfl-dev for it to build the PNA targets using the cross compiler.



you can update github wiki page wiki
NorthernLad59 Posted - 08/02/2025 : 11:00:16
FYI, I had to add libfl-dev for it to build the PNA targets using the cross compiler.
NorthernLad59 Posted - 08/02/2025 : 01:30:04
While checking the version of arm-mingw32ce-gcc I worked out what I was doing wrong. I had 2 instances of Terminal running, one as part of Visual Studio Code, the other a separate window. I'd extended the PATH variable in the separate Terminal window and it only applied within the context of that window. When I repeated the version command in the Visual Studio Code window the compiler wasn't found. Once I executed the command "PATH=$PATH:/opt/arm-mingw32ce/bin" within the Visual Studio Code terminal window it all worked as expected. As I said in my last post "I suspect it's Linux finger trouble ...", clearly I don't understand the scoping of such variables within Linux :-) As the command history is shared between the terminal windows I'm surprised that variable such as PATH aren't. I'll do some Linux background reading. Sorry to have bothered you with this.

"make TARGET=PNA all" is happily building away and I'm off to bed.


brunotl Posted - 08/02/2025 : 00:05:20
can you share the output of $ arm-mingw32ce-gcc -v
NorthernLad59 Posted - 07/02/2025 : 19:01:19
Good progress:

I've setup a Debian 12 VM running under VMWare Workstation Pro 17 hosted by Windows 10.
I followed the instructions in the Wiki to install the necessary toolchain etc.
I tried "Netbeans" but struggled to even connect it to the native C++ compiler.
I then installed "Visual Studio Code" and have successfullt built, run and even debugged a LINUX build.
I'm hoping to target an Oudie 2 so moved onto installing the arm-mingw32ce cross compiler. I believe I have managed this and have used your recommendation to append the appropriate directory to the system PATH. Sadly the build fails but the compiler is on the PATH:

I can run the compiler from terminal in the project main directory:

richard@DebianLK8000:~/Documents/Software_Development/LK8000_STUFF/LK8000$ arm-mingw32ce-gcc
arm-mingw32ce-gcc: fatal error: no input files
compilation terminated.
richard@DebianLK8000:~/Documents/Software_Development/LK8000_STUFF/LK8000$

However when I try to build I get this output:

richard@DebianLK8000:~/Documents/Software_Development/LK8000_STUFF/LK8000$ make TARGET=PNA all
/bin/sh: 1: arm-mingw32ce-gcc: not found
expr: syntax error: unexpected argument ‘80200’
/bin/sh: 1: arm-mingw32ce-gcc: not found
expr: syntax error: unexpected argument ‘90100’
make: arm-mingw32ce-g++: No such file or directory
GCC VERSION :
CPP Bin/PNA/Window/WndMain.o
make: arm-mingw32ce-g++: No such file or directory
make: *** [Makefile:1746: Bin/PNA/Window/WndMain.o] Error 127
richard@DebianLK8000:~/Documents/Software_Development/LK8000_STUFF/LK8000$

I've installed GitKraken Desktop for easier source control, it's a tool I'm familiar with from previous commercial work. I have made no changes to any of the source files, including the makefile. I suspect it's Linux finger trouble or my lack of experience with makefile compilations, I used Visual Studio or it's predecessors for the majority of my working life.

If anyone has any ideas I'd be grateful

Cheers Richard
brunotl Posted - 04/02/2025 : 22:15:57
I use Debian Bookworm / Gnome
NorthernLad59 Posted - 04/02/2025 : 18:34:23
What user interface would you recommend if I go for Debian - I've always used Ubuntu in the past :-)
brunotl Posted - 04/02/2025 : 15:05:53
for android target, you can use Android studio natively on OSX...

for other platform, the simpler is to use Linux VM (debian stable is good choice)

all info to setup toolchain for all platform is available on Github (more or less uptodate, be it's good start point) : https://github.com/LK8000/LK8000/wiki#compilation-environment-setup

PS : if you need help, ask, i will do my best to help you.


NorthernLad59 Posted - 04/02/2025 : 12:50:40
Having mostly retired I'd like to have another go at building LK8000. I would like to able to build targets for Windows CE ( to run on an Oudie 2 ), Android and if possible Windows. Ideally I would like to be able to run a version of the software on the development machine from the development tools. Maybe this isn't how others debug code, in which case I'd prefer to go with what others use.

What would be the current recommended development environment to achieve this?

I still have a decent Intel based Macbook Pro running MacOS with VMWare. It is also setup to dual boot into Windows 10. So I'm happy to setup any Linux VM or use Windows.
brunotl Posted - 08/08/2017 : 11:07:55
problem come from OpenGLES on AVD...

more info : https://developer.android.com/studio/run/emulator-acceleration.html

EDIT : repository contains some hardlink, so on windows, you need to run git with admnistrator privilege.
JWosik Posted - 07/08/2017 : 18:52:32
Hi, as I said "Windows7 in Android Studio" so neither WINER nor Linux - I am able to deploy LK8000 (cloned from github) from Android Studio on Windows 7 to real device but cound't run on emulated one (AVD) - which would be more convenient. I am just asking if this is possible or known not to work - because LK uses NDK for example.
Coolwind Posted - 07/08/2017 : 15:40:22
you mean WINE for Linux?
JWosik Posted - 06/08/2017 : 23:00:19
Hi, I am able to build and run LK8000 in nimbus and on Windows7 in Android Studio deploy it on my Samsung S4 smartphone (I build arm7 variant), but I am not able to run it in emulator - has anyone managed to run it on windows in emulator? If yes then which Build Variant - x86, x86_64, arm7?

BTW In Android Studio I have some problems with processing PNG files by Gradle, but adding

aaptOptions {
        cruncherEnabled = false
    }
into build.gradle solved problem.
brunotl Posted - 08/02/2017 : 11:24:24
quote:
Originally posted by NorthernLad59

This just isn't simple is it. I've abandoned nimbus as I cannot get a graphical interface for GIT to work amongst other issues. I'm using Ubuntu 14.04.1 LTS, I have Netbeans installed and working and can build LINUX versions. However I cannot work out how to get arm-ming32ce installed so I cannot build for my target, an Oudie 2 PNA.

I understand that you must all be getting fed up with me, but it strikes me that nimbus is built on what appears to be an old / unsupported version of Linux and that installing on a newer version isn't trivial. I guess my lack of Linux knowledge isn't helping.

So if anyone else is building on Ubuntu 14.04.1 (64) for Windows CE targets I'd appreciate the help.




to option :

first, follow this: https://github.com/LK8000/LK8000/wiki/Linux

second, use this toolchain: http://max.kellermann.name/download/xcsoar/devel/cegcc/mingw32ce-mk-2013-04-03-amd64.tar.xz

howto install is simple : extract and add bin directory to $PATH.

EDIT : wiki update are welcome...
NorthernLad59 Posted - 08/02/2017 : 10:46:09
This just isn't simple is it. I've abandoned nimbus as I cannot get a graphical interface for GIT to work amongst other issues. I'm using Ubuntu 14.04.1 LTS, I have Netbeans installed and working and can build LINUX versions. However I cannot work out how to get arm-ming32ce installed so I cannot build for my target, an Oudie 2 PNA.

I understand that you must all be getting fed up with me, but it strikes me that nimbus is built on what appears to be an old / unsupported version of Linux and that installing on a newer version isn't trivial. I guess my lack of Linux knowledge isn't helping.

So if anyone else is building on Ubuntu 14.04.1 (64) for Windows CE targets I'd appreciate the help.

PostFrontal Forum © PostFrontal - La community del Volo a Vela Go To Top Of Page
This page was generated in 0.12 seconds. Snitz Forums 2000

Since 2006, owned and maintained by PostFrontal S.A.S. di Giuliano Golfieri & c. - VAT ID: IT05264240960
THIS WEBSITE ONLY USES FUNCTIONAL COOKIES
Privacy & Cookie Policy