Forum Discussion

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

Error: SOPC_BUILDER_PATH may be incorrectly set in your environment

Hello,

I just succeeded install quartus II and nios II(8.0 version) on Ubuntu11.10.

But when I compile the hello_word project, I had the message:

**** Build of configuration Debug for project hello_world_0 ****

make -s all includes

Error: no processor component available.

SOPC_BUILDER_PATH may be incorrectly set in your environment.

make[1]: *** [proc_check] Error 1

make: *** [system_project] Error 2

Build completed in 11.841 seconds

any ideas?

thanks

yang

8 Replies

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

    --- Quote Start ---

    any ideas?

    --- Quote End ---

    What is SOPC_BUILDER_PATH set to? Use a shell to see:

    
    echo $SOPC_BUILDER_PATH
    
    Cheers,

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

    Thanks, Dave.

    Problem solved.

    Code:

    cd /opt/altera9.1/quartus/linux/

    sudo mv libX11.so.6 libX11.so.6_old

    sudo mv libuuid.so.1 libuuid.so.1_old
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi. I have the same problem. Have gone thru so many suggestions and answers, but none works on my system.

    I'm using Windows 7 (not Linux), Quartus II 9.1 Nios II IDE 7.0.

    What could be the solution for the error:-

    **** Build of configuration Debug for project hello_led_0 ****

    make -s all

    Error: no processor component available.

    SOPC_BUILDER_PATH may be incorrectly set in your environment.

    make[1]: *** [proc_check] Error 1

    make: *** [system_project] Error 2

    Build completed in 4.134 seconds
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You could start by checking the SOPC_BUILDER_PATH environment variable. You probably have an installation problem and reinstalling both Quartus and Nios II should fix it. By the way are your version numbers correct? I'm not sure that the IDE 7.0 can work with Quartus II 9.1. You'd better use the same version for Quartus and the Nios II IDE. Besides I don't think that Windows 7 is officially supported by Quartus II 9.1, you may have to download and install a more recent version.

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

    Thanks Daixiwen.

    I have further checked the situation, and I found that SOPC_BUILDER_PATH is not installed in a correctly installed Quartus II or Nios II copy on Windows. It might just be true for Linux systems.

    The reason why my Nios II failed was because there is actually NO SOPC file being created (hence it couldn't find it). Why it was not created was because SOPC systems require proper licenses, not just the Web Edition.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    So let me further explain my bottom line situation. Me and my student are cracking our heads to have a project on USB on Altera DE II finished in 1 month time. Is there a solution for this without going through buying any IP or license? We are too late to get a budget for it.

    The bottom line of our project is:

    1- To have a program (C++/C#) running on a PC, to communicate with Altera DE II through USB.

    2- The program on PC side is MASTER (host), and the HDL (Verilog/VHDL) on DE II is SLAVE (device).

    3- The PC side program just a code to tell the DE II board which GPIO pin (IDE pins) to turn ON or OFF.

    4- The board side HDL will just receive the PC's instruction THROUGH USB, then switch the GPIO pins accordingly.

    The project is simple enough and should be doable in 1 month if we have enough knowledge.

    Thanks for any of your response.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    The project is simple enough and should be doable in 1 month if we have enough knowledge.

    --- Quote End ---

    Your project is doable in an evening if you read this tutorial:

    http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial

    Just install *exactly* the version of Quartus used to create the tutorial (Quartus 11.1sp1) and you'll find that there is already an example that works with the DE2 board.

    Both SOPC and Qsys examples work with the Web Edition.

    Cheers,

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

    Yes I checked on my installation and indeed there is no SOPC_BUILDER_PATH environment variable on a Windows installation. It could be created on the fly when the compile tools are called.

    I don't understand your statement about license though. Some components, such as the Nios II CPU it its /s and /f variants do require a license, but SOPC Builder itself doesn't require any. If the .sopc file is missing, it could be because you forgot to click "generate" in SOPC builder.