This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA7xx GLSDK: error when try to run Codec Engine wizard

Other Parts Discussed in Thread: AM5728

Hi experts,

I am trying to run the Codec Engine GenCodecPkg wizard, but it gives me an error related with SWT libraries. I follow the GSLDK installation steps ( processors.wiki.ti.com/.../DRA7xx_GLSDK_Software_Developers_Guide   and the steps to configure the Makefile to enable gencodecpakg  ( processors.wiki.ti.com/.../Codec_Engine_GenCodecPkg_Wizard_FAQ

The output when I runs make gencodecpakg is:

dgarbanzo@ridgerun-GA-890FXA-UD5:~/ti-glsdk_dra7xx-evm_7_04_00_03$ make gencodecpkg
/home/dgarbanzo/ti-glsdk_dra7xx-evm_7_04_00_03/component-sources/xdctools_3_32_00_06_core/xs --xdcpath="/home/dgarbanzo/ti-glsdk_dra7xx-evm_7_04_00_03/component-sources/codec_engine_3_24_00_08/packages;/home/dgarbanzo/ti-glsdk_dra7xx-evm_7_04_00_03/component-sources/xdais_7_24_00_04/packages;/home/dgarbanzo/ti-glsdk_dra7xx-evm_7_04_00_03/component-sources/codec_engine_3_24_00_08/cetools" ti.sdo.ce.wizards.gencodecpkg
**** warning: package xdc.tools.sg.linux_swt depends on the
Mozilla browser for some functionality. Your environment doesn't
currently point to Mozilla, so some XDC graphical tools may fail.
To prevent this, please set up the following in your environment:

- set the MOZILLA_FIVE_HOME environment variable. Its value
should be the directory that contains the file run-mozilla.sh,
which you can find using the command:
locate run-mozilla.sh
- include $MOZILLA_FIVE_HOME and $MOZILLA_FIVE_HOME/plugins on
the LD_LIBARARY_PATH, for example using bash syntax:
export LD_LIBRARY_PATH="$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$MOZILLA_FIVE_HOME/plugins:$LD_LIBRARY_PATH"


Starting Codec Engine GenCodecPkg Wizard now...
Codec Engine GenCodecPkg Wizard user:
You can ignore any warnings below about Mozilla this or that missing.
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/libswt-gtk-3346.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3346 or swt-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.mozilla.javascript.MemberBox.newInstance(MemberBox.java:159)
at org.mozilla.javascript.NativeJavaClass.constructInternal(NativeJavaClass.java:266)
at org.mozilla.javascript.NativeJavaClass.constructSpecific(NativeJavaClass.java:205)
at org.mozilla.javascript.NativeJavaClass.construct(NativeJavaClass.java:166)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1519)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at xdc.services.intern.xsr.Invoke.call(Invoke.java:130)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at xdc.services.intern.xsr.Invoke.call(Invoke.java:92)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
at config.Shell.evaluateReader(Shell.java:847)
at config.Shell.processReader(Shell.java:512)
at config.Shell.processFile(Shell.java:571)
at config.Shell.exec(Shell.java:781)
at config.Shell.main(Shell.java:1414)
make: *** [gencodecpkg] Error 1

Please, can someone helps me with that error. I tried all the possible options to fix similar errors available on the web (for example: http://stackoverflow.com/questions/10165693/eclipse-cannot-load-swt-libraries ), but I did not succeed in correcting the error. 

Note: I am using ubuntu 12.04 LTS, as it says in the DRA7xx_GLSDK_Software_Developers_Guide