VCVRack / rack-plugin-toolchain

56 stars 13 forks source link

Need some help: Windows build fails with double defined sse symbols #27

Closed docb closed 1 year ago

docb commented 1 year ago

dbRackSequencer, dbRackModules worked fine but here i have no clue what to do:

PLUGIN_DIR https://github.com/docb/dbRackFormulaOne

In file included from /home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse3.h:30,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/ssse3.h:30,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse4.1.h:31,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse4.2.h:31,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/simd/common.hpp:4,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/simd/Vector.hpp:3,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/simd/functions.hpp:2,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/dsp/common.hpp:4,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/rack.hpp:110,
                 from src/plugin.hpp:2,
                 from src/FormulaOneEdit.cpp:1:
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3653:30: error: redefinition of '__m128i simde_mm_loadu_epi64(const void*)'
 3653 |   #define _mm_loadu_epi64(a) simde_mm_loadu_epi64(a)
      |                              ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3633:1: note: 'simde__m128i simde_mm_loadu_epi64(const void*)' previously defined here
 3633 | simde_mm_loadu_epi64(void const * mem_addr) {
      | ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3628:30: error: redefinition of '__m128i simde_mm_loadu_epi32(const void*)'
 3628 |   #define _mm_loadu_epi32(a) simde_mm_loadu_epi32(a)
      |                              ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3608:1: note: 'simde__m128i simde_mm_loadu_epi32(const void*)' previously defined here
 3608 | simde_mm_loadu_epi32(void const * mem_addr) {
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse3.h:30,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/ssse3.h:30,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse4.1.h:31,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse4.2.h:31,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/simd/common.hpp:4,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/simd/Vector.hpp:3,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/simd/functions.hpp:2,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/dsp/common.hpp:4,
                 from /home/docb/git/rpt/Rack-SDK-win-x64/include/rack.hpp:110,
                 from src/plugin.hpp:2,
                 from src/FormulaOne.cpp:1:
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3653:30: error: redefinition of '__m128i simde_mm_loadu_epi64(const void*)'
 3653 |   #define _mm_loadu_epi64(a) simde_mm_loadu_epi64(a)
      |                              ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3633:1: note: 'simde__m128i simde_mm_loadu_epi64(const void*)' previously defined here
 3633 | simde_mm_loadu_epi64(void const * mem_addr) {
      | ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3628:30: error: redefinition of '__m128i simde_mm_loadu_epi32(const void*)'
 3628 |   #define _mm_loadu_epi32(a) simde_mm_loadu_epi32(a)
      |                              ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3608:1: note: 'simde__m128i simde_mm_loadu_epi32(const void*)' previously defined here
 3608 | simde_mm_loadu_epi32(void const * mem_addr) {
      | ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3603:30: error: redefinition of '__m128i simde_mm_loadu_epi16(const void*)'
 3603 |   #define _mm_loadu_epi16(a) simde_mm_loadu_epi16(a)
      |                              ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3583:1: note: 'simde__m128i simde_mm_loadu_epi16(const void*)' previously defined here
 3583 | simde_mm_loadu_epi16(void const * mem_addr) {
      | ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3578:29: error: redefinition of '__m128i simde_mm_loadu_epi8(const void*)'
 3578 |   #define _mm_loadu_epi8(a) simde_mm_loadu_epi8(a)
      |                             ^~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3558:1: note: 'simde__m128i simde_mm_loadu_epi8(const void*)' previously defined here
 3558 | simde_mm_loadu_epi8(void const * mem_addr) {
      | ^~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3603:30: error: redefinition of '__m128i simde_mm_loadu_epi16(const void*)'
 3603 |   #define _mm_loadu_epi16(a) simde_mm_loadu_epi16(a)
      |                              ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3583:1: note: 'simde__m128i simde_mm_loadu_epi16(const void*)' previously defined here
 3583 | simde_mm_loadu_epi16(void const * mem_addr) {
      | ^~~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3578:29: error: redefinition of '__m128i simde_mm_loadu_epi8(const void*)'
 3578 |   #define _mm_loadu_epi8(a) simde_mm_loadu_epi8(a)
      |                             ^~~~~~~~~~~~~~~~~~~
/home/docb/git/rpt/Rack-SDK-win-x64/dep/include/simde/x86/sse2.h:3558:1: note: 'simde__m128i simde_mm_loadu_epi8(const void*)' previously defined here
 3558 | simde_mm_loadu_epi8(void const * mem_addr) {
      | ^~~~~~~~~~~~~~~~~~~

thx.

AndrewBelt commented 1 year ago

What Rack SDK version are you using?

docb commented 1 year ago

oh, seems a too old one, make rack-sdk-clean && make rack-sdk-all solved the problem thanks.