[Cs-dev] Build error on WIndows
Date | 2014-11-08 18:58 |
From | Michael Gogins |
Subject | [Cs-dev] Build error on WIndows |
Attachments | None None |
Windows 8, MinGW 4.8.3, develop branch
Linking CXX shared library ../csnd6.dll d:/Qt5.3.0/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/lib/../lib\libpthread.a(libwinpthread_la-cond.o):cond.c:(.text+0 x370): multiple definition of `pthread_cond_init' d:/Qt5.3.0/Tools/mingw482_32/i686-w64-mingw32/lib/libpthread.dll.a(d000043.o):(.text+0x0): first defined here d:/Qt5.3.0/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/lib/../lib\libpthread.a(libwinpthread_la-cond.o):cond.c:(.text+0 xa40): multiple definition of `pthread_cond_signal' d:/Qt5.3.0/Tools/mingw482_32/i686-w64-mingw32/lib/libpthread.dll.a(d000044.o):(.text+0x0): first defined here d:/Qt5.3.0/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/lib/../lib\libpthread.a(libwinpthread_la-cond.o):cond.c:(.text+0 xc70): multiple definition of `pthread_cond_wait' d:/Qt5.3.0/Tools/mingw482_32/i686-w64-mingw32/lib/libpthread.dll.a(d000046.o):(.text+0x0): first defined here d:/Qt5.3.0/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/lib/../lib\libpthread.a(libwinpthread_la-mutex.o):mutex.c:(.text +0x270): multiple definition of `pthread_mutex_unlock' d:/Qt5.3.0/Tools/mingw482_32/i686-w64-mingw32/lib/libpthread.dll.a(d000075.o):(.text+0x0): first defined here d:/Qt5.3.0/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/lib/../lib\libpthread.a(libwinpthread_la-mutex.o):mutex.c:(.text +0x340): multiple definition of `pthread_mutex_init' d:/Qt5.3.0/Tools/mingw482_32/i686-w64-mingw32/lib/libpthread.dll.a(d000071.o):(.text+0x0): first defined here d:/Qt5.3.0/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/lib/../lib\libpthread.a(libwinpthread_la-mutex.o):mutex.c:(.text +0x610): multiple definition of `pthread_mutex_lock' d:/Qt5.3.0/Tools/mingw482_32/i686-w64-mingw32/lib/libpthread.dll.a(d000072.o):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status interfaces/CMakeFiles/libcsnd6.dir/build.make:219: recipe for target `csnd6.dll' failed make[2]: *** [csnd6.dll] Error 1 CMakeFiles/Makefile2:1468: recipe for target `interfaces/CMakeFiles/libcsnd6.dir/all' failed make[1]: *** [interfaces/CMakeFiles/libcsnd6.dir/all] Error 2 Makefile:147: recipe for target `all' failed make: *** [all] Error 2 ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com |
Date | 2014-11-10 14:43 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Build error on WIndows |
Did you get anywhere with this Michael? I've not had any problems building from the dev branch. But I will try again in a few days to make sure. I was able to build a 64bit version without too much difficulty, but of course, I didn't manage to compile all the plugin opcodes. On 8 November 2014 18:58, Michael Gogins |
Date | 2014-11-10 15:54 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Build error on WIndows |
Attachments | None None |
Haven't had time... Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Mon, Nov 10, 2014 at 9:43 AM, Rory Walsh <rorywalsh@ear.ie> wrote: Did you get anywhere with this Michael? I've not had any problems |
Date | 2014-11-11 00:21 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Build error on WIndows |
Attachments | None None |
I think I have fixed this. All it took was removing the pthreads lib from csnd6.dll. Regards, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Mon, Nov 10, 2014 at 10:54 AM, Michael Gogins <michael.gogins@gmail.com> wrote:
|
Date | 2014-11-11 10:01 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Build error on WIndows |
Attachments | None None |
Great. On 11 Nov 2014 00:21, "Michael Gogins" <michael.gogins@gmail.com> wrote:
|
Date | 2014-11-11 15:24 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Build error on WIndows |
Attachments | None None |
I think this might break perfThread. I added the dependency on pthreads because I needed conditional variables to synchronize two threads (which the Csound API doesn't currently provide... see my recent question to the list). Can you test if perfthread is still working? Cheers, Andrés On Mon, Nov 10, 2014 at 4:21 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
|