Re: Trouble compiling Audacity on Windows 10 MSVS2019
John Colket <[email protected]>
| Newsgroups | gmane.comp.audio.audacity.devel |
|---|---|
| Message-ID | <CAHCiZT_Q3pG_urRzWsnYc-nP6CQBeu1=ge-rm0opqLpoNrPa0Q@mail.gmail.com> |
So, you can follow this thread: https://forum.audacityteam.org/viewtopic.php?p=418299#p418299 On Wed, Mar 17, 2021 at 6:21 AM Aditya Ganti <[email protected]> wrote: > I have linked the forum question here : > https://forum.audacityteam.org/viewtopic.php?f=46&t=116591&sid=3ac636de6b35ae9b3ba2dbef98c8a6cb > > I am trying to build Audacity as per the instructions in > https://wiki.audacityteam.org/wiki/Building_On_Windows > I have successfully built wxWidgets, and have added WXWIN to the > environment. WXWIN points to the source (git repo). > setup0.h and setup.h are both present in the directory under > \include\wx\msw\ > $WXWIN = 'D:\Git_Projects\GSOC\audacity_wxWidgets\wxWidgets' > > I am constantly getting stuck at the same point as in the attached photo. > Using CMake-GUI, it says it cannot find wxWidgets (missing: > wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS .....) > > I have built wxWidgets using CMake-GUI, with Visual Studio 2019 as the > generator. > I have mingw, msys also installed. Kindly help. > [image: image.png] > > -------------------------------------------------------------------- > Here are the exact steps I followed : > > 1. Downloaded and installed MSVS 2019 Community Edition with C++ Desktop > Development workload (includes MSVC x64/86 build tools, Win10 SDK, C++ > CMake tools for Windows). > > 2. Git was already installed. > > 3. Python3 was also pre-installed. > > 4. Cloned wxWidgets using '*git clone --recurse-submodules > https://github.com/audacity/wxWidgets/ > <https://github.com/audacity/wxWidgets/>*' > > 5. Changed directory to *build\msw* and then ran the following commands > > mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release clean > > mingw32-make -f makefile.gcc > > 6. Set WXWIN environment path to the folder I had cloned the repo into. > > 7. Open *wx_vc16.sln* with VS2019, select DLL Release and build. Success > with 24 packages. > > 8. To test whether it's working, I created a new empty C++ project. Added > property sheet *\wxwidgets.props *added source file, copied code from > *minimal.cpp* and built. It worked, and on Run, the sample window > appeared for wxWidgets sample. > > 9. Cloned Audacity as *git clone https://github.com/audacity/audacity/ > <https://github.com/audacity/audacity/>* > > 10. Opened CMake GUI, click configure. This is when the above problem > arises. I have tried different wxWidget build processes, including > CMake-GUI, downloading pre-built binaries, but I always get stuck at the > same step. > > > Help will be appreciated. Thank You. > -- > Aditya Ganti > _______________________________________________ > audacity-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/audacity-devel > _______________________________________________ audacity-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/audacity-devel
image.png
(image/png, 71 KB) - not displayed