Closed 469065768 closed 1 year ago
WaveShop already supports MP3. Note the R/W in the MP3 column: http://waveshop.sourceforge.net/Help/Loose_ends/File_formats.htm
On Fri, Mar 23, 2018 at 10:07 AM, 469065768 notifications@github.com wrote:
wiil u consider any other audio format,such as mp3...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/victimofleisure/WaveShop/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AE0mJruASEF-sAjcN2piGbDih0At0ARlks5thQGxgaJpZM4S4xsM .
How do I fix this error? I am having trouble with the build.
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32 ------ 1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
which version of Visual studio you’re using?
Sent from my iPhone
On Apr 15, 2021, at 5:54 PM, v6Point0 @.***> wrote:
How do I fix this error? I am having trouble with the build.
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32 ------ 1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi Chris,
Good to hear from you. Thank you for responding. I actually left my message as a hail marry out of frustration not really expecting an answer. Please excuse my overjoy with receiving a response.
I am using Visual Studio v16.9.3. The original build failed with the following errors: [image: image.png] I was able to fix the cl : command line warning for option 'Gm" by making a simple change within the program setting code generation property for Enabling Minimum Rebuild to "NO". Other than that, I am at a complete loss. I keep getting a _WIN32_WINNT not defined. Defaulting to -WIN32_WINNT_MAXVER. I initially added the following lines to WinSDKver.h from a MicroSoft help page for updating WINVER https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-160 :
2003
2008
This did not work. I did not get all the other build error to resolve until I REMed out the line that contains #define _WIN32_WINNT_MAXVER 0x0A00 and #define _WIN32_WINNT 0x0A00 which is how I ended up with the fatal error C1189: #error.
1>StdAfx.cpp 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(28,1): error C2556: 'int round(double)': overloaded function differs only by return type from 'double round(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(27,12): error C2371: 'round': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(42,1): error C2556: 'int trunc(double)': overloaded function differs only by return type from 'double trunc(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(41,12): error C2371: 'trunc': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(102,9): error C2065: 'round': undeclared identifier 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(111,9): error C2065: 'trunc': undeclared identifier 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Or if I Rem them out the build look like this:
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I have tried to change the WINVER definition in the project properties and the precompiled header. What should I do?
Thanks again,
Windows 10 Pro 20H2 19042.928 Dell Latitude E6440 Intel Core i7-4610M @3.GHz, 16GB RAM Visual Studio Community 16.9.3, SDK 10 NET Framework V4.8.04084
On Thu, Apr 15, 2021 at 3:12 PM Chris Korda @.***> wrote:
which version of Visual studio you’re using?
Sent from my iPhone
On Apr 15, 2021, at 5:54 PM, v6Point0 @.***> wrote:
How do I fix this error? I am having trouble with the build.
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-820761601, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVH6NCDYPDAE7XD4EUFKOTTI5QENANCNFSM4EXDDMGA .
--
Vanessa Adams
Founder
Nquist LLC 323-352-9874 | 323-481-5826 @.*** www.nquist.net 2931 S. Sepulveda Blvd. Suite D, Los Angeles, Ca 90064
[image: facebook] https://www.facebook.com/NquistLLC [image: linkedin] https://www.linkedin.com/in/vanessa-adams-a3644b174/
Hi Vanessa,
As shipped, the WaveShop project fails to build under Visual Studio 2012. The root causes are:
Please download this zip file ASAP and let me know when you have done so as I may delete it later to save DropBox space. Once you have downloaded it, try building it in your version of Visual Studio.
One possible reason the project might still fail to build is that it depends on DirectSound, which is a deprecated component of DirectX 8. You definitely need the DirectSound headers and corresponding link libraries to build WaveShop. There is no way around that, short of replacing the DSPlayer and DSCapture classes. One way to tell whether DirectSound is available is to search your development hard drive for the files dsound.h and dsound.lib. If you don't find those files anywhere, DirectSound isn't available and you have a problem. My understanding is that starting with Windows 8, most of the DirectX APIs were bundled into the Windows SDK. However DirectSound may not be included. In that case you may need to download and install the legacy DirectX SDK, which you can find here: https://www.microsoft.com/en-us/download/details.aspx?id=6812
I hope that helps.
Chris
On Fri, Apr 16, 2021 at 3:35 PM v6Point0 @.***> wrote:
Hi Chris,
Good to hear from you. Thank you for responding. I actually left my message as a hail marry out of frustration not really expecting an answer. Please excuse my overjoy with receiving a response.
I am using Visual Studio v16.9.3. The original build failed with the following errors: [image: image.png] I was able to fix the cl : command line warning for option 'Gm" by making a simple change within the program setting code generation property for Enabling Minimum Rebuild to "NO". Other than that, I am at a complete loss. I keep getting a _WIN32_WINNT not defined. Defaulting to -WIN32_WINNT_MAXVER. I initially added the following lines to WinSDKver.h from a MicroSoft help page for updating WINVER
https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-160 :
define _WIN32_WINNT_NT4 0x0400 // Windows NT 4.0
define _WIN32_WINNT_WIN2K 0x0500 // Windows 2000
define _WIN32_WINNT_WINXP 0x0501 // Windows XP
define _WIN32_WINNT_WS03 0x0502 // Windows Server
2003
define _WIN32_WINNT_WIN6 0x0600 // Windows Vista
define _WIN32_WINNT_VISTA 0x0600 // Windows Vista
define _WIN32_WINNT_WS08 0x0600 // Windows Server
2008
define _WIN32_WINNT_LONGHORN 0x0600 // Windows Vista
define _WIN32_WINNT_WIN7 0x0601 // Windows 7
define _WIN32_WINNT_WIN8 0x0602 // Windows 8
define _WIN32_WINNT_WINBLUE 0x0603 // Windows 8.1
define _WIN32_WINNT_WINTHRESHOLD 0x0A00 // Windows 10
define _WIN32_WINNT_WIN10 0x0A00 // Windows 10
This did not work. I did not get all the other build error to resolve until I REMed out the line that contains #define _WIN32_WINNT_MAXVER 0x0A00 and #define _WIN32_WINNT 0x0A00 which is how I ended up with the fatal error C1189: #error.
So, again, if I leave the _WIN32_WINNT_MAXVER and #define _WIN32_WINNT definition in I get a build that looks like this: Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(28,1): error C2556: 'int round(double)': overloaded function differs only by return type from 'double round(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(27,12): error C2371: 'round': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(42,1): error C2556: 'int trunc(double)': overloaded function differs only by return type from 'double trunc(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(41,12): error C2371: 'trunc': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(102,9): error C2065: 'round': undeclared identifier 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(111,9): error C2065: 'trunc': undeclared identifier 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Or if I Rem them out the build look like this:
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I have tried to change the WINVER definition in the project properties and the precompiled header. What should I do?
Thanks again,
Windows 10 Pro 20H2 19042.928 Dell Latitude E6440 Intel Core i7-4610M @3.GHz, 16GB RAM Visual Studio Community 16.9.3, SDK 10 NET Framework V4.8.04084
On Thu, Apr 15, 2021 at 3:12 PM Chris Korda @.***> wrote:
which version of Visual studio you’re using?
Sent from my iPhone
On Apr 15, 2021, at 5:54 PM, v6Point0 @.***> wrote:
How do I fix this error? I am having trouble with the build.
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header.
1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-820761601 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ATVH6NCDYPDAE7XD4EUFKOTTI5QENANCNFSM4EXDDMGA
.
--
Vanessa Adams
Founder
Nquist LLC 323-352-9874 | 323-481-5826 @.*** www.nquist.net 2931 S. Sepulveda Blvd. Suite D, Los Angeles, Ca 90064
[image: facebook] https://www.facebook.com/NquistLLC [image: linkedin] https://www.linkedin.com/in/vanessa-adams-a3644b174/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-821518232, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGSMJRUOVL7NQ3PUALS2Y3TJCGQPANCNFSM4EXDDMGA .
PS On closer inspection I can see another reason why even the revised VS2012 project might not build. It seems that C++11 added round and trunc functions. That's a problem because I define those same functions at global scope, via Round.h which is included in the precompiled header (stdafx.h) at the start of the build. So you may need to solve that conflict too, in which case one easy solution would be to comment out my round and trunc functions, in both Round.h and Round.cpp. But don't remove those files or touch the other functions (such as round64 and trunc64) as the project actively uses them. It's also possible you could turn off the C++11 extensions somehow in the project settings and that might work too.
On Fri, Apr 16, 2021 at 7:29 PM ck @.***> wrote:
Hi Vanessa,
As shipped, the WaveShop project fails to build under Visual Studio 2012. The root causes are:
- The project uses the class name CWinAppEx, which conflicts with MFC's appropriation of that name.
- The project uses the deprecated DirectX functions DXGetErrorString and DXGetErrorDescription. Fortunately these problems are easily remedied. I enclose below a link to a slightly revised version of the project which builds without errors in VS2012 under Windows 7 SP 1. https://www.dropbox.com/s/ke76ac63t8xlsu1/WaveShopVS2012.zip?dl=0
Please download this zip file ASAP and let me know when you have done so as I may delete it later to save DropBox space. Once you have downloaded it, try building it in your version of Visual Studio.
One possible reason the project might still fail to build is that it depends on DirectSound, which is a deprecated component of DirectX 8. You definitely need the DirectSound headers and corresponding link libraries to build WaveShop. There is no way around that, short of replacing the DSPlayer and DSCapture classes. One way to tell whether DirectSound is available is to search your development hard drive for the files dsound.h and dsound.lib. If you don't find those files anywhere, DirectSound isn't available and you have a problem. My understanding is that starting with Windows 8, most of the DirectX APIs were bundled into the Windows SDK. However DirectSound may not be included. In that case you may need to download and install the legacy DirectX SDK, which you can find here: https://www.microsoft.com/en-us/download/details.aspx?id=6812
I hope that helps.
Chris
On Fri, Apr 16, 2021 at 3:35 PM v6Point0 @.***> wrote:
Hi Chris,
Good to hear from you. Thank you for responding. I actually left my message as a hail marry out of frustration not really expecting an answer. Please excuse my overjoy with receiving a response.
I am using Visual Studio v16.9.3. The original build failed with the following errors: [image: image.png] I was able to fix the cl : command line warning for option 'Gm" by making a simple change within the program setting code generation property for Enabling Minimum Rebuild to "NO". Other than that, I am at a complete loss. I keep getting a _WIN32_WINNT not defined. Defaulting to -WIN32_WINNT_MAXVER. I initially added the following lines to WinSDKver.h from a MicroSoft help page for updating WINVER
https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-160 :
define _WIN32_WINNT_NT4 0x0400 // Windows NT 4.0
define _WIN32_WINNT_WIN2K 0x0500 // Windows 2000
define _WIN32_WINNT_WINXP 0x0501 // Windows XP
define _WIN32_WINNT_WS03 0x0502 // Windows Server
2003
define _WIN32_WINNT_WIN6 0x0600 // Windows Vista
define _WIN32_WINNT_VISTA 0x0600 // Windows Vista
define _WIN32_WINNT_WS08 0x0600 // Windows Server
2008
define _WIN32_WINNT_LONGHORN 0x0600 // Windows Vista
define _WIN32_WINNT_WIN7 0x0601 // Windows 7
define _WIN32_WINNT_WIN8 0x0602 // Windows 8
define _WIN32_WINNT_WINBLUE 0x0603 // Windows 8.1
define _WIN32_WINNT_WINTHRESHOLD 0x0A00 // Windows 10
define _WIN32_WINNT_WIN10 0x0A00 // Windows 10
This did not work. I did not get all the other build error to resolve until I REMed out the line that contains #define _WIN32_WINNT_MAXVER 0x0A00 and #define _WIN32_WINNT 0x0A00 which is how I ended up with the fatal error C1189: #error.
So, again, if I leave the _WIN32_WINNT_MAXVER and #define _WIN32_WINNT definition in I get a build that looks like this: Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(28,1): error C2556: 'int round(double)': overloaded function differs only by return type from 'double round(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(27,12): error C2371: 'round': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(42,1): error C2556: 'int trunc(double)': overloaded function differs only by return type from 'double trunc(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(41,12): error C2371: 'trunc': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(102,9): error C2065: 'round': undeclared identifier 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(111,9): error C2065: 'trunc': undeclared identifier 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
Or if I Rem them out the build look like this:
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
I have tried to change the WINVER definition in the project properties and the precompiled header. What should I do?
Thanks again,
Windows 10 Pro 20H2 19042.928 Dell Latitude E6440 Intel Core i7-4610M @3.GHz, 16GB RAM Visual Studio Community 16.9.3, SDK 10 NET Framework V4.8.04084
On Thu, Apr 15, 2021 at 3:12 PM Chris Korda @.***> wrote:
which version of Visual studio you’re using?
Sent from my iPhone
On Apr 15, 2021, at 5:54 PM, v6Point0 @.***> wrote:
How do I fix this error? I am having trouble with the build.
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header.
1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-820761601 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ATVH6NCDYPDAE7XD4EUFKOTTI5QENANCNFSM4EXDDMGA
.
--
Vanessa Adams
Founder
Nquist LLC 323-352-9874 | 323-481-5826 @.*** www.nquist.net 2931 S. Sepulveda Blvd. Suite D, Los Angeles, Ca 90064
[image: facebook] https://www.facebook.com/NquistLLC [image: linkedin] https://www.linkedin.com/in/vanessa-adams-a3644b174/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-821518232, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGSMJRUOVL7NQ3PUALS2Y3TJCGQPANCNFSM4EXDDMGA .
Thanks Chris! I've got everything I need for now. Thank you for responding. I will contact you if I have any further issues. Of course, you are very welcome to let me know of any further discoveries.
Thanks again, -V6Point0
On Fri, Apr 16, 2021 at 4:54 PM Chris Korda @.***> wrote:
PS On closer inspection I can see another reason why even the revised VS2012 project might not build. It seems that C++11 added round and trunc functions. That's a problem because I define those same functions at global scope, via Round.h which is included in the precompiled header (stdafx.h) at the start of the build. So you may need to solve that conflict too, in which case one easy solution would be to comment out my round and trunc functions, in both Round.h and Round.cpp. But don't remove those files or touch the other functions (such as round64 and trunc64) as the project actively uses them. It's also possible you could turn off the C++11 extensions somehow in the project settings and that might work too.
On Fri, Apr 16, 2021 at 7:29 PM ck @.***> wrote:
Hi Vanessa,
As shipped, the WaveShop project fails to build under Visual Studio 2012. The root causes are:
- The project uses the class name CWinAppEx, which conflicts with MFC's appropriation of that name.
- The project uses the deprecated DirectX functions DXGetErrorString and DXGetErrorDescription. Fortunately these problems are easily remedied. I enclose below a link to a slightly revised version of the project which builds without errors in VS2012 under Windows 7 SP 1. https://www.dropbox.com/s/ke76ac63t8xlsu1/WaveShopVS2012.zip?dl=0
Please download this zip file ASAP and let me know when you have done so as I may delete it later to save DropBox space. Once you have downloaded it, try building it in your version of Visual Studio.
One possible reason the project might still fail to build is that it depends on DirectSound, which is a deprecated component of DirectX 8. You definitely need the DirectSound headers and corresponding link libraries to build WaveShop. There is no way around that, short of replacing the DSPlayer and DSCapture classes. One way to tell whether DirectSound is available is to search your development hard drive for the files dsound.h and dsound.lib. If you don't find those files anywhere, DirectSound isn't available and you have a problem. My understanding is that starting with Windows 8, most of the DirectX APIs were bundled into the Windows SDK. However DirectSound may not be included. In that case you may need to download and install the legacy DirectX SDK, which you can find here: https://www.microsoft.com/en-us/download/details.aspx?id=6812
I hope that helps.
Chris
On Fri, Apr 16, 2021 at 3:35 PM v6Point0 @.***> wrote:
Hi Chris,
Good to hear from you. Thank you for responding. I actually left my message as a hail marry out of frustration not really expecting an answer. Please excuse my overjoy with receiving a response.
I am using Visual Studio v16.9.3. The original build failed with the following errors: [image: image.png] I was able to fix the cl : command line warning for option 'Gm" by making a simple change within the program setting code generation property for Enabling Minimum Rebuild to "NO". Other than that, I am at a complete loss. I keep getting a _WIN32_WINNT not defined. Defaulting to -WIN32_WINNT_MAXVER. I initially added the following lines to WinSDKver.h from a MicroSoft help page for updating WINVER
https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-160 :
define _WIN32_WINNT_NT4 0x0400 // Windows NT 4.0
define _WIN32_WINNT_WIN2K 0x0500 // Windows 2000
define _WIN32_WINNT_WINXP 0x0501 // Windows XP
define _WIN32_WINNT_WS03 0x0502 // Windows Server
2003
define _WIN32_WINNT_WIN6 0x0600 // Windows Vista
define _WIN32_WINNT_VISTA 0x0600 // Windows Vista
define _WIN32_WINNT_WS08 0x0600 // Windows Server
2008
define _WIN32_WINNT_LONGHORN 0x0600 // Windows Vista
define _WIN32_WINNT_WIN7 0x0601 // Windows 7
define _WIN32_WINNT_WIN8 0x0602 // Windows 8
define _WIN32_WINNT_WINBLUE 0x0603 // Windows 8.1
define _WIN32_WINNT_WINTHRESHOLD 0x0A00 // Windows 10
define _WIN32_WINNT_WIN10 0x0A00 // Windows 10
This did not work. I did not get all the other build error to resolve until I REMed out the line that contains #define _WIN32_WINNT_MAXVER 0x0A00 and #define _WIN32_WINNT 0x0A00 which is how I ended up with the fatal error C1189: #error.
So, again, if I leave the _WIN32_WINNT_MAXVER and #define _WIN32_WINNT definition in I get a build that looks like this: Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(28,1): error C2556: 'int round(double)': overloaded function differs only by return type from 'double round(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(27,12): error C2371: 'round': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(42,1): error C2556: 'int trunc(double)': overloaded function differs only by return type from 'double trunc(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(41,12): error C2371: 'trunc': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(102,9): error C2065: 'round': undeclared identifier 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(111,9): error C2065: 'trunc': undeclared identifier 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
Or if I Rem them out the build look like this:
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
I have tried to change the WINVER definition in the project properties and the precompiled header. What should I do?
Thanks again,
Windows 10 Pro 20H2 19042.928 Dell Latitude E6440 Intel Core i7-4610M @3.GHz, 16GB RAM Visual Studio Community 16.9.3, SDK 10 NET Framework V4.8.04084
On Thu, Apr 15, 2021 at 3:12 PM Chris Korda @.***> wrote:
which version of Visual studio you’re using?
Sent from my iPhone
On Apr 15, 2021, at 5:54 PM, v6Point0 @.***> wrote:
How do I fix this error? I am having trouble with the build.
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1):
fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header.
1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <
https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-820761601
, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ATVH6NCDYPDAE7XD4EUFKOTTI5QENANCNFSM4EXDDMGA
.
--
Vanessa Adams
Founder
Nquist LLC 323-352-9874 | 323-481-5826 @.*** www.nquist.net 2931 S. Sepulveda Blvd. Suite D, Los Angeles, Ca 90064
[image: facebook] https://www.facebook.com/NquistLLC [image: linkedin] <https://www.linkedin.com/in/vanessa-adams-a3644b174/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-821518232 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABGSMJRUOVL7NQ3PUALS2Y3TJCGQPANCNFSM4EXDDMGA
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-821727395, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVH6NAXBX26FUUGVKVWHK3TJDE2BANCNFSM4EXDDMGA .
--
Vanessa Adams
Founder
Nquist LLC 323-352-9874 | 323-481-5826 @.*** www.nquist.net 2931 S. Sepulveda Blvd. Suite D, Los Angeles, Ca 90064
[image: facebook] https://www.facebook.com/NquistLLC [image: linkedin] https://www.linkedin.com/in/vanessa-adams-a3644b174/
There is no Round.cpp! Is the file missing on GitHub?
On Fri, Apr 16, 2021 at 4:54 PM Chris Korda @.***> wrote:
PS On closer inspection I can see another reason why even the revised VS2012 project might not build. It seems that C++11 added round and trunc functions. That's a problem because I define those same functions at global scope, via Round.h which is included in the precompiled header (stdafx.h) at the start of the build. So you may need to solve that conflict too, in which case one easy solution would be to comment out my round and trunc functions, in both Round.h and Round.cpp. But don't remove those files or touch the other functions (such as round64 and trunc64) as the project actively uses them. It's also possible you could turn off the C++11 extensions somehow in the project settings and that might work too.
On Fri, Apr 16, 2021 at 7:29 PM ck @.***> wrote:
Hi Vanessa,
As shipped, the WaveShop project fails to build under Visual Studio 2012. The root causes are:
- The project uses the class name CWinAppEx, which conflicts with MFC's appropriation of that name.
- The project uses the deprecated DirectX functions DXGetErrorString and DXGetErrorDescription. Fortunately these problems are easily remedied. I enclose below a link to a slightly revised version of the project which builds without errors in VS2012 under Windows 7 SP 1. https://www.dropbox.com/s/ke76ac63t8xlsu1/WaveShopVS2012.zip?dl=0
Please download this zip file ASAP and let me know when you have done so as I may delete it later to save DropBox space. Once you have downloaded it, try building it in your version of Visual Studio.
One possible reason the project might still fail to build is that it depends on DirectSound, which is a deprecated component of DirectX 8. You definitely need the DirectSound headers and corresponding link libraries to build WaveShop. There is no way around that, short of replacing the DSPlayer and DSCapture classes. One way to tell whether DirectSound is available is to search your development hard drive for the files dsound.h and dsound.lib. If you don't find those files anywhere, DirectSound isn't available and you have a problem. My understanding is that starting with Windows 8, most of the DirectX APIs were bundled into the Windows SDK. However DirectSound may not be included. In that case you may need to download and install the legacy DirectX SDK, which you can find here: https://www.microsoft.com/en-us/download/details.aspx?id=6812
I hope that helps.
Chris
On Fri, Apr 16, 2021 at 3:35 PM v6Point0 @.***> wrote:
Hi Chris,
Good to hear from you. Thank you for responding. I actually left my message as a hail marry out of frustration not really expecting an answer. Please excuse my overjoy with receiving a response.
I am using Visual Studio v16.9.3. The original build failed with the following errors: [image: image.png] I was able to fix the cl : command line warning for option 'Gm" by making a simple change within the program setting code generation property for Enabling Minimum Rebuild to "NO". Other than that, I am at a complete loss. I keep getting a _WIN32_WINNT not defined. Defaulting to -WIN32_WINNT_MAXVER. I initially added the following lines to WinSDKver.h from a MicroSoft help page for updating WINVER
https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-160 :
define _WIN32_WINNT_NT4 0x0400 // Windows NT 4.0
define _WIN32_WINNT_WIN2K 0x0500 // Windows 2000
define _WIN32_WINNT_WINXP 0x0501 // Windows XP
define _WIN32_WINNT_WS03 0x0502 // Windows Server
2003
define _WIN32_WINNT_WIN6 0x0600 // Windows Vista
define _WIN32_WINNT_VISTA 0x0600 // Windows Vista
define _WIN32_WINNT_WS08 0x0600 // Windows Server
2008
define _WIN32_WINNT_LONGHORN 0x0600 // Windows Vista
define _WIN32_WINNT_WIN7 0x0601 // Windows 7
define _WIN32_WINNT_WIN8 0x0602 // Windows 8
define _WIN32_WINNT_WINBLUE 0x0603 // Windows 8.1
define _WIN32_WINNT_WINTHRESHOLD 0x0A00 // Windows 10
define _WIN32_WINNT_WIN10 0x0A00 // Windows 10
This did not work. I did not get all the other build error to resolve until I REMed out the line that contains #define _WIN32_WINNT_MAXVER 0x0A00 and #define _WIN32_WINNT 0x0A00 which is how I ended up with the fatal error C1189: #error.
So, again, if I leave the _WIN32_WINNT_MAXVER and #define _WIN32_WINNT definition in I get a build that looks like this: Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(28,1): error C2556: 'int round(double)': overloaded function differs only by return type from 'double round(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(27,12): error C2371: 'round': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(42,1): error C2556: 'int trunc(double)': overloaded function differs only by return type from 'double trunc(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(41,12): error C2371: 'trunc': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(102,9): error C2065: 'round': undeclared identifier 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(111,9): error C2065: 'trunc': undeclared identifier 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
Or if I Rem them out the build look like this:
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
I have tried to change the WINVER definition in the project properties and the precompiled header. What should I do?
Thanks again,
Windows 10 Pro 20H2 19042.928 Dell Latitude E6440 Intel Core i7-4610M @3.GHz, 16GB RAM Visual Studio Community 16.9.3, SDK 10 NET Framework V4.8.04084
On Thu, Apr 15, 2021 at 3:12 PM Chris Korda @.***> wrote:
which version of Visual studio you’re using?
Sent from my iPhone
On Apr 15, 2021, at 5:54 PM, v6Point0 @.***> wrote:
How do I fix this error? I am having trouble with the build.
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1):
fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header.
1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <
https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-820761601
, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ATVH6NCDYPDAE7XD4EUFKOTTI5QENANCNFSM4EXDDMGA
.
--
Vanessa Adams
Founder
Nquist LLC 323-352-9874 | 323-481-5826 @.*** www.nquist.net 2931 S. Sepulveda Blvd. Suite D, Los Angeles, Ca 90064
[image: facebook] https://www.facebook.com/NquistLLC [image: linkedin] <https://www.linkedin.com/in/vanessa-adams-a3644b174/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-821518232 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABGSMJRUOVL7NQ3PUALS2Y3TJCGQPANCNFSM4EXDDMGA
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-821727395, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVH6NAXBX26FUUGVKVWHK3TJDE2BANCNFSM4EXDDMGA .
--
Vanessa Adams
Founder
Nquist LLC 323-352-9874 | 323-481-5826 @.*** www.nquist.net 2931 S. Sepulveda Blvd. Suite D, Los Angeles, Ca 90064
[image: facebook] https://www.facebook.com/NquistLLC [image: linkedin] https://www.linkedin.com/in/vanessa-adams-a3644b174/
Oh you’re right. There’s only Round.h I forgot sorry.
Sent from my iPhone
On Apr 17, 2021, at 1:04 PM, v6Point0 @.***> wrote:
There is no Round.cpp! Is the file missing on GitHub?
On Fri, Apr 16, 2021 at 4:54 PM Chris Korda @.***> wrote:
PS On closer inspection I can see another reason why even the revised VS2012 project might not build. It seems that C++11 added round and trunc functions. That's a problem because I define those same functions at global scope, via Round.h which is included in the precompiled header (stdafx.h) at the start of the build. So you may need to solve that conflict too, in which case one easy solution would be to comment out my round and trunc functions, in both Round.h and Round.cpp. But don't remove those files or touch the other functions (such as round64 and trunc64) as the project actively uses them. It's also possible you could turn off the C++11 extensions somehow in the project settings and that might work too.
On Fri, Apr 16, 2021 at 7:29 PM ck @.***> wrote:
Hi Vanessa,
As shipped, the WaveShop project fails to build under Visual Studio 2012. The root causes are:
- The project uses the class name CWinAppEx, which conflicts with MFC's appropriation of that name.
- The project uses the deprecated DirectX functions DXGetErrorString and DXGetErrorDescription. Fortunately these problems are easily remedied. I enclose below a link to a slightly revised version of the project which builds without errors in VS2012 under Windows 7 SP 1. https://www.dropbox.com/s/ke76ac63t8xlsu1/WaveShopVS2012.zip?dl=0
Please download this zip file ASAP and let me know when you have done so as I may delete it later to save DropBox space. Once you have downloaded it, try building it in your version of Visual Studio.
One possible reason the project might still fail to build is that it depends on DirectSound, which is a deprecated component of DirectX 8. You definitely need the DirectSound headers and corresponding link libraries to build WaveShop. There is no way around that, short of replacing the DSPlayer and DSCapture classes. One way to tell whether DirectSound is available is to search your development hard drive for the files dsound.h and dsound.lib. If you don't find those files anywhere, DirectSound isn't available and you have a problem. My understanding is that starting with Windows 8, most of the DirectX APIs were bundled into the Windows SDK. However DirectSound may not be included. In that case you may need to download and install the legacy DirectX SDK, which you can find here: https://www.microsoft.com/en-us/download/details.aspx?id=6812
I hope that helps.
Chris
On Fri, Apr 16, 2021 at 3:35 PM v6Point0 @.***> wrote:
Hi Chris,
Good to hear from you. Thank you for responding. I actually left my message as a hail marry out of frustration not really expecting an answer. Please excuse my overjoy with receiving a response.
I am using Visual Studio v16.9.3. The original build failed with the following errors: [image: image.png] I was able to fix the cl : command line warning for option 'Gm" by making a simple change within the program setting code generation property for Enabling Minimum Rebuild to "NO". Other than that, I am at a complete loss. I keep getting a _WIN32_WINNT not defined. Defaulting to -WIN32_WINNT_MAXVER. I initially added the following lines to WinSDKver.h from a MicroSoft help page for updating WINVER
https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-160 :
define _WIN32_WINNT_NT4 0x0400 // Windows NT 4.0
define _WIN32_WINNT_WIN2K 0x0500 // Windows 2000
define _WIN32_WINNT_WINXP 0x0501 // Windows XP
define _WIN32_WINNT_WS03 0x0502 // Windows Server
2003
define _WIN32_WINNT_WIN6 0x0600 // Windows Vista
define _WIN32_WINNT_VISTA 0x0600 // Windows Vista
define _WIN32_WINNT_WS08 0x0600 // Windows Server
2008
define _WIN32_WINNT_LONGHORN 0x0600 // Windows Vista
define _WIN32_WINNT_WIN7 0x0601 // Windows 7
define _WIN32_WINNT_WIN8 0x0602 // Windows 8
define _WIN32_WINNT_WINBLUE 0x0603 // Windows 8.1
define _WIN32_WINNT_WINTHRESHOLD 0x0A00 // Windows 10
define _WIN32_WINNT_WIN10 0x0A00 // Windows 10
This did not work. I did not get all the other build error to resolve until I REMed out the line that contains #define _WIN32_WINNT_MAXVER 0x0A00 and #define _WIN32_WINNT 0x0A00 which is how I ended up with the fatal error C1189: #error.
So, again, if I leave the _WIN32_WINNT_MAXVER and #define _WIN32_WINNT definition in I get a build that looks like this: Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(28,1): error C2556: 'int round(double)': overloaded function differs only by return type from 'double round(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(27,12): error C2371: 'round': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(531): message : see declaration of 'round' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(42,1): error C2556: 'int trunc(double)': overloaded function differs only by return type from 'double trunc(double)' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(41,12): error C2371: 'trunc': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(535): message : see declaration of 'trunc' 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(102,9): error C2065: 'round': undeclared identifier 1>C:\Users\user\Documents\Software Development\Nquist DPST Project\Visual Studio\NewWaveShop\trunk\Round.h(111,9): error C2065: 'trunc': undeclared identifier 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
Or if I Rem them out the build look like this:
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1): fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. 1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
I have tried to change the WINVER definition in the project properties and the precompiled header. What should I do?
Thanks again,
Windows 10 Pro 20H2 19042.928 Dell Latitude E6440 Intel Core i7-4610M @3.GHz, 16GB RAM Visual Studio Community 16.9.3, SDK 10 NET Framework V4.8.04084
On Thu, Apr 15, 2021 at 3:12 PM Chris Korda @.***> wrote:
which version of Visual studio you’re using?
Sent from my iPhone
On Apr 15, 2021, at 5:54 PM, v6Point0 @.***> wrote:
How do I fix this error? I am having trouble with the build.
Build started... 1>------ Build started: Project: WaveShop, Configuration: Release Win32
1>StdAfx.cpp 1>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 1>C:\Program Files (x86)\Microsoft Visual
Studio\2019.6.3\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include\afxv_w32.h(40,1):
fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header.
1>Done building project "WaveShop.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <
https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-820761601
, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ATVH6NCDYPDAE7XD4EUFKOTTI5QENANCNFSM4EXDDMGA
.
--
Vanessa Adams
Founder
Nquist LLC 323-352-9874 | 323-481-5826 @.*** www.nquist.net 2931 S. Sepulveda Blvd. Suite D, Los Angeles, Ca 90064
[image: facebook] https://www.facebook.com/NquistLLC [image: linkedin] <https://www.linkedin.com/in/vanessa-adams-a3644b174/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-821518232 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABGSMJRUOVL7NQ3PUALS2Y3TJCGQPANCNFSM4EXDDMGA
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/victimofleisure/WaveShop/issues/1#issuecomment-821727395, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVH6NAXBX26FUUGVKVWHK3TJDE2BANCNFSM4EXDDMGA .
--
Vanessa Adams
Founder
Nquist LLC 323-352-9874 | 323-481-5826 @.*** www.nquist.net 2931 S. Sepulveda Blvd. Suite D, Los Angeles, Ca 90064
[image: facebook] https://www.facebook.com/NquistLLC [image: linkedin] https://www.linkedin.com/in/vanessa-adams-a3644b174/ — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
I've got things up and running using 2012. I will send you more updates shortly after I have it built-in 2019. Thanks again!
wiil u consider any other audio format,such as mp3...