Forum Discussion

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

got this error when using eclipse

hi everyone..can u tell me why i got this error in my eclipse?

make: *** [proj_Trafflight.elf] Error 1 proj_Trafflight C/C++ Problem

i already try to solved this error...but it's still same

really for your repsonse..tq :)

18 Replies

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

    tq dipslg89;226139 for reply my question..i already download both 32 and 64 bit Cygwin..but i don't really understand your explanation about this..

    "Then locate the cygwin files in the quartus software it will be inside the 32 bit in bin folder and 64 bit in bin64 of the Quartus software. Just overwrite the the cygwin files with the latest files you have downloaded."

    maybe i understand but im afraid that im misunderstand it..really hope u can explain it again..:)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i already overwrite the 32 and 64 bit cygwin..but this error was popup..

    Description Resource Path Location Type

    -O0: g++: command not found proj_NiosIITrafficlight_bsp [Discovery Options] page in project properties C/C++ Problem

    Program "make" is not found in PATH proj_NiosIITrafficlight C/C++ Problem

    is it im doing wrong or i missed something? im really need your help because my eclipse seem doesn't like me.. :p:p
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i already overwrite the 32 and 64 bit cygwin..but this error was popup..

    Description Resource Path Location Type

    -O0: g++: command not found proj_NiosIITrafficlight_bsp [Discovery Options] page in project properties C/C++ Problem

    Program "make" is not found in PATH proj_NiosIITrafficlight C/C++ Problem

    is it im doing wrong or i missed something? im really need your help because my eclipse seem doesn't like me.. :p:p
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i already overwrite the 32 and 64 bit cygwin..but this error was popup..

    Description Resource Path Location Type

    -O0: g++: command not found proj_NiosIITrafficlight_bsp [Discovery Options] page in project properties C/C++ Problem

    Program "make" is not found in PATH proj_NiosIITrafficlight C/C++ Problem

    is it im doing wrong or i missed something? im really need your help because my eclipse seem doesn't like me.. :p:p
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    i already overwrite the 32 and 64 bit cygwin..but this error was popup..

    Description Resource Path Location Type

    -O0: g++: command not found proj_NiosIITrafficlight_bsp [Discovery Options] page in project properties C/C++ Problem

    Program "make" is not found in PATH proj_NiosIITrafficlight C/C++ Problem

    is it im doing wrong or i missed something? im really need your help because my eclipse seem doesn't like me.. :p:p

    --- Quote End ---

    I am afraid you have installed the file incorrectly. So the software is unable to locate the g++ file. :cry:

    you need to reinstall the software as the files are overwritten in the wrong location. After you install the Altera software again. Install the cygwin for 32 and 64 bit in any folder of your drive. No need to locate the Quartus software while installing the cygwin files as it will be a bit confusing. When you install the cygwin files in different folder of the drive two folder will create name as Cygwin and cygwin 64. First open the folder cygwin. it is for 32 bit. Inside you will see the files as "bin, dev, etc, home, library, cygwin.bat" and so on. Select all and copy the files in the location as altera<version<quartus<bin<cygwin. paste the files inside the cygwin folder of the quartus software, replace the files when a pop will appear. Repeat the same steps for cygwin 64 also. it will be in bin 64 of the quartus.

    And bingo!!!!:cool:

    Let me know if you face any problem while updating the files.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I am afraid you have installed the file incorrectly. So the software is unable to locate the g++ file. :cry:

    you need to reinstall the software as the files are overwritten in the wrong location. After you install the Altera software again. Install the cygwin for 32 and 64 bit in any folder of your drive. No need to locate the Quartus software while installing the cygwin files as it will be a bit confusing. When you install the cygwin files in different folder of the drive two folder will create name as Cygwin and cygwin 64. First open the folder cygwin. it is for 32 bit. Inside you will see the files as "bin, dev, etc, home, library, cygwin.bat" and so on. Select all and copy the files in the location as altera<version<quartus<bin<cygwin. paste the files inside the cygwin folder of the quartus software, replace the files when a pop will appear. Repeat the same steps for cygwin 64 also. it will be in bin 64 of the quartus.

    And bingo!!!!:cool:

    Let me know if you face any problem while updating the files.

    --- Quote End ---

    i already overwrite the file..and the previous error already solved but a new error exist..

    the error is sound like this

    Description Resource Path Location Type

    make: *** [makefile:31: proj_traffic.exe] Error 1 proj_traffic C/C++ Problem

    make: *** [proj_trafficlight.elf] Error 1 proj_trafficlight C/C++ Problem

    undefined reference to `WinMain' proj_traffic line 37, external location: \usr\src\debug\cygwin-2.8.0-1\winsup\cygwin\lib\libcmain.c C/C++ Problem

    btw..thank you because help me to solved the previous error..really appreciated your help..and i really hope that if u can try to look for my new error..maybe u have a lot of idea to solve that..thanks once again..:):)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    This error is due to the files are not installed correctly. Follow the steps I had mentioned. See in the error. Itself shows the location which is incorrect.

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

    thanks dipslg89 for your help..i'll try to installed it correctly..:)