Fullscreen
Loading...
 

System Workbench for STM32 Help

Forums » System Workbench for STM32» Problem Ubuntu 16.04.2

Problem Ubuntu 16.04.2

Hi,

I have made this morning a clean install of Ubuntu 16.04.2 and installed System Workbench but it doesn't work as expected. It loads but then is like hanging and it won't even let me compile.

Yesterday it worked perfectly with Ubuntu 16.04.1.

Have anyone else tried with this new Ubuntu realese and a clean install?

I have already tried both 64bits versions avalaible for linux and I get the same result.

Anyone could help me with this?


Hi. I've tried that yesterday on linuxmint 18.1, which is ubuntu 16.04 based. Sadly, it did not work. Eclipse error log showed a lot of dependecy related messages.

I have also tried to "install from Eclipse" method, using version from repos. It did not work also, citing dependency problems (refused to install).

I'm surprised it used to work under Ubuntu 16.04.1 at all. Somewhere on this site it states that only supported version is Ubuntu 14.04, so I gave up and went with it. So far seems to work.

Anyway, i'm very new to stm32, just wanted easy way to start, but as far as I understand there are ways to build, flash and debug without using "System Workbench for stm32" at all.



According to /etc/issue I'm running 16.04.02. I don't recall if I did a clean install or updated an earlier 16.04 release. Ordinarily I just upgrade for point releases (and major releases where possible.)

Java reports as

hbarta@olive:~$ java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
hbarta@olive:~$

I'm running eclipse Neon (Neon.2 Release (4.6.2))

Did you remember to install other dependencies? Thet's where I usually mess up following a new install. There is the need to install some 32 bit libraries IIRC (and you may need to add that architecture.)

Dod you try running Eclipse from the command line to see if it puts out any useful diagnostics?

(Apologies for any typos. The forum S/W seems to have defeated the spell checker built into Chrome.)


HankB, did you install System Workbench from already installed Eclipse?


Hi,

There is a known bug of Eclipse on Ubuntu-16.04 and other recent Linux distributions; please look at this FAQ entry

Bernard (Ac6)



Hi,

I installed the same exact version of Ubuntu in my desktop machine and it worked flawlessly so I tried to do again a clean install of ubuntu with the same thumb drive in my laptop and I got the same problem as before with SW4STM32.

So I tried the solutions in the FAQ shared by Bernard and doing this:

"
Another way to use GTK version 2 instead of 3 is to modify the eclipse.ini file in the System Workbench for STM32 installation, adding__
--launcher.GTK_version
2
__before -showsplash

"

worked for me.



Hello all,
I have exactly this problem, and setting
––launcher.GTK_version
2
in my eclipse.ini, solve it :-)
Thanks
KR
Sirma



Show posts:
 

Newest Forum Posts

  1. Error in final launch sequence by judoka_acl, 12:18
  2. STM32469I mipi read funtion by jimmylee0407, 11:38
  3. multiple definition of g_pfnVectors by mike796, 2017-07-20 15:27
  4. PROGMEM equivalent by bugmenot, 2017-07-20 11:31
  5. multiple definition of g_pfnVectors by judoka_acl, 2017-07-19 10:20
  6. PROGMEM equivalent by straubm, 2017-07-18 18:55
  7. Breakpoint at the wrong line by Andrei from The Great White North, 2017-07-18 18:01
  8. Breakpoint at the wrong line by judoka_acl, 2017-07-18 09:14
  9. Breakpoint at the wrong line by judoka_acl, 2017-07-18 09:01
  10. Breakpoint at the wrong line by tang, 2017-07-17 17:22

Last-Modified Blogs