<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: MAX externals in C++</title>
		<atom:link href="http://cycling74.com/forums/topic/max-externals-in-c/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/max-externals-in-c/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 17:23:32 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/max-externals-in-c/#post-34675</guid>
					<title><![CDATA[MAX externals in C++]]></title>
					<link>http://cycling74.com/forums/topic/max-externals-in-c/#post-34675</link>
					<pubDate>Tue, 20 Nov 2007 00:54:39 +0000</pubDate>
					<dc:creator>kp</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Everyone!</p>
<p>Can someone please tell me how I can create the External SDK to develop a basic C++ External ? Yes I have gone through all the messages before, and yes I saw a link to the page (www.mat.ucsb.edu/~wakefield/maxcpp.htm) and yes I read about FLEXT but both are very complicated and have a huge overhead to what I want to do.<br />
Does anybody have a very simple example with just a C++ Constructor because thats all I need ! no methods.. Just a Constructor/Destructor example. Or else does anybody have a tutorial as to how to get it done ?</p>
<p>By the way, I need this to link MAX to a multi-display Calibration API which in itself is a complicated program with a huge overhead and hence more overhead in linking C++ with MAX could not be tolerated&#8230;..</p>
<p>Really Looking for some help. Thanks everyone and happy Thanks Giving !</p>
<p>Prashanth Kannan<br />
University Of Southern California</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-externals-in-c/#post-117416</guid>
					<title><![CDATA[Re: MAX externals in C++]]></title>
					<link>http://cycling74.com/forums/topic/max-externals-in-c/#post-117416</link>
					<pubDate>Tue, 20 Nov 2007 08:49:05 +0000</pubDate>
					<dc:creator>Trond Lossius</dc:creator>

					<description>
						<![CDATA[
						<p>I would check out ttblue, the GNU LGPL C++ library of mainly DSP methods <br />
developed by Tim Place and used for tap.tools as well as several Jamoma <br />
externals.</p>
<p>There are examples of how to create Max externals from ttblue both in <br />
ttblue itself and in Jamoma.</p>
<p><a href="http://electrotap.net:9004/ttblue" rel="nofollow">http://electrotap.net:9004/ttblue</a></p>
<p><a href="http://www.jamoma.org" rel="nofollow">http://www.jamoma.org</a></p>
<p>Best,<br />
Trond</p>
<p>
prashanth wrote:<br />
> Hi Everyone!<br />
> <br />
> Can someone please tell me how I can create the External SDK to develop a basic C++ External ? Yes I have gone through all the messages before, and yes I saw a link to the page (www.mat.ucsb.edu/~wakefield/maxcpp.htm) and yes I read about FLEXT but both are very complicated and have a huge overhead to what I want to do.<br />
> Does anybody have a very simple example with just a C++ Constructor because thats all I need ! no methods.. Just a Constructor/Destructor example. Or else does anybody have a tutorial as to how to get it done ?<br />
> <br />
> By the way, I need this to link MAX to a multi-display Calibration API which in itself is a complicated program with a huge overhead and hence more overhead in linking C++ with MAX could not be tolerated&#8230;..<br />
> <br />
> Really Looking for some help. Thanks everyone and happy Thanks Giving !<br />
> <br />
> Prashanth Kannan<br />
> University Of Southern California<br />
> </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-externals-in-c/#post-117417</guid>
					<title><![CDATA[Re: MAX externals in C++]]></title>
					<link>http://cycling74.com/forums/topic/max-externals-in-c/#post-117417</link>
					<pubDate>Tue, 20 Nov 2007 09:56:29 +0000</pubDate>
					<dc:creator>Thijs Koerselman</dc:creator>

					<description>
						<![CDATA[
						<p>On Nov 20, 2007 12:54 AM, prashanth
<prashrock @gmail.com> wrote:</prashrock></p>
<p>><br />
> By the way, I need this to link MAX to a multi-display Calibration API<br />
> which in itself is a complicated program with a huge overhead and hence more<br />
> overhead in linking C++ with MAX could not be tolerated&#8230;..<br />
><br />
><br />
><br />
What makes you think the Graham&#8217;s template code will give you any overhead?<br />
I don&#8217;t think it is any slower than using straight C. There is no bridge<br />
code or inheritance or anything. Just a template.</p>
<p>The template looks complicated if you&#8217;re not used to it, but you don&#8217;t have<br />
to understand it at all to use it. I can send you a stripped down version of<br />
Graham&#8217;s template to do just max/obex instead of MSP, if you&#8217;re interested.</p>
<p>Best,<br />
Thijs</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-externals-in-c/#post-117418</guid>
					<title><![CDATA[Re: MAX externals in C++]]></title>
					<link>http://cycling74.com/forums/topic/max-externals-in-c/#post-117418</link>
					<pubDate>Tue, 20 Nov 2007 10:02:26 +0000</pubDate>
					<dc:creator>kp</dc:creator>

					<description>
						<![CDATA[
						<p>Yes,<br />
you are correct ! It LOOKS complicated to me. But when I tried compiling it in Visual Studio after setting the libraries properly it threw some error about some structure locally defined. I could&#8217;nt even debug it as I was not able to follow what was happening in the code ! <br />
A stripped down version would indeed be very very helpful!Thank you! All I need is just a constructor and a destructor in C++ for MAX. No other functionality&#8230;<br />
Thank you very much !<br />
Prashanth</p>
<p>> The template looks complicated if you&#8217;re not used to it, but you don&#8217;t have<br />
> to understand it at all to use it. I can send you a stripped down version of<br />
> Graham&#8217;s template to do just max/obex instead of MSP, if you&#8217;re interested.<br />
> <br />
> Best,<br />
> Thijs<br />
> <br />
> <br />
> <br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-externals-in-c/#post-117419</guid>
					<title><![CDATA[Re: MAX externals in C++]]></title>
					<link>http://cycling74.com/forums/topic/max-externals-in-c/#post-117419</link>
					<pubDate>Tue, 20 Nov 2007 12:21:13 +0000</pubDate>
					<dc:creator>Thijs Koerselman</dc:creator>

					<description>
						<![CDATA[
						<p>On Nov 20, 2007 10:02 AM, prashanth
<prashrock @gmail.com> wrote:</prashrock></p>
<p>><br />
> Yes,<br />
> you are correct ! It LOOKS complicated to me. But when I tried compiling<br />
> it in Visual Studio after setting the libraries properly it threw some error<br />
> about some structure locally defined. I could&#8217;nt even debug it as I was not<br />
> able to follow what was happening in the code !<br />
> A stripped down version would indeed be very very helpful!Thank you! All I<br />
> need is just a constructor and a destructor in C++ for MAX. No other<br />
> functionality&#8230;<br />
> Thank you very much !<br />
><br />
></p>
<p>I&#8217;ve stripped down one of my VS8 projects and cleaned up the code a bit<br />
further as well. I hope this can help others as well, so I put it on my<br />
server:</p>
<p><a href="http://www.nano-soundworks.com/temp/cpp.max.example.zip" rel="nofollow">http://www.nano-soundworks.com/temp/cpp.max.example.zip</a></p>
<p>The only thing you need to do is alter the paths to the libaries and max sdk<br />
so that the build project can find everything. That can&#8217;t be too hard;-)</p>
<p>The easiest way to convert it to your own project is to open the .vcproj and<br />
.def files in a text editor and do some find/replace magic. Good luck.</p>
<p>Best,<br />
Thijs</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-externals-in-c/#post-117420</guid>
					<title><![CDATA[Re: MAX externals in C++]]></title>
					<link>http://cycling74.com/forums/topic/max-externals-in-c/#post-117420</link>
					<pubDate>Wed, 21 Nov 2007 01:57:40 +0000</pubDate>
					<dc:creator>kp</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you very much Thijs!<br />
It worked like a charm. Now I would have to put in my C++ Code and test it out. I would update the results over here. A special thanks to Thijs for the code. Thank you all for the help :)<br />
Cheers !<br />
Prashanth.K</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

