[Stk] ask for C++ version in WindowsXP

SY yshi_music@yahoo.com.cn
Wed, 3 Oct 2007 12:43:54 -0400 (EDT)


--0-872544121-1191429834=:52741
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi Yi-Huei,

I would suggest you try the MinGW. I've successfully compiled STK with MinGW (www.mingw.org) in Windows XP in the last year. The only problem I've met is that for creating sound in realtime, a lib called ole32.lib should be included:
LIBRARY = -lwinmm -ldsound -lWsock32 -lm -lole32
Also, the following definition should be included:
DEFS    += -D__WINDOWS_MM__ -D__WINDOWS_DS__ -D__LITTLE_ENDIAN__

Good luck!

Shi Yong
yong.shi2@mail.mcgill.ca




Stephen Sinclair <sinclair@music.mcgill.ca> wrote: Hi Yi-Huei,

I've successfully compiled STK in the past using Cygwin. (I may have had
to tweak some files..)

However, I was unable to get the DirectSound driver working under
Cygwin, which is why I never bothered to suggest supporting it. (It did
work properly in non-realtime mode, so I could create sound and write it
to a file without problems.) Perhaps it might work using MingW, you're
certainly welcome to give it a shot!


Steve


yihuei2m@yahoo.com.tw wrote:
> Hi seniors,
>
>
>
> I can use C language but I'm not familiar with Visual C++. I got the information: "STK has been tested on Windows platforms using the Visual .NET compiler only. It is assumed here that you're familiar with Visual C++ and its particular idiosyncrasies. STK won't compile in Visual C++ 6.0 any more."
>
>
>
> But I'm not sure if I must install Visual Studio.NET to run Visual.NET because there is some difficulty in installing such a huge SW. Or I only need to install parts of Studio.NET then I can use Visual C++.NET. Or I still can use C++ 6.0 to run most  STK. 
>
> BTW, Is there any other C++ which can be used to run STK? Actually I've tried Dev C++ but got error messages.
>
> Thank you very much,
> Yi-Huei Chen
>
>
>
>
>
>
>       ____________________________________________________________________________________
> 想及時通知通訊錄裡的所有親朋好友好消息,就來 Yahoo!奇摩電子信箱發簡訊!
> http://tw.mobile.yahoo.com/texts/mail.php
>
> _______________________________________________
> Stk mailing list
> Stk@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>   

_______________________________________________
Stk mailing list
Stk@ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/stk


       
---------------------------------
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail  
--0-872544121-1191429834=:52741
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi Yi-Huei,<br><br>I would suggest you try the MinGW. I've successfully compiled STK with MinGW (www.mingw.org) in Windows XP in the last year. The only problem I've met is that for creating sound in realtime, a lib called ole32.lib should be included:<br>LIBRARY = -lwinmm -ldsound -lWsock32 -lm -lole32<br>Also, the following definition should be included:<br>DEFS&nbsp;&nbsp;&nbsp; += -D__WINDOWS_MM__ -D__WINDOWS_DS__ -D__LITTLE_ENDIAN__<br><br>Good luck!<br><br>Shi Yong<br>yong.shi2@mail.mcgill.ca<br><br><br><br><br><b><i>Stephen Sinclair &lt;sinclair@music.mcgill.ca&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Yi-Huei,<br><br>I've successfully compiled STK in the past using Cygwin. (I may have had<br>to tweak some files..)<br><br>However, I was unable to get the DirectSound driver working under<br>Cygwin, which is why I never bothered to suggest supporting it. (It did<br>work
 properly in non-realtime mode, so I could create sound and write it<br>to a file without problems.) Perhaps it might work using MingW, you're<br>certainly welcome to give it a shot!<br><br><br>Steve<br><br><br>yihuei2m@yahoo.com.tw wrote:<br>&gt; Hi seniors,<br>&gt;<br>&gt;<br>&gt;<br>&gt; I can use C language but I'm not familiar with Visual C++. I got the information: "STK has been tested on Windows platforms using the Visual .NET compiler only. It is assumed here that you're familiar with Visual C++ and its particular idiosyncrasies. STK won't compile in Visual C++ 6.0 any more."<br>&gt;<br>&gt;<br>&gt;<br>&gt; But I'm not sure if I must install Visual Studio.NET to run Visual.NET because there is some difficulty in installing such a huge SW. Or I only need to install parts of Studio.NET then I can use Visual C++.NET. Or I still can use C++ 6.0 to run most  STK. <br>&gt;<br>&gt; BTW, Is there any other C++ which can be used to run STK? Actually I've tried Dev C++ but
 got error messages.<br>&gt;<br>&gt; Thank you very much,<br>&gt; Yi-Huei Chen<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;       ____________________________________________________________________________________<br>&gt; 想及時通知通訊錄裡的所有親朋好友好消息,就來 Yahoo!奇摩電子信箱發簡訊!<br>&gt; http://tw.mobile.yahoo.com/texts/mail.php<br>&gt;<br>&gt; _______________________________________________<br>&gt; Stk mailing list<br>&gt; Stk@ccrma.stanford.edu<br>&gt; http://ccrma-mail.stanford.edu/mailman/listinfo/stk<br>&gt;   <br><br>_______________________________________________<br>Stk mailing list<br>Stk@ccrma.stanford.edu<br>http://ccrma-mail.stanford.edu/mailman/listinfo/stk<br></blockquote><br><p>&#32;
      <hr size=1>Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the <a href="http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca"><b>All-new Yahoo! Mail </b></a> 

--0-872544121-1191429834=:52741--