Forum Discussion

Oliver_I_Sedlacek's avatar
2 years ago

Eclipse can't find sopcinfo file but it's there!

The my_nios.sopcinfo is exactly where it should be and where Eclipse says it's looking, but a build gives this:

I've tried a clean, all the index refresh options, restart, all to no avail,

15 Replies

  • Hi,

    Greetings and welcome to Intel's forum.

    Please give me some time to check on this issue and will get back to you with the update.

    Thank you.

    Regards,

    Fathulnaim


  • Hi Oliver,


    You can import the project into your eclipse to solve this issue and ensure the directory is correct.


    Below are steps to import the eclipse project -

    1. Right click on the project explorer area.
    2. Click Import --> Nios II Software Build Tools Project --> Import Nios II Software Build Tools Project
    3. Click Browse and direct it to the project file of your Nios2 project. Ensure name of project matches folder.
    4. Repeat the step for import BSP files. Ensure name of BSP matched folder.
    5. After that, can open the BSP editor to check the sopc file point to the correct directory.


    Thank you.


    • Oliver_I_Sedlacek's avatar
      Oliver_I_Sedlacek
      Icon for Contributor rankContributor

      That's exactly how I imported the project. When I open the BSP editor the Information window includes the message that it finished loading my_nios.sopcinfo so the BSP editor is happy.

  • Hi Oliver,


    Can you provide screenshot after you generate the bsp, would like to see the "finished generating files.

    Right now it seems that bsp is success but the build run into problem as did not found the sopcinfo file.

    Did you try to run the nios2 program?


    Thank you.

    Regards,

    Fathulnaim.




    • Oliver_I_Sedlacek's avatar
      Oliver_I_Sedlacek
      Icon for Contributor rankContributor

      Can't run the NIOS2 program because I can't build it.

      BSP generation screenshot below.

  • Hi Oliver,


    Thank you for the information. It seems there is no problem with BSP generation.

    I will send an email to you on how I relocate the sopcinfo. Hope you can try it to see if this issue is actually related to it.


    Have a good day.

    Regards,

    Fathulnaim


    • Oliver_I_Sedlacek's avatar
      Oliver_I_Sedlacek
      Icon for Contributor rankContributor

      I replied to your email so I guess you didn't get it. No change, Eclipse still wont build.

  • Hi Oliver,

    Sorry that you still facing the error. So far, most of the issue did not generate the sopcinfo.

    Since, the Eclipse IDE cannot find the .sopcinfo file, hope you can try to open the IDE with administration mode and also try to shorten the file location path. As I checking previous thread, there is someone before also posted that it could be the file location path is too long.


    • Oliver_I_Sedlacek's avatar
      Oliver_I_Sedlacek
      Icon for Contributor rankContributor

      I'm a bit stumped by both those suggestions. The path is exactly the same as on my old PC where it all worked, and previous experience tells me you can't just move an Eclipse project, you will break it.

      I only ever start Eclipse from the Quartus tools menu, so how do I start it in administrator mode?

  • Hi,


    As spoken through the email, please let me know when you are back for us to work on the solution.


    • Oliver_I_Sedlacek's avatar
      Oliver_I_Sedlacek
      Icon for Contributor rankContributor

      I'm back from holiday. I can't seem to reply to the emails I've got from you (they are all noreply@.. ) but if you can send me a teams invite for 17:00 GMT we can hopefully resolve this.

      Oliver

  • Hi Oliver,


    Since we successfully resolve the issue during the discussion call by creating the new nios2 bsp and the sopcinfo file now can be detected.


    I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.