I am trying to build a shared library (.framework) using LabVIEW 2011 für Mac.
My OSX Version is 10.7.3.
When I run the build process, it allways aborts showing the error message:
Error 1 occurred at DLL - Compile C Source File.vi Possible reason(s): You must have the Apple Developer tools installed to build a shared library. Install the Apple Developer tools and try to rebuild the shared library.
I have no idea which developer tool is missing or if there is another problem with my environment.
Solved! Go to Solution.
thanks for your forum post.
The Apple Developer tools which are mentioned in the error might be those:
link to Apple: https://developer.apple.com/technologies/tools/
good luck in your project
that was my first thougt. But I have X-Code 4.3 and a chunk of related development tools.
Also when I run LabVIEW with Konsole, I don´t get a hint what LabVIEW is expecting.
I tried the whole procedure with another system using snow leopard and X-Code 4.2 but it
leads me to the same result..
What is LabVIEW looking for? The LLVM Compiler?
how do you come to the assumption that exactly this compiler is missing?
you can try to download it and look if it helps you.
You can find a dowload here: http://llvm.org/releases/
just because XCode uses the LLVM compiler and this seems to be the commonality with LabVIEW (http://zone.ni.com/devzone/cda/tut/p/id/11936#toc4
Since my XCode works well, it don't think it's the root of the problem.
As long as I don't know which developer tool (or part of it) LabVIEW is looking for exactly (and where ?), I can spend plenty of time with aimless software installations.
i will forward your question to the LabVIEW Developers in Austin. Let's see what they say.
I would ask you to have a little patience. As soon as I have a answer from them I will let you know
in the meantime i got an answer from our developers in Austin.
The Apple Developer tools that it is referring to should be X-Code.
They are working with X-Code Version 3.0 and have no problem. They will try to work with your versions (4.2 and 4.3) too and will have a look if there is something special to look for.
Have you tried using X-Code 3.0? Do you get then the same problems?
Have a nice day,
made my day!
XCode 3.X is the key.
I tried it with 3.2.5 and it works. By now, I haven´t tried the Framework with XCode but it don´t seem to be a non-starter since I am able to use it with LabVIEW.
Perhaps you can keep me up to date regarding the XCode 4 compatibility.
I will keep you up to date, our developers are starting testing version 4.x of X-Code.
Have a nice day
our developers told me that for X-Code Version 4 you need an additional download. Then, it should also work with Version 4. Here is what they said:
It turned out that Shared Libraries compile fine with XCode 4, it's just that the command line tools that we need for compilation are now an optional download.
"Xcode includes a new "Downloads" preference pane to install optional components such as command line tools, and previous iOS Simulators."
So, this is not well documented we will handle that and let make a correction as soon as possible.
Have a nice day,