09-13-2012 03:45 AM
Solved! Go to Solution.
09-26-2012 04:27 AM
09-26-2012 05:47 AM
Thank you for your reply.
Actually I solved the issue yesterday morning. Here are my conclusions:
There are two sources to this error
1. The GPIB, VISA, and DAQmxBase installers don't install their framework in the appropriate location. So the linker can't find them.
2. Telling Xcode where to find the frameworks doesn't work since apparently, the information doesn't propagate to the linker.
Solution
1. Installing the GPIB, VISA, or DAQmxBase packages as usual.
2. Finishing the installation manually by moving the frameworks to the appropriate location.
09-26-2012 05:47 AM - edited 09-26-2012 05:48 AM
09-26-2012 06:38 AM
09-30-2012 03:03 PM
This is slightly off-topic, but I had to comment when I saw the action at the bottom of your posting with the NI-France information. That auto-show of a graphic when hovering over the text; AWESOME! How did you code for that???
Thanks,
Dave
11-17-2012 05:27 PM
OK, the newer versions of the XCode expect frameworks in different place (relative to "/Applications/XCode/.." now, rather than the old "/Library/Frameworks" where VISA installs its frameworks)...however, you do not need to move VISA frameworks at all... Simply go to your project and in your target's "Build Settings->Search Paths" add "/Library/Frameworks" to "Framework Search Paths" setting.... that's all...
11-18-2012 05:38 AM
Thanks for yoyr reply. This is now a solved issue (as far as I am concerned anyway). But, of course, I tried what you suggest [implied in my original message], but it didn't work at the time.
On 09-26-2012 05:47 AM sci01 wrote:
2. Telling Xcode where to find the frameworks doesn't work since apparently, the information doesn't propagate to the linker.
I can't tell if this is still the case. But currently, I have other pressing and serious issues with one of these frameworks (DAQmx base) that are keeping me busy, so I don't have the time to investigate.
Note: I also tried to create aliases or symbolic links to the frameworks instead of copying the full frameworks. It didn't work either.
11-18-2012 04:22 PM
Hi sci01,
I do realize from your point of view you are sorted....i'm just adding this info for others who like me run into the same VISA problem when upgrading the XCode.
Framework search path does propagate to the linker - here is an snipet of linking stage ouput from XCode 4.5.2 build:
"... -F/Library/Frameworks ..."