ahodges9 / LedFx

LedFx is a network based LED effect controller with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266 nodes allowing for cost effectvice syncronized effects across your entire house!
MIT License
384 stars 91 forks source link

Installation requires Microsoft Visual C++ 14.0 #111

Open bjornbergenheim opened 4 years ago

bjornbergenheim commented 4 years ago

Following the instructions here: https://ahodges9.github.io/LedFx/ and I am running into the issue of missing the C++ compiler I guess. "error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/"

Might be good to include this in the required software in the installation instructions.

swampdogmash commented 4 years ago

I found that even after I had installed CPP build tools that way (using up 9Gb or so) that I still had issues. I ended up going here :

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio

and grabbing the pyaudio wheel pre-built and installing it using the instructs here:

https://stackoverflow.com/questions/52283840/i-cant-install-pyaudio-on-windows-how-to-solve-error-microsoft-visual-c-14

Which then allowed me to complete the build process.

NickNonsense commented 3 years ago

error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2

I've installed numerous visual studio programs, used anaconda as recommended by the installation and setup page, and tried the above fix from @swampdogmash. Not too comfortable just copy and pasting code, downloading python scripts with no idea what they are. Anyone with suggestions?

drzony commented 3 years ago

@NickNonsense

conda create -n ledfx
conda activate ledfx

conda config --add channels conda-forge
conda install aubio portaudio pywin32
pip install pipwin
pipwin install pyaudio
pip install ledfx

This worked for me

mykola-dev commented 3 years ago

I installed all C++ stuff but still can't build ledfx:

vec.obj
    lvec.c
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\mathutils.c /Fobuild\temp.win32-3.8\Release\src\mathutils.obj
    mathutils.c
    src\mathutils.c(102): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(102): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(106): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(106): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(110): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(110): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(115): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(116): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(116): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(121): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(122): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(123): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(123): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(133): warning C4244: 'function': conversion from 'lsmp_t' to 'float', possible loss of data
    src\mathutils.c(139): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(143): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(155): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(155): warning C4244: 'return': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(236): warning C4244: 'initializing': conversion from 'double' to 'uint_t', possible loss of data
    src\mathutils.c(368): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(489): warning C4244: 'return': conversion from 'uint_t' to 'smpl_t', possible loss of data
    src\mathutils.c(492): warning C4244: 'return': conversion from 'uint_t' to 'smpl_t', possible loss of data
    src\mathutils.c(493): warning C4244: 'return': conversion from 'uint_t' to 'smpl_t', possible loss of data
    src\mathutils.c(508): warning C4244: 'return': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(522): warning C4244: 'initializing': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(533): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(534): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(545): warning C4244: '=': conversion from 'double' to 'smpl_t', possible loss of data
    src\mathutils.c(546): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\mathutils.c(611): warning C4244: 'return': conversion from 'double' to 'smpl_t', possible loss of data
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\musicutils.c /Fobuild\temp.win32-3.8\Release\src\musicutils.obj
    musicutils.c
    src\musicutils.c(30): warning C4305: 'function': truncation from 'double' to 'float'
    src\musicutils.c(27): warning C4305: 'initializing': truncation from 'double' to 'const smpl_t'
    src\musicutils.c(30): warning C4244: 'initializing': conversion from 'double' to 'const smpl_t', possible loss of data
    src\musicutils.c(50): warning C4305: 'function': truncation from 'double' to 'float'
    src\musicutils.c(47): warning C4305: 'initializing': truncation from 'double' to 'const smpl_t'
    src\musicutils.c(83): warning C4244: 'return': conversion from 'double' to 'smpl_t', possible loss of data
    src\musicutils.c(78): warning C4305: 'initializing': truncation from 'double' to 'const smpl_t'
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\vecutils.c /Fobuild\temp.win32-3.8\Release\src\vecutils.obj
    vecutils.c
    src\vecutils.c(24): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\vecutils.c(25): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    src\vecutils.c(28): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\io\audio_unit.c /Fobuild\temp.win32-3.8\Release\src\io\audio_unit.obj
    audio_unit.c
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\io\ioutils.c /Fobuild\temp.win32-3.8\Release\src\io\ioutils.obj
    ioutils.c
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\io\sink.c /Fobuild\temp.win32-3.8\Release\src\io\sink.obj
    sink.c
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\io\sink_apple_audio.c /Fobuild\temp.win32-3.8\Release\src\io\sink_apple_audio.obj
    sink_apple_audio.c
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\io\sink_sndfile.c /Fobuild\temp.win32-3.8\Release\src\io\sink_sndfile.obj
    sink_sndfile.c
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\io\sink_wavwrite.c /Fobuild\temp.win32-3.8\Release\src\io\sink_wavwrite.obj
    sink_wavwrite.c
    src\io\sink_wavwrite.c(90): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\string.h(343): note: see declaration of 'strncpy'
    src\io\sink_wavwrite.c(166): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\stdio.h(207): note: see declaration of 'fopen'
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\io\source.c /Fobuild\temp.win32-3.8\Release\src\io\source.obj
    source.c
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\io\source_apple_audio.c /Fobuild\temp.win32-3.8\Release\src\io\source_apple_audio.obj
    source_apple_audio.c
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_MEMCPY_HACKS=1 -DHAVE_WIN_HACKS=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -DHAVE_LIBAV=1 -DHAVE_SWRESAMPLE=1 -Ipython/ext -IC:\Users\mykola\miniconda3\lib\site-packages\numpy\core\include -Isrc -Ipython\gen -IC:\Users\mykola\miniconda3\include -IC:\Users\mykola\miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" /Tcsrc\io\source_avcodec.c /Fobuild\temp.win32-3.8\Release\src\io\source_avcodec.obj
    source_avcodec.c
    src\io\source_avcodec.c(25): fatal error C1083: Cannot open include file: 'libavcodec/avcodec.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\mykola\miniconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'E:\\temp\\pip-install-pxc4dh23\\aubio\\setup.py'"'"'; __file__='"'"'E:\\temp\\pip-install-pxc4dh23\\aubio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'E:\temp\pip-record-397h9jgf\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\mykola\miniconda3\Include\aubio' Check the logs for full command output.
NickNonsense commented 3 years ago

I followed DrZ video here https://www.youtube.com/watch?v=ipSfQdfX4fE&ab_channel=DrZzs

mykola-dev commented 3 years ago

yes. it's basically the same i try to do. i'm using python 3.6 too. the problem is in avcodec lib. i don't know yet how to link it to the building process.

Mattallmighty commented 3 years ago

Hey guys,

We have done quite a bit of development and documentation work. Have a look at the readme on: https://github.com/ahodges9/LedFx/tree/dev & https://ledfx.readthedocs.io/en/docs/index.html Can I ask you to try the LedFx Exe version 0.0.3: https://ledfx.app/download/ - only x64 bit environment

Your welcome to join the LedFx community on Discord and we can help you out from there: https://discord.com/invite/wJ755dY