Hi guys,
just recently, the same thread title appeared in this forum, but the answers didn’t help my problem…
Okay, here are my specs:
- Windows 10
- Microsoft Visual Studio Express 2013 (Platform Toolset v120)
- audacity/WxWidget src from: https://github.com/audacity
- cloned both repositories to D:\Daten\audacity giving me - D:\Daten\audacity\wxWidgets and D:\Daten\audacity\audacity
- checkout and compiled branch (audacity-fixes-3.1.1) → WxWidgets compiled without error (debug release)
- under D:\Daten\audacity\wxWidgets\lib\vc_dll several dlls are created.
- setup system wide environment variable WXWIN=D:\Daten\audacity\wxWidgets
- open VC++ Express 2013 and opened D:\Daten\audacity\audacity\win\audacity.sln (git repo is on branch master)
- tried to compile the debug version, but got message, that Platform Toolset v141 could not be found.
- Changed project settings to use Platform Toolset v120 for all projects.
- Compiled severeal times but ended up with errors
Error 1 error C2061: syntax error : identifier 'CacheLine' d:\daten\audacity\audacity\src\ringbuffer.h 50 1 Audacity
Error 2 error C2143: syntax error : missing ';' before 'std::atomic<unsigned int>' d:\daten\audacity\audacity\src\ringbuffer.h 50 1 Audacity
Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\daten\audacity\audacity\src\ringbuffer.h 50 1 Audacity
Warning 4 warning C4183: 'alignas': missing return type; assumed to be a member function returning 'int' d:\daten\audacity\audacity\src\ringbuffer.h 50 1 Audacity
Error 5 error C2061: syntax error : identifier 'CacheLine' d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Error 6 error C2143: syntax error : missing ';' before 'std::atomic<unsigned int>' d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Error 7 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Error 8 error C2535: 'int RingBuffer::alignas(void)' : member function already defined or declared d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Warning 9 warning C4183: 'alignas': missing return type; assumed to be a member function returning 'int' d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Error 10 error C2061: syntax error : identifier 'CacheLine' d:\daten\audacity\audacity\src\ringbuffer.h 50 1 Audacity
Error 11 error C2143: syntax error : missing ';' before 'std::atomic<unsigned int>' d:\daten\audacity\audacity\src\ringbuffer.h 50 1 Audacity
Error 12 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\daten\audacity\audacity\src\ringbuffer.h 50 1 Audacity
Warning 13 warning C4183: 'alignas': missing return type; assumed to be a member function returning 'int' d:\daten\audacity\audacity\src\ringbuffer.h 50 1 Audacity
Error 14 error C2061: syntax error : identifier 'CacheLine' d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Error 15 error C2143: syntax error : missing ';' before 'std::atomic<unsigned int>' d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Error 16 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Error 17 error C2535: 'int RingBuffer::alignas(void)' : member function already defined or declared d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Warning 18 warning C4183: 'alignas': missing return type; assumed to be a member function returning 'int' d:\daten\audacity\audacity\src\ringbuffer.h 51 1 Audacity
Warning 19 warning C4100: 'pProject' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2044 1 Audacity
Warning 20 warning C4100: 'state' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2044 1 Audacity
Warning 21 warning C4100: 'pParent' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2063 1 Audacity
Warning 22 warning C4100: 'rect' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2062 1 Audacity
Warning 23 warning C4100: 'pProject' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2120 1 Audacity
Warning 24 warning C4100: 'pProject' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2225 1 Audacity
Warning 25 warning C4100: 'pProject' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2249 1 Audacity
Warning 26 warning C4100: 'state' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2249 1 Audacity
Warning 27 warning C4100: 'pProject' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2269 1 Audacity
Warning 28 warning C4100: 'pProject' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 2456 1 Audacity
Warning 29 warning C4100: 'state' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 3031 1 Audacity
Warning 30 warning C4100: 'pLatestCell' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 3775 1 Audacity
Warning 31 warning C4100: 'pClickedTrack' : unreferenced formal parameter d:\daten\audacity\audacity\src\widgets\ruler.cpp 3775 1 Audacity
Error 32 error C2280: 'std::unique_ptr<SnapManager,std::default_delete<_Ty>> &std::unique_ptr<_Ty,std::default_delete<_Ty>>::operator =(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)' : attempting to reference a deleted function c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 611 1 Audacity
33 IntelliSense: identifier "mStart" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 63 17 Audacity
34 IntelliSense: identifier "mEnd" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 64 15 Audacity
35 IntelliSense: identifier "mStart" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 74 17 Audacity
36 IntelliSense: identifier "mEnd" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 75 15 Audacity
37 IntelliSense: no instance of overloaded function "std::min" matches the argument list
argument types are: (size_t, <error-type>) d:\Daten\audacity\audacity\src\RingBuffer.cpp 82 20 Audacity
38 IntelliSense: identifier "mStart" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 103 17 Audacity
39 IntelliSense: identifier "mEnd" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 104 15 Audacity
40 IntelliSense: no instance of overloaded function "std::min" matches the argument list
argument types are: (size_t, <error-type>) d:\Daten\audacity\audacity\src\RingBuffer.cpp 110 20 Audacity
41 IntelliSense: identifier "mEnd" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 136 15 Audacity
42 IntelliSense: identifier "mStart" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 137 17 Audacity
43 IntelliSense: identifier "mEnd" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 149 15 Audacity
44 IntelliSense: identifier "mStart" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 150 17 Audacity
45 IntelliSense: no instance of overloaded function "std::min" matches the argument list
argument types are: (size_t, <error-type>) d:\Daten\audacity\audacity\src\RingBuffer.cpp 156 20 Audacity
46 IntelliSense: identifier "mEnd" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 177 15 Audacity
47 IntelliSense: identifier "mStart" is undefined d:\Daten\audacity\audacity\src\RingBuffer.cpp 178 17 Audacity
48 IntelliSense: explicit type is missing ('int' assumed) d:\Daten\audacity\audacity\src\RingBuffer.h 50 4 Audacity
49 IntelliSense: constant "RingBuffer::CacheLine" is not a type name d:\Daten\audacity\audacity\src\RingBuffer.h 50 12 Audacity
50 IntelliSense: expected a ';' d:\Daten\audacity\audacity\src\RingBuffer.h 50 23 Audacity
51 IntelliSense: explicit type is missing ('int' assumed) d:\Daten\audacity\audacity\src\RingBuffer.h 51 4 Audacity
52 IntelliSense: constant "RingBuffer::CacheLine" is not a type name d:\Daten\audacity\audacity\src\RingBuffer.h 51 12 Audacity
53 IntelliSense: expected a ';' d:\Daten\audacity\audacity\src\RingBuffer.h 51 23 Audacity
I can make sense from these errors and do not find anything with my websearch. Any ideas?
Do I use the wrong Visual studio Express version (I found that Visual Studio Express 2013 should just work).
Please, any ideas welcome.
Regards,
Maik