XCORE-200-EXPLORER.xn:10 Error: XN11099 Package type "XS2-UE Topic is solved

If you have a simple question and just want an answer.
Daniel
New User
Posts: 2
Joined: Wed Apr 06, 2016 7:43 am

XCORE-200-EXPLORER.xn:10 Error: XN11099 Package type "XS2-UE

Post by Daniel »

Hello Community,

I'm trying to make my program by terminal.
In Terminal I wrote this command: "xmake CONFIG=Default" and got this error:

Code: Select all

Checking build modules
No build modules used.
Analyzing flashing_leds.xc
.././XCORE-200-EXPLORER.xn:10 Error: XN11099 Package type "XS2-UEnA-512-FB236" cannot be resolved to a package file.
xmake[1]: *** [.build/src//flashing_leds.xc.pca.xml] Error 1
xmake: *** [analyze] Error 2
My dir-strucutre is:
/.cproject
/doc/
/Makefile
/.project
/.settings/
/XCORE-200-EXPLORER.xn
/src/flashing_leds.xc
/.xproject
OS: Ubuntu 14.04 LTS
xTimeComposer: 14.1.2
Example: AN10018_flashing_leds [1.0.0]

It would be nice to hear from you.

Thanks and kind regards,
Daniel E.

EDIT:
Solution:
Login as root -> source SetEnv -> xmake/xrun works! Pay attention, that the SetEnv only works within the current shell!


View Solution
henk
Respected Member
Posts: 347
Joined: Wed Jan 27, 2016 5:21 pm

Post by henk »

Thanks Daniel

I don't think you need to login as root

You can start a shell, source the SetEnv script (don't run it - it won't be able to set anything in that case) and then that shell will have its environment set

You can alternatively set it in your .profile file.
Daniel
New User
Posts: 2
Joined: Wed Apr 06, 2016 7:43 am

Post by Daniel »

henk wrote:Thanks Daniel

I don't think you need to login as root

You can start a shell, source the SetEnv script (don't run it - it won't be able to set anything in that case) and then that shell will have its environment set

You can alternatively set it in your .profile file.
You're right.. My failure was that I forgot to put that into the .profile.. I only had the bin/ dir there..

Thank you for this advise.