开发者

C++ includes problem with NetBeans 7.0 under MacOS X using sshfs

开发者 https://www.devze.com 2023-03-28 07:09 出处:网络
That\'s what we have 1) MacOS X Lion, NetBeans 7.0 2) C++ project with source files located on sshfs mounted volume (using Fuse4X)

That's what we have

1) MacOS X Lion, NetBeans 7.0

2) C++ project with source files located on sshfs mounted volume (using Fuse4X)

3) Some libraries header files alse located on sshfs mounted volume.

When I open some source file Code Assistance displays a lot of errors "Couldn't resolve an include" near all lines with include directive and file path containing uppercase characters

#include "SomeModule.h" // error here
#include <Lib/Header.h> // also error here
#include <otherlib/file.h> // wow, no errors

Of course directories containing these headers are added to include path and if I hold 'cmd' button and hover any of these includes correct include path is displayed, but NetBeans still sa开发者_如何学Cys he couldn't locate that file. Besides if I create 2 files: File.h и file.h on sshfs volume and try to include them

#include <sshfs/file.h> // includes file.h
#include <sshfs/File.h> // displays an error

My question is what should I do for NetBeans could see, parse and provide content assistance in projects located on sshfs volume?

0

精彩评论

暂无评论...
验证码 换一张
取 消