Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Eclipse: Project Conversion Failed

I am trying to load a project from the Terasic DE2 CD from Eclipse IDE in NIOS 10.

When I select the workspace the following message shows:

"project conversion failed for project hello_led_0 with the following error: Error loading Managed Make project information for project hello_led_0. The tools definitions used to create the project are not available".

Any way to fix this?

10 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi InakiC,

    I am trying to load a project from the Terasic DE2 CD from Eclipse IDE in NIOS 10.1.

    I have the same problem that you said. Did you already solve it?

    Best Regards
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You need to convert the IDE project which is _syslib to Eclipse format which is _bsp in command line, after that import the project to Nios II SBT for Eclipse.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thnx for your reply ...

    Can you please provide more detail how to do that as I am really a newbie?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi... i have a problem that is, my project was build on 8.1v and how to convert in 11.0v...there is issue of syslib or bsp....

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    Here is the command you need

    nios2-convert-ide2sbt --input-dir=<source directory>

    --output-dir=<target directory>

    --build-config=<configuration>

    where

    <source directory>—directory containing the original Nios II IDE project.

    <target directory>—directory where nios2-convert-ide2sbt places the

    converted SBT project. If <target directory> does not exist, nios2-convert-ide2sbt

    creates it.

    <configuration>—Debug or Release, designating the Nios II IDE project

    configuration.

    For more information, you might need to refer here

    Porting Nios II IDE Projects to the SBT

    http://www.altera.com/literature/hb/nios2/n2sw_nii52002.pdf
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Well, we tried that but since we can't even build the project (we are using the DE2_NET example), we don't have a Build or Release folder so the console outputs the error "Not a valid input directory" after trying to convert it using that console command.

    What is the problem and what can we do now??
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi, sorry was busy for projects. You need to build at least once to have the either 'Release' or 'Debug' folder. Create a blank project in Nios II IDE and then copy those .c and .h files to application project. Build one time so that you have makefile and .etc ready for conversion.

    In fact, why did you want to convert since the project was not built before? You could actually directly create a BSP project in Nios II SBT for Eclipse from scratch.