- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Caros colegas, saudações
Instalei o Xdk em meu Ubuntu e funciona bem, sem problemas quando faço a chamada direto pelo terminal, no entanto procurei criar um atalho no Desktop para este. Obtenho a seguinte mensagem:
"There was an error launching the application"
Ok. Preparei o meu Xdk.desktop - ele configurou o ícone de atalho imediatamente após ser salvo - com o seguinte código:
[Desktop Entry]
Encoding=UTF-8
Name=Xdk
Comment=Atalho para Intel Xdk
Type=Application
Terminal=false
Exec=/home/jesseluz/intel/XDK/xdk.sh
Icon=/home/jesseluz/intel/XDK/xdk/public/images/xdk_icon.png
StartupNotify=true
Categories=Development;IDE;
O código de execução do xdk.sh (pré configurado pela Inte) é:
#!/bin/sh
cur_dir="$( cd "$( dirname "$0" )" && pwd )"
LD_LIBRARY_PATH="${cur_dir}:${cur_dir}/bin/libwi:$LD_LIBRARY_PATH" "${cur_dir}/bin/nw" --file-descriptor-limit=8192 "${cur_dir}/xdk/xdk-wrapper" > /dev/null 2>&1
Onde está a incongruência??
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There could be either a current directory location problem or a problem with exporting environment variables. Try using this script, instead to see if it works any better:
#!/bin/sh # assumes XDK installed in user folder (underneath ~) # may not work if you have multiple copies of XDK installed # because it executes first copy of xdk.sh that is found # locate and cd to folder that contains the xdk.sh script cd "$( dirname "$( find ~ -name xdk.sh -print -quit )" )" #echo $(pwd) #cur_dir="$( cd "$( dirname "$0" )" && pwd )" cur_dir="$(pwd)" export LD_LIBRARY_PATH="${cur_dir}:$LD_LIBRARY_PATH" exec "${cur_dir}/bin/nw" --file-descriptor-limit=8192 "${cur_dir}/xdk/xdk-wrapper" > /dev/null 2>&1

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page