I've an appointement to an Apple store tommorrow, I hope they'll be able to fix it...
You guys did uninstall xcode 4 before installing xcode 3 ??
Code: Select all
fsck -fy
mount -uw /
rm -rf /System/Library/Extensions/AppleProfileFamily.kext
rm -rf /System/Library/Extensions/CHUD*.kextOkay. My Macbook Pro finally got repaired. I figured out how to install SDK 10.6 on Xcode 4.6.2, and I followed the instructions from hibrasil's link above.hibrasil wrote:if you can live with xcode4, but using the 10.6 sdk there are some instructions here that might help
http://forum.cockos.com/showpost.php?p= ... tcount=220
any idea ?? which setting should I enable to have the "-v" equivalent effect and see invocation (I guess this should help find the origin of that error...) ?ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If I set the builder to build for 64 bit (ARCHS=x86_64 and VALID_ARCHS=x86_64), I only have 1 error, in aeffguieditor.cpp :Undefined symbols for architecture i386:
"__Unwind_Resume_or_Rethrow", referenced from:
AEffGUIEditor::AEffGUIEditor(void*)in aeffguieditor.o
AEffGUIEditor::AEffGUIEditor(void*)in aeffguieditor.o
VSTGUI::CDataBrowser::CDataBrowser(VSTGUI::CRect const&, VSTGUI::CFrame*, VSTGUI::IDataBrowser*, long, long, VSTGUI::CBitmap*)in cdatabrowser.o
VSTGUI::CDataBrowser::beginTextEdit(long, long, char const*)in cdatabrowser.o
VSTGUI::CDataBrowser::recalculateLayout(bool) in cdatabrowser.o
VSTGUI::CDataBrowser::~CDataBrowser()in cdatabrowser.o
VSTGUI::CDataBrowser::~CDataBrowser()in cdatabrowser.o
...
"std::_List_node_base::hook(std::_List_node_base*)", referenced from:
VSTGUI::CNewFileSelector::addFileExtension(VSTGUI::CFileExtension const&)in cfileselector.o
VSTGUI::CNewFileSelector::setDefaultExtension(VSTGUI::CFileExtension const&)in cfileselector.o
VSTGUI::COptionMenu::addEntry(VSTGUI::CMenuItem*, long)in vstcontrols.o
"std::_List_node_base::unhook()", referenced from:
VSTGUI::COptionMenu::removeEntry(long) in vstcontrols.o
"std::__throw_bad_alloc()", referenced from:
std::vector<char*, std::allocator<char*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<char**, std::vector<char*, std::allocator<char*> > >, char* const&)in cocoasupport.o
"std::__throw_length_error(char const*)", referenced from:
std::vector<char*, std::allocator<char*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<char**, std::vector<char*, std::allocator<char*> > >, char* const&)in cocoasupport.o
"std::terminate()", referenced from:
VSTGUI::CDataBrowser::CDataBrowser(VSTGUI::CRect const&, VSTGUI::CFrame*, VSTGUI::IDataBrowser*, long, long, VSTGUI::CBitmap*)in cdatabrowser.o
VSTGUI::CDataBrowser::~CDataBrowser()in cdatabrowser.o
VSTGUI::CDataBrowser::~CDataBrowser()in cdatabrowser.o
VSTGUI::CDataBrowser::~CDataBrowser()in cdatabrowser.o
CocoaFileSelector::~CocoaFileSelector()in cocoasupport.o
CocoaFileSelector::~CocoaFileSelector()in cocoasupport.o
CocoaFileSelector::~CocoaFileSelector()in cocoasupport.o
...
and obviously this error is due to the fact that aeffguieditor.cpp is developed for 32 bit, right ?aeffguieditor.cpp:296: Cannot convert 'const mach_header_64*' to 'const mach_header*' in initialization
Code: Select all
Undefined symbols for architecture i386:
"createNSView(VSTGUI::CFrame*, VSTGUI::CRect const&)", referenced from:
VSTGUI::CFrame::initFrame(void*) in vstgui.o
"resizeNSView(void*, VSTGUI::CRect const&)", referenced from:
VSTGUI::CFrame::setSize(long, long) in vstgui.o
"destroyNSView(void*)", referenced from:
VSTGUI::CFrame::~CFrame() in vstgui.o
"addNSTextField(VSTGUI::CFrame*, VSTGUI::CTextEdit*)", referenced from:
VSTGUI::CTextEdit::takeFocus() in vstcontrols.o
"getSizeOfNSView(void*, VSTGUI::CRect*)", referenced from:
VSTGUI::CFrame::getSize(VSTGUI::CRect*) const in vstgui.o
"moveNSTextField(void*, VSTGUI::CTextEdit*)", referenced from:
VSTGUI::CTextEdit::parentSizeChanged() in vstcontrols.o
VSTGUI::CTextEdit::setViewSize(VSTGUI::CRect&, bool) in vstcontrols.o
"nsViewScrollRect(void*, VSTGUI::CRect const&, VSTGUI::CPoint const&)", referenced from:
VSTGUI::CFrame::scrollRect(VSTGUI::CRect const&, VSTGUI::CPoint const&) in vstgui.o
...
I'm in this horror as well, however i think i'm a couple of steps ahead of you.martin_l wrote:Thanks!
I got the sdk-10.6 installed (from Xcode 4.1). It also seems to find all header files and my project files (well, the tutorial project, that is) and compiles them.
The problems appear at link stage: I get a long list (89 issues) of stuff like:I suppose that I have not yet included any graphics framework (Cocoa,etc.) in my project. Any idea what I will have to do next?Code: Select all
Undefined symbols for architecture i386: "createNSView(VSTGUI::CFrame*, VSTGUI::CRect const&)", referenced from: VSTGUI::CFrame::initFrame(void*) in vstgui.o "resizeNSView(void*, VSTGUI::CRect const&)", referenced from: VSTGUI::CFrame::setSize(long, long) in vstgui.o "destroyNSView(void*)", referenced from: VSTGUI::CFrame::~CFrame() in vstgui.o "addNSTextField(VSTGUI::CFrame*, VSTGUI::CTextEdit*)", referenced from: VSTGUI::CTextEdit::takeFocus() in vstcontrols.o "getSizeOfNSView(void*, VSTGUI::CRect*)", referenced from: VSTGUI::CFrame::getSize(VSTGUI::CRect*) const in vstgui.o "moveNSTextField(void*, VSTGUI::CTextEdit*)", referenced from: VSTGUI::CTextEdit::parentSizeChanged() in vstcontrols.o VSTGUI::CTextEdit::setViewSize(VSTGUI::CRect&, bool) in vstcontrols.o "nsViewScrollRect(void*, VSTGUI::CRect const&, VSTGUI::CPoint const&)", referenced from: VSTGUI::CFrame::scrollRect(VSTGUI::CRect const&, VSTGUI::CPoint const&) in vstgui.o ...
Thanks,
Martin
This has been my experience as well, however a select few are willing to helpThe conclusion of this case was for me to realize that the community of MAC developers is a very closed community, selfish and whose skills are mainly based on the mastery of the X-Code development environment, which is quite just like Apple's general policy: closed,inflexible, and with commercial objectives.![]()
Code: Select all
Undefined symbols for architecture i386:
"AudioEffect::int2string(int, char*, int)", referenced from:
vtable for TutorialVST2Effect in TutorialVST2Effect.o
"AudioEffect::masterIdle()", referenced from:
vtable for TutorialVST2Effect in TutorialVST2Effect.o
"AudioEffect::float2string(float, char*, int)", referenced from:
vtable for TutorialVST2Effect in TutorialVST2Effect.o
"AudioEffect::setInitialDelay(int)", referenced from:
vtable for TutorialVST2Effect in TutorialVST2Effect.o
...
I think I get it compiled and linked now. Now the big questions is: where do I find the result of all this??? I guess I am really not used to Xcode and feel pretty lost.hibrasil wrote:you need to make sure the .cpp files that contain the methods that cant be found are included in the target that you are building. Check the "Compile Sources" build phase for the target to see if the file that contains these methods is in there.
To be honest, I have not investigated too much. I saw JUCE, but did not want to use it due to it's license. I did not want to go open source, but also did not want to pay the fee for the commercial license.hibrasil wrote:ps. have you considered using IPlug or JUCE? they both have project generators that massively simplify this kind of thing, plus you can target formats other than VST2.
Submit: News, Plugins, Hosts & Apps | Advertise @ KVR | Developer Account | About KVR / Contact Us | Privacy Statement
© KVR Audio, Inc. 2000-2026