LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Perforce on LabVIEW Mac

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?  

0 Kudos
Message 1 of 3
(3,504 Views)

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>.  

0 Kudos
Message 2 of 3
(3,496 Views)

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.

0 Kudos
Message 3 of 3
(3,474 Views)