Hi Leon, thanks for offering to help with Xcode.
I found the boost include directory. In fact it is /opt/local/include.
There is a boost subdirectory which contains filesystem.hpp.
However, when I compile with Xcode, it fails on the line
#include <boost/filesystem.hpp>
I don't see /opt/local/include anywhere in the command line of clang.
I've tried adding /opt/local/include to the header search paths, and also to
the user search path.
Can you help?
Analyze test1/main.cpp
cd /Users/jimka/Desktop/test3/test1
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -std=gnu++11 -stdlib=libc++ -fmodules
-fmodules-cache-path=/Users/jimka/Library/Developer/Xcode/DerivedData/ModuleCache
-fmodules-prune-interval=86400 -fmodules-prune-after=345600
-Wnon-modular-include-in-framework-module
-Werror=non-modular-include-in-framework-module -Wno-trigraphs
-fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes
-Werror=return-type -Wunreachable-code -Werror=deprecated-objc-isa-usage
-Werror=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual
-Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch
-Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable
-Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas
-Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion
-Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32
-Wno-newline-eof -Wno-c++11-extensions -DDEBUG=1 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
-fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof
-mmacosx-version-min=10.10 -g -fvisibility-inlines-hidden
-Wno-sign-conversion -D__clang_analyzer__ -Xclang
-analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang
path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang
report-in-main-source-file=true -Xclang -analyzer-checker -Xclang
security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang
security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang
security.insecureAPI.gets -Xclang -analyzer-checker -Xclang
security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang
security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang
security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang
security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang
security.insecureAPI.vfork -iquote
/Users/jimka/Library/Developer/Xcode/DerivedData/test1-bilnzxakeyoiwoebtvdqixoswgct/Build/Intermediates/test1.build/Debug/test1.build/test1-generated-files.hmap
-I/Users/jimka/Library/Developer/Xcode/DerivedData/test1-bilnzxakeyoiwoebtvdqixoswgct/Build/Intermediates/test1.build/Debug/test1.build/test1-own-target-headers.hmap
-I/Users/jimka/Library/Developer/Xcode/DerivedData/test1-bilnzxakeyoiwoebtvdqixoswgct/Build/Intermediates/test1.build/Debug/test1.build/test1-all-target-headers.hmap
-iquote
/Users/jimka/Library/Developer/Xcode/DerivedData/test1-bilnzxakeyoiwoebtvdqixoswgct/Build/Intermediates/test1.build/Debug/test1.build/test1-project-headers.hmap
-I/Users/jimka/Library/Developer/Xcode/DerivedData/test1-bilnzxakeyoiwoebtvdqixoswgct/Build/Products/Debug/include
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
-I/Users/jimka/Library/Developer/Xcode/DerivedData/test1-bilnzxakeyoiwoebtvdqixoswgct/Build/Intermediates/test1.build/Debug/test1.build/DerivedSources/x86_64
-I/Users/jimka/Library/Developer/Xcode/DerivedData/test1-bilnzxakeyoiwoebtvdqixoswgct/Build/Intermediates/test1.build/Debug/test1.build/DerivedSources
-F/Users/jimka/Library/Developer/Xcode/DerivedData/test1-bilnzxakeyoiwoebtvdqixoswgct/Build/Products/Debug
--analyze /Users/jimka/Desktop/test3/test1/test1/main.cpp -o
/Users/jimka/Library/Developer/Xcode/DerivedData/test1-bilnzxakeyoiwoebtvdqixoswgct/Build/Intermediates/test1.build/Debug/test1.build/StaticAnalyzer/test1/test1/normal/x86_64/main.plist
/Users/jimka/Desktop/test3/test1/test1/main.cpp:9:10: fatal error:
'boost/filesystem.hpp' file not found
#include <boost/filesystem.hpp>
^
1 error generated.
Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
failed with exit code 1
--
View this message in context:
http://dev-list.musescore.org/need-help-with-xcode-tp7579086p7579092.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer