cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
martin6314
Contributor
Contributor
313 Views
Registered: ‎02-16-2018

Create new Application-Project fails after export from Vitis 2020.1 to 2020.2

We created an application and hardware project in Vitis 2020.1 and exported the project as a zip file. Then we imported the project into Vitis 2020.2 and add a new Application project to it. In the wizzard, we choose a sample project and this fails with:

java.lang.RuntimeException:  Os Description not found for standalone  7.2
	at com.xilinx.sdk.sw.internal.SwDb.getComponentAppCompilerFlags(SwDb.java:807)
	at com.xilinx.sdx.sw.internal.SDxSwPlatform.getSwPlatformCompilerFlags(SDxSwPlatform.java:1160)
	at com.xilinx.sdx.sdk.core.build.AppSwBuildOptionsHelper.inferSwPlatformFlags(AppSwBuildOptionsHelper.java:54)
	at com.xilinx.sdx.sdk.core.build.AppSwBuildOptionsHelper.updateBuildOptions(AppSwBuildOptionsHelper.java:46)
	at com.xilinx.sdx.sdk.core.gen.ManagedAppCreator.updateSwBuildOptions(ManagedAppCreator.java:82)
	at com.xilinx.sdx.sdk.core.gen.ManagedAppCreator.create(ManagedAppCreator.java:54)
	at com.xilinx.sdx.sdk.core.gen.StandaloneProjectHandler.createCoreApp(StandaloneProjectHandler.java:79)
	at com.xilinx.sdx.sdk.core.gen.AppCreationHandler.createApplication(AppCreationHandler.java:79)
	at com.xilinx.sdx.sdk.core.gen.AppCreationHandler.execute(AppCreationHandler.java:69)
08:32:27 ERROR	: Failed to create application project
org.eclipse.core.runtime.CoreException:  Os Description not found for standalone  7.2
	at com.xilinx.sdx.sdk.core.gen.StandaloneProjectHandler.createCoreApp(StandaloneProjectHandler.java:150)
	at com.xilinx.sdx.sdk.core.gen.AppCreationHandler.createApplication(AppCreationHandler.java:79)
	at com.xilinx.sdx.sdk.core.gen.AppCreationHandler.execute(AppCreationHandler.java:69)
	at com.xilinx.sdx.sdk.core.SdkAppCreationHandler.executeInternal(SdkAppCreationHandler.java:75)
	at com.xilinx.sdx.sdk.core.SdkAppCreationHandler.lambda$1(SdkAppCreationHandler.java:67)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2312)
	at com.xilinx.sdx.sdk.core.SdkAppCreationHandler.execute(SdkAppCreationHandler.java:66)
	at com.xilinx.sdx.npw.NewProjectCreationHandler.createApplicationProject(NewProjectCreationHandler.java:235)

If we import the same exported project into Vitis 2020.1 and try the same there, the creation is successful.

Can anyone point me to the problem? Any hint would be appreciated!

Please note that we actually can (!) build the imported application and hardware project in Vitis 2020.2, but adding another Appplication Project fails.

Also note one special situation: In the original project, we used linked folders for the source files (to support our subversion database). This was included in the ZIP file, which is ok and builds as expected in Vitis 2020.2.

Thank you
Martin

0 Kudos
1 Reply
kmorris
Xilinx Employee
Xilinx Employee
225 Views
Registered: ‎01-11-2011

Hi Martin, I was able to reproduce the issue with an included platform and template application. I wasn't able to find any solution that would allow you to create a new application with the platform, outside of creating a new platform project entirely and pointing the applications to that. Regardless, this error should not be occurring in the tools so I have reported this to development to have them fix this in a future version.

-------------------------------------------------------------------------
Please don’t forget to reply, kudo, and accept as solution!
-------------------------------------------------------------------------