Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » [Juno] Build output parser ignoring includes
icon5.gif  [Juno] Build output parser ignoring includes [message #990599] Thu, 13 December 2012 06:41 Go to next message
Eclipse UserFriend
Hi everyone,

I am using Eclipse Juno with CDT for C++ development of CMake-based projects under Linux. Up to Indigo, I was able to configure Eclipse to successfully parse the output of compiler calls generated by CMake Makefiles for include paths. Since Juno I am unable to restore this behavior in any consistent manner.

As I have read somewhere, the old Discovery options have been deprecated, so I tried to configure the new settings under "Preprocessor Includes" in my projects to do the job. Attached you find screenshots of the respective settings pages of an affected project. Despite the changes to the "Compiler command pattern", the build output parser still fails to detect e.g. the include path "/homes/jwienke/workspace/git/rsc/src" in the following output of the CMake-generated Makefile:

[ 78%] Building CXX object test/CMakeFiles/rsbtest_factory.dir/rsb/FactoryTest.cpp.o
[ 78%] cd /homes/jwienke/workspace/git/rsb-cpp/build-master/test && /usr/bin/c++   -DBOOST_ALL_DYN_LINK -DRSB_WITH_SPREAD_TRANSPORT="" -DRSB_WITH_SOCKET_TRANSPORT="" -DRSB_PROTOCOL_EXPORT="" -g -I/homes/jwienke/workspace/git/rsb-cpp/test -I/homes/jwienke/workspace/git/rsb-cpp/build-master/test -isystem /homes/jwienke/workspace/git/rsb-cpp/build-master/gmock-1.6.0/include -isystem /homes/jwienke/workspace/git/rsb-cpp/build-master/gmock-1.6.0 -isystem /homes/jwienke/workspace/git/rsb-cpp/build-master/gmock-1.6.0/gtest/include -isystem /homes/jwienke/workspace/git/rsb-cpp/build-master/gmock-1.6.0/gtest -I/homes/jwienke/workspace/git/rsb-cpp/build-master/test/../src -I/homes/jwienke/workspace/git/rsb-cpp/build-master/test/rsb/protocol -I/homes/jwienke/workspace/git/rsb-cpp/test/../src -I/homes/jwienke/workspace/git/rsb-cpp/build-master/src -I/homes/jwienke/workspace/git/rsb-cpp/src -I/homes/jwienke/local/precise/x86_64/include -I/homes/jwienke/workspace/git/rsc/build-master/src -I/homes/jwienke/workspace/git/rsc/src    -pipe -Wall -Wextra -fdiagnostics-show-option -o CMakeFiles/rsbtest_factory.dir/rsb/FactoryTest.cpp.o -c /homes/jwienke/workspace/git/rsb-cpp/test/rsb/FactoryTest.cpp


Any idea what could still be wrong here?

Johannes
  • Attachment: snapshot1.png
    (Size: 86.25KB, Downloaded 209 times)
  • Attachment: snapshot2.png
    (Size: 109.90KB, Downloaded 207 times)

[Updated on: Fri, 14 December 2012 06:18] by Moderator

Re: [Juno] Build output parser ignoring includes [message #990737 is a reply to message #990599] Thu, 13 December 2012 17:50 Go to previous messageGo to next message
Eclipse UserFriend
There is no screenshots attached but you should be able to use pattern (.*c\+\+). See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=395498

Andrew
Re: [Juno] Build output parser ignoring includes [message #990827 is a reply to message #990737] Fri, 14 December 2012 06:20 Go to previous message
Eclipse UserFriend
Sorry, I forgot the attachments. They are added now. If you look at the second screenshot, my pattern should already cover this case. Still it doesn't work.
Previous Topic:CDT (C and C++ addon)
Next Topic:function stub template
Goto Forum:
  


Current Time: Mon Jul 07 11:06:57 EDT 2025

Powered by FUDForum. Page generated in 0.07196 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top