error when compilingecl code with eclcc in clienttools

Description

compile simple ecl code such as "OUTPUT('Hello');" using eclcc from clienttools 6.2.0-rc4 result error on Ubuntu 14.04:

/opt/HPCCSystems/6.2.0/clienttools/bin$ sudo ./eclcc ~/tmp/hello.ecl
/opt/HPCCSystems/6.2.0/clienttools/componentfiles/cl/include/eclinclude4.hpp:59(22,0): error C6003: fatal error: platform.h: No such file or directory
a.out(0,0): error C3000: Compile/Link failed for a.out (see '//10.0.2.15/opt/HPCCSystems/6.2.0/clienttools/bin/eclcc.log' for details)

---------- compiler output --------------
In file included from a.out.cpp:6:0:
/opt/HPCCSystems/6.2.0/clienttools/componentfiles/cl/include/eclinclude4.hpp:59:22: fatal error: platform.h: No such file or directory
#include "platform.h"
^
compilation terminated.
g++: error: a.out.cpp.o: No such file or directory

--------- end compiler output -----------
2 errors, 0 warning

This run OK on the same version of platform.
Also it will has similar error on OS X

Conclusion

None

Activity

Show:

Michael Gardner November 11, 2016 at 5:43 PM

This is my current active issue. Should hopefully be fixed asap in the next rc. If it is just a lack of header files in the clienttools package this should be an easy fix.

Xiaoming Wang November 4, 2016 at 2:06 PM

Looks platform has required *.hpp and *.cpp files under /opt/HPCCSystems/componejntfiles/
But client tools doesn't

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Minor

Fix versions

Affects versions

Created November 3, 2016 at 6:24 PM
Updated November 15, 2016 at 8:34 PM
Resolved November 15, 2016 at 8:34 PM

Flag notifications