Hi,
cannot include iostream while developing a node. Do you, guys, know what may be a problem? I googled around and I see that this “iostream” is a little tricky – for example, there is no such header in newest Xcode.
I’m trying to include iostream in simple stateless node. My goal is to develop a node capturing output from system command. Look what I’ve found here: How to Capture the Output of a Linux Command in C++ - Jeremy's Programming Blog
11:57:12: Running steps for project dumski.data...
11:57:12: Configuration unchanged, skipping qmake step.
11:57:12: Starting: "/usr/bin/make"
~/Developer/SDKs/vuo-1.2.8-sdk/framework/vuo-compile --verbose --header-search-path ~/Developer/SDKs/vuo-1.2.8-sdk/framework/Headers --output dumski.data.system.cmd.vuonode dumski.data.system.cmd.c
Module (node class, type, library) search paths:
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Modules
/Library/Application Support/Vuo/Modules
/Users/dumski/Library/Application Support/Vuo/Modules
/Users/dumski/Library/Caches/org.vuo/1.2.8.86/Modules
Header search paths:
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Headers/
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Headers/macos
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Headers
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/Headers
Other library search paths:
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Modules
/Library/Application Support/Vuo/Modules
/Users/dumski/Library/Application Support/Vuo/Modules
Other framework search paths:
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Modules/
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Frameworks/
Framework path:
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework
Clang path:
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Frameworks/llvm.framework/Versions/A/Helpers/clang
clang -cc1 version 3.2 based upon LLVM 3.2svn default target x86_64-apple-darwin17.7.0
ignoring nonexistent directory "/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/Headers"
ignoring duplicate directory "/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Headers"
#include "..." search starts here:
#include <...> search starts here:
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Headers
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Headers/macos
/usr/local/include
/Users/dumski/Developer/SDKs/vuo-1.2.8-sdk/framework/./Vuo.framework/Frameworks/llvm.framework/Versions/A/lib/clang/3.2/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
dumski.data.system.cmd.c:2:10: fatal error: 'iostream' file not found
#include <iostream>
^
1 error generated.
dumski.data.system.cmd.c: error: Broken node — The node <code>dumski.data.system.cmd</code> couldn't be compiled to bitcode. Check the macOS Console for details.
make: *** [dumski.data.system.cmd.vuonode] Error 1
11:57:12: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project dumski.data (kit: Desktop Qt 5.9.5 clang 64bit)
When executing step "Make"
11:57:12: Elapsed time: 00:00.