Wed Aug 15, 2018 1:43 am
Login Register Lost Password? Contact Us


Fatal Error: Unable to locate C++ compiler/linker

Topics specific to the use of the ECL IDE

Thu Mar 27, 2014 11:48 pm Change Time Zone

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.
nileshdchavan
 
Posts: 22
Joined: Thu Mar 27, 2014 11:43 pm

Fri Mar 28, 2014 8:28 am Change Time Zone

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).
gsmith
 
Posts: 275
Joined: Thu May 12, 2011 9:40 am

Mon Dec 22, 2014 10:19 am Change Time Zone

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

Tue Nov 15, 2016 4:51 pm Change Time Zone

Did you fixed it @nileshdchavan?

I have exactly the same problem...
oscar.foley
 
Posts: 33
Joined: Mon Sep 12, 2016 10:27 am

Tue Nov 15, 2016 7:00 pm Change Time Zone

Oscar,

As Gordon said:
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).
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).

HTH,

Richard
rtaylor
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1368
Joined: Wed Oct 26, 2011 7:40 pm

Tue Jan 09, 2018 10:07 pm Change Time Zone

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: 53
Joined: Wed Apr 02, 2014 7:30 pm


Return to ECL IDE

Who is online

Users browsing this forum: No registered users and 1 guest

cron