Installation XDK 1.1.0 failed
Answer
4/19/15 4:41 PM
Hello,

tried to install XDK 1.1.0:
  • install_XDK-1.0.0-SNAPSHOT-20150401_1339-x86_64.exe
  • install_XDK-1.0.0-SNAPSHOT-20150401_1339-x86.exe
both failed with an error message. Screen-Shot is attached. Log-files are here
  1. https://www.dropbox.com/s/02lkbfobkqpjgui/XDK-Workbench_Install_04_19_2015_14_25_39.log?dl=0
  2. https://www.dropbox.com/s/a6qv1l3pkmuzmo7/XDK-Workbench_Install_04_19_2015_14_33_07.log?dl=0
  3. https://www.dropbox.com/s/97pee1pznvtt9qf/XDK-Workbench_Install_04_19_2015_18_25_34.log?dl=0
Now  I am trying to install XDK 1.0.0

@stefferber
 
0 (0 Votes)
Installation XDK 1.1.0 failed
Answer
4/19/15 5:58 PM as a reply to Stefan Ferber.
Now I found the solution. The installation program needs administration rights. Something most Bosch'ler don't have any more nowadays. Could you please add a warning to the installation program?
0 (0 Votes)
Installation XDK 1.1.0 failed
Answer
4/24/15 11:48 AM as a reply to Stefan Ferber.
Hello stefferber,

Thank you very much for your hint. It will definitly make sense to add a warning, if a user has no administration rights.
I will discuss this topic with our development team.

Regards,
Manuel
0 (0 Votes)
Installation XDK 1.1.0 failed
Answer
4/25/15 8:29 PM as a reply to Manuel Cerny.
Sorry, but I have to add additional issues. Now I spend more than 4h just to get the first compile job done.
  1. The installer does not set the path correctly to gcc and g++. I have added this manually in a batch file. This is something I did in the 1990...
  2. The build process does not support long or spaced directory names. I reveived "permission denied" error messages with cut of paths like this
    "mingw32-make: *** [(x86)/Bosch/XDK-Workbench/SDK/xdk110/make/application.mk.out] Error -1073741515".
    I tried to fix this in the make files with manually replacing the old MS-DOS file names.
    "D:/PROGRA~1/Bosch/XDK-WO~1/SDK/xdk110/make/application.mk"
    But it turned out that there are so many places. So I have to reinstall the XDK again. It looks like that it only is working out if you do not change the install path "C:\XDK-Workbench". This is agains all the Windows rules and good practice...
0 (0 Votes)
Installation XDK 1.1.0 failed
Answer
4/25/15 10:12 PM as a reply to Stefan Ferber.
Sorry, but I have to continue here.
The required Administrator rights drive my crazy.... 
I am using a console (cmd.exe) running the XDK as an Administorator while I am logged in as a normal user in windows. In this setting I do not get the connectivity with rxtx java lib worked out. The Workbench does not connect to the sensor and gives me the following error messages (see first screenshots).
I tried to set the %JAVA_CLASSPATH%, did not work. I copied the XDK java+dll files to my %JAVA_HOME%/lib folder. Well, just brings me one step forward with the next error message (second screenshot).

Why is this set-up so out of the standard ways from Eclipse IDE?

 
0 (0 Votes)
Installation XDK 1.1.0 failed
Answer
4/27/15 4:05 PM as a reply to Stefan Ferber.
Hi,

can you try to uninstall the XDK SDK in a clean way (via system preferences > programs and functions) and then installing the XDK SDK 1.1 with administration prviliges into a folder at the root folder of your hard disk drive (e.g. C:/xdk11/)

Because installing into "Program Files" can create some annoying problems which are very hard to debug. For example the limitation of pathnames in windows is 260 characters.
Hint: you can NOT just copy the xdk_sdk folder to another folder location! Because the installer and eclipse workspace settings will create some relative paths.

best regards
0 (0 Votes)
Installation XDK 1.1.0 failed
Answer
4/28/15 11:11 AM as a reply to Sebastian Bejga.
Yes. I did this. Worked out. But this is an area of improvement ;-)
 
0 (0 Votes)
Installation XDK 1.1.0 failed
Answer
4/28/15 3:19 PM as a reply to Stefan Ferber.
Hello stefferber,


thanks for the feedback. In fact, XDK Workbench does not support to be installed in locations containing spaces. This is documented in the dialog that lets you select the target directory, but can be easily overlooked.

Unfortunately is adding a popup warning there aparently not so easy. Still, we will look into the issue and try to improve here.


Regards

Bastian
0 (0 Votes)
Installation XDK 1.1.0 failed
Answer
5/4/15 7:13 AM as a reply to Wolf-Bastian Pöttner.
Hi stefferber,


based on your suggestion, the installer for XDK Workbench v1.4.0 will contain a warning in case the user tries to install it into a location containing spaces or exceeding the maximum length that is supported for the installation path.

Thank you very much for your help!


Regards

Bastian
0 (0 Votes)