06-17-2015 10:43 AM
I have OS X Yosemite, LabVIEW 2015, and P4V (Perforce visual client). When in LabVIEW I select Tools->Source Control->Configure Source Control, the dialog comes up with Source Control Provider Name as "<None>". In help it says that "On non-Windows platforms, LabVIEW runs a query to determine if Perforce is installed. If so Perforce Command Line option appears in the Source Control Provider Name pull-down menu."
So what do I have to do to get this working? Download a seperate P4 command line client?
06-17-2015 11:07 AM
I've tried downloading P4 command line client , entered terminal and typed:
chmod +x p4
./p4 set P4PORT=192.168.0.123:1666
./p4 set P4USER=myusername
./p4 set P4CLIENT=myclientspec
then I tried "./p4 opened" which did indeed show me a list of files I had checked out in P4V.
However, in LabVIEW, Configure Source Control still shows <None>.
06-17-2015 12:42 PM
Success!
The trick was that I had downloaded P4 from Perforce.com (www.perforce.com/downloads/helix#product-6), but it was just sitting in my local downloads folder (I'm a UNIX novice). I needed to further execute:
cp p4 /usr/bin (I imagine that /usr/local/bin would also work)
After that, from any directory in Terminal you should be able to run "p4" and see it work.
Now when I start LabVIEW, and go to configure source control it offers Perforce in the dropdown.