Fatal Error: Unable to locate C++ compiler/linker
Hello,
I'm running the HPCC cluster using VM on my windows 8 system. I have installed ECLIDE on my machine. When i submit the ECL code in ECLIDE, it gives me following error in eclcc.log file -
00000008 2014-03-25 23:51:23 7592 9788 Adding library: eclrtl
00000009 2014-03-25 23:51:23 7592 9788 Adding library: C:\Users\Public\Documents\HPCC Systems\ECL\wu\default\L20140325-235122.res
0000000A 2014-03-25 23:51:23 7592 9788 Compiling C:\Users\Public\Documents\HPCC Systems\ECL\wu\default\L20140325-235122
0000000B 2014-03-25 23:51:23 7592 9788 Failed to compile C:\Users\Public\Documents\HPCC Systems\ECL\wu\default\L20140325-235122
0000000C 2014-03-25 23:51:23 7592 9788 Fatal Error: Unable to locate C++ compiler/linker
0000000D 2014-03-25 23:51:23 7592 9788
---------- compiler output --------------
'"vsvars32"' is not recognized as an internal or external command,
operable program or batch file.
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.
'"vsvars32"' is not recognized as an internal or external command,
operable program or batch file.
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.
--------- end compiler output -----------
Here's the compiler setting in my ECL IDE -
Compiler = C:\Program Files (x86)\HPCCSystems\4.2.0\clienttools\bin\eclcc.exe
Please let me know how to resolve this issue. Thank you.
I'm running the HPCC cluster using VM on my windows 8 system. I have installed ECLIDE on my machine. When i submit the ECL code in ECLIDE, it gives me following error in eclcc.log file -
00000008 2014-03-25 23:51:23 7592 9788 Adding library: eclrtl
00000009 2014-03-25 23:51:23 7592 9788 Adding library: C:\Users\Public\Documents\HPCC Systems\ECL\wu\default\L20140325-235122.res
0000000A 2014-03-25 23:51:23 7592 9788 Compiling C:\Users\Public\Documents\HPCC Systems\ECL\wu\default\L20140325-235122
0000000B 2014-03-25 23:51:23 7592 9788 Failed to compile C:\Users\Public\Documents\HPCC Systems\ECL\wu\default\L20140325-235122
0000000C 2014-03-25 23:51:23 7592 9788 Fatal Error: Unable to locate C++ compiler/linker
0000000D 2014-03-25 23:51:23 7592 9788
---------- compiler output --------------
'"vsvars32"' is not recognized as an internal or external command,
operable program or batch file.
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.
'"vsvars32"' is not recognized as an internal or external command,
operable program or batch file.
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.
--------- end compiler output -----------
Here's the compiler setting in my ECL IDE -
Compiler = C:\Program Files (x86)\HPCCSystems\4.2.0\clienttools\bin\eclcc.exe
Please let me know how to resolve this issue. Thank you.
- nileshdchavan
- Posts: 22
- Joined: Thu Mar 27, 2014 11:43 pm
What the error means:
You are trying to compile a WU on your local machine, but you are missing the required compilers and tools.
Typically this happens if you select "Local" from the target dropdown on the builder windows. Sometimes it happens if you have some invalid settings on the preferences window.
Things to try:
1. In the builder window select a different target in the drop down (even if it does not say local). Note: If local is your only option here then its likely to be a preferences issue.
2. Double check your preferences specifically the server settings and compiler tab. If in doubt create a new preference profile and renter the server IP (leave the rest to their defaults).
You are trying to compile a WU on your local machine, but you are missing the required compilers and tools.
Typically this happens if you select "Local" from the target dropdown on the builder windows. Sometimes it happens if you have some invalid settings on the preferences window.
Things to try:
1. In the builder window select a different target in the drop down (even if it does not say local). Note: If local is your only option here then its likely to be a preferences issue.
2. Double check your preferences specifically the server settings and compiler tab. If in doubt create a new preference profile and renter the server IP (leave the rest to their defaults).
- gsmith
- Posts: 291
- Joined: Thu May 12, 2011 9:40 am
You can download the PDFs separately from the website (for printing or reading on the computer), but the IDE's Testking HP0-S34 exam F1 key will only pull up topics from its help file. And for the Eclipse users, we also have these same docs in Eclipse help format.
- Andrio
- Posts: 1
- Joined: Mon Dec 22, 2014 10:13 am
Did you fixed it @nileshdchavan?
I have exactly the same problem...
I have exactly the same problem...
- oscar.foley
- Posts: 33
- Joined: Mon Sep 12, 2016 10:27 am
Oscar,
As Gordon said:
HTH,
Richard
As Gordon said:
I would only add that, if Local is your only choice then you need to close the IDE and re-open it (usually that brings back the list of target clusters that you should have).What the error means:
You are trying to compile a WU on your local machine, but you are missing the required compilers and tools.
Typically this happens if you select "Local" from the target dropdown on the builder windows. Sometimes it happens if you have some invalid settings on the preferences window.
Things to try:
1. In the builder window select a different target in the drop down (even if it does not say local). Note: If local is your only option here then its likely to be a preferences issue.
2. Double check your preferences specifically the server settings and compiler tab. If in doubt create a new preference profile and renter the server IP (leave the rest to their defaults).
HTH,
Richard
- rtaylor
- Community Advisory Board Member
- Posts: 1619
- Joined: Wed Oct 26, 2011 7:40 pm
What compilers and tools will I need to compile this locally via cmd to create an executable on Windows? I'm getting the same errors.
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest