Re: [Audacity-devel] Last major cmake changes committed
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Mojca M. <mo...@ma...> - 2020-02-13 08:17:08
|
On Thu, 13 Feb 2020 at 04:52, Leland Lucius <ll...@ho...> wrote:
> Found the problem. Audacity can now be built 64-bit on Windows…yippee! 😊
>
Awesome, thank you very much.
In VS it in fact builds now except that I'm still getting some weird errors
some time late in the process (as already reported yesterday).
36>Audacity.vcxproj ->
C:\Programs\Audacity\build\vs2019-64\bin\Debug\Audacity.exe
36>****** B A T C H R E C U R S I O N exceeds STACK limits ******
36>Recursion Count=301, Stack Usage=90 percent
36>****** B A T C H PROCESSING IS A B O R T E D ******
36>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5):
error MSB3073: The command "setlocal
36>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5):
error MSB3073: call copy_libs.bat
C:\Programs\Audacity\build\vs2019-64\bin\Debug Audacity.exe
36>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5):
error MSB3073: if %errorlevel% neq 0 goto :cmEnd
36>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5):
error MSB3073: :cmEnd
If I try to build with clang I'm getting a gazillion of errors about hash.h
from wxWidgets, in part of the code that says "for compatibility only"
which makes it extra suspicious :)
Error no matching constructor for initialization of 'wxHashTableBase_Node'
net
C:\Programs\Audacity\build\vs2019-64-clang\cmake-proxies\wxWidgets\wxwidgets\include\wx\hash.h
165
Building with MinGW-w64 leads to the following error(s):
In file included from
C:/Programs/Audacity/audacity/lib-src/libsndfile/src/alaw.c:23:
cmake-proxies/libsndfile/public/sndfile.h:318:9: error: unknown type name
'int64_t'
318 | typedef int64_t sf_count_t ;
| ^~~~~~~
The following should fix it:
--- a/cmake-proxies/libsndfile/sndfile.h.in
+++ b/cmake-proxies/libsndfile/sndfile.h.in
@@ -30,6 +30,7 @@
#define SNDFILE_1
#include <stdio.h>
+#include <stdint.h>
#include <sys/types.h>
#ifdef __cplusplus
Plus tons of these which I didn't yet want to look into:
C:/Programs/Audacity/build/mingw64/cmake-proxies/wxWidgets/wxwidgets/include/wx/msw/private.h:148:49:
error: invalid static_cast from type 'long long unsigned int' to type
'HANDLE' {aka 'void*'}
148 | return static_cast<HANDLE>(INVALID_VALUE);
| ^
Mojca
|