V
V
Veleslav2016-10-12 06:01:20
Eclipse
Veleslav, 2016-10-12 06:01:20

How to enable syntax helper and includes in Eclipse CDE for *.upc files?

Good health! How to enable C/C++ language helper syntax and correct library linking in Eclipse CDE for UPC?
Installed Eclipse IDE for C/C++ Developers and Support for Berkeley Unified Parallel C (UPC) toolchain.
It was found that for upc files libraries are not connected and the syntax assistant does not work. Unresolved inclusion error is on: 7ee5131f593a4a9487d219c14a9fcf09.png
Thanks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Veleslav, 2016-10-18
@VeleslavSeravkin

The correct option is to use Eclipse for Parallel Application Developers
https://www.eclipse.org/downloads/packages/eclipse...
1. Create a new "Hello World UPC Project", Toolchains: Linux Berkeley UPC by default)
2. Specify path includes: open project Properties → C/C++ General → Path and Symbols. For UPC language, add include paths:
Release config:
/usr/local/berkeley_upc/opt/include/upcr_preinclude
/usr/include
Debug config:
/usr/local/berkeley_upc/dbg/include/upcr_preinclude
/usr/include

S
sitev_ru, 2016-10-12
@sitev_ru

From my own experience, I advise - it's better to immediately abandon Eclipse for C ++ (too many glitches) and switch, for example, to Qt Creator (even if the Qt library will not be used)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question