Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Dev > Pro Tools Scripting SDK Toolkit
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-18-2023, 03:16 AM
LoTu LoTu is offline
Member
 
Join Date: Feb 2023
Location: Namur/Belgium
Posts: 1
Default Try Test The PTSLC_CPP

Hi all, can someone describe a bit more how to use the sdk ?

1: With the Cpp build

It seems I've built correctly the PTSLC_CPP.framework located inside the install folder following the python3 script -> running this command: python3 build_cpp_ptsl_sdk.py ptsl.client.cpp Debug

Then a new folder install was created: PTSL_SDK_CPP/install/Debug/PTSLC_CPP/PTSLC_CPP.framework/PTSLC_CPP and others files headers, Resources, Versions.

Ok then... I've created a new command line Xcode project just for testing...

I've add the PTSLC_CPP.framework ... but I've not found any way to include it in the main.cpp code...

2 With the gRPC proto stuff... What should I do for also test it ? I have no clue what to do with gRPC...

I someone has already a dummy javascript project example ? or any example project ... I think I'm close but I really cannot handle the inclusion or link the SDK files to any project.

Thanks for any help and advices.
Lo.
Reply With Quote
  #2  
Old 02-20-2023, 04:27 PM
kenley_m's Avatar
kenley_m kenley_m is offline
Avid
 
Join Date: Jan 2023
Location: N/A
Posts: 16
Default Re: Try Test The PTSLC_CPP

Greetings Lo,

I think you should try out the example command line app included with the sdk. It's called ptslcmd. It should provide the missing context you're seeking.

In examples/ptslcmd/Source/ptslcmd.cpp you will find the main function of ptslcmd. Take a look there for an example of how to integrate the client library with your main.cpp code.

If you're familiar with cmake and would like an overview of how the app's project is put together take a look at examples/ptslcmd/CMakeLists.txt. Otherwise, you can configure and generate a platform specific project for Xcode [or Visual Studio] using the command below. This will allow you to browse the configuration via an IDE and see the ptslcmd code in context.

python3 setup/build_cpp_ptsl_sdk.py ptslcmd.sdk Debug

After running this command you'll find the generated Xcode project in the examples/ptslcmd/MacBuild subdirectory of the sdk.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another PTLE Stress Test- "DaVerb Bounce Test" BioFeedback 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) 5 02-11-2004 05:48 AM
digi 001 failed test 22 shared memory test the originalman 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) 0 01-14-2003 07:31 AM
Test 55 and test 123 in Digitest livearts Pro Tools TDM Systems (Mac) 1 10-11-2001 08:36 AM
test hkaufman 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 0 03-06-2001 01:52 PM
Forum Broken test 1,2, test MacDaddy WGAR Pro Tools TDM Systems (Mac) 1 10-16-2000 06:56 PM


All times are GMT -7. The time now is 09:42 PM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com