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 05-16-2023, 05:52 PM
0x07dc 0x07dc is offline
Member
 
Join Date: Mar 2023
Location: United State of America
Posts: 8
Default Compiling SDK Program with GCC

Is it possible to compile a PTSLC_CPP SDK program with gcc/g++?

I have tried a couple different ways, but I am getting error regarding missing imports. I assume it is tied to the library that needs to be included.

I have tried these commands, but to no avail:
Code:
g++ -o TestProgram.exe TestProgram.cpp PTSLC_CPP.lib
Code:
g++ -o TestProgram.exe TestProgram.cpp -llibPTSLC_CPP.lib
I also tried using cl from MSVC, trying these:

Code:
cl /EHsc TestProgram.cpp /link /out:TestProgram.exe /LIBPATH:PTSLC_CPP.lib
Code:
cl /EHsc TestProgram.cpp /link /out:TestProgram.exe /LIBPATH:C:\Users\iamme\Documents\Programming\PTSL_SDK_CPP.2023.3.1.0.605875\Projects\PTSLPython\PTSLPython\PTSLC_CPP.lib
Code:
cl /EHsc TestProgram.cpp /link /out:TestProgram.exe /DEFAULTLIB:PTSLC_CPP.lib
On Visual Studio 2022, I can use the properties window and set Additional Dependencies, and it compiles fine. I was wondering why I cannot do this with g++ (or even cl from MSVC).
Reply With Quote
  #2  
Old 07-20-2023, 06:57 AM
kenley_m's Avatar
kenley_m kenley_m is offline
Avid
 
Join Date: Jan 2023
Location: N/A
Posts: 16
Default Re: Compiling SDK Program with GCC

Hi! Sorry for the delay in responding, but if you're still having this issue could you post the errors you're seeing? On the surface it looks like you may be missing some dependencies that we make available via conan. Please double check the cmake configuration file that we use for the ptslcmd example app to ensure you've included all known client dependencies.
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
Simple question about compiling shabbar3 Pro Tools 9 2 03-29-2013 08:17 PM
compiling for album, mix and mastering shabbar3 Pro Tools 9 1 02-23-2013 04:36 PM
Need new Cd Burning/compiling software! Leadfinger 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 9 08-31-2010 05:44 AM
compiling vocals - I'm doing something wrong Joseph Anderson 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 2 03-31-2002 05:37 AM
Compiling vocals FK Tips & Tricks 5 07-06-2001 07:02 AM


All times are GMT -7. The time now is 04:10 PM.


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