[Portaudio] moving towards a stable snapshot
Dmitry Kostjuchenko
dmitrykos at iauxsoft.com
Fri Jul 9 14:19:59 EDT 2010
Hi Reid and Chris!
To avoid this compilation bug, in project settings WINVER must be defined which must have >= 0x0501 value. Thus I suppose makefile shall be updated to reflect it probably. I do not remember if WINVER is ever defined by inclusion of Windopws SDK specific headers.
Wishes,
Dmitry.
----- Original Message -----
From: Reid Bishop
To: 'Portaudio Mailing List'
Sent: Friday, July 09, 2010 10:12 AM
Subject: Re: [Portaudio] moving towards a stable snapshot
Chris,
Yes- I had problems with the InterlockedIncrement_xxx functions in combase.h. The error I was getting:
combase.h(222) : error C2373: 'InterlockedIncrement' : redefinition; different type modifiers
1> C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\winbase.h(2286) : see declaration of 'InterlockedIncrement'
1>c:\users\reid\documents\visual studio 2008\projectsc++\portaudiotrunk-mine\src\hostapi\asio\asiosdk\common\combase.h(222) : error C2491: 'InterlockedIncrement' : definition of dllimport function not allowed
1>c:\users\reid\documents\visual studio 2008\projectsc++\portaudiotrunk-mine\src\hostapi\asio\asiosdk\common\combase.h(222) : error C2264: 'InterlockedIncrement' : error in function definition or declaration; function not called
I admit I didn't have the best approach solving this- I simply commented these functions out. It seems the fact these redefined functions were already present in the Windows 7 SDK. This problem occurred whether compiling for 32bit or 64 bit target.
-Reid-
W0CNN
CNNSDR Development
------------------------------------------------------------------------------
From: portaudio-bounces at music.columbia.edu [mailto:portaudio-bounces at music.columbia.edu] On Behalf Of c319chris at aol.com
Sent: Friday, July 09, 2010 12:40 AM
To: portaudio at music.columbia.edu
Subject: Re: [Portaudio] moving towards a stable snapshot
Did you have to make the changes to the ASIO source for 32-bit or 64-bit compilation? It compiles fine for me at 32 bits without modification.
I'll post my tutorial and we can compare. Leaving out the tiniest detail can mean the difference between successful compilation and pulling one's hair out.
------------------------------------------------------------------------------
_______________________________________________
Portaudio mailing list
Portaudio at music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://music.columbia.edu/pipermail/portaudio/attachments/20100709/ca1351aa/attachment-0001.html>
More information about the Portaudio
mailing list