| I tried deleting the Python interface and opcodes, same problem. But I
will try again.
Regards,
Mike
-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
On Sun, Feb 28, 2016 at 1:33 PM, Oeyvind Brandtsegg
wrote:
> Just for info,
> I built on Windows 7 64 bit, and it worked nicely here too.
>
> 2016-02-28 19:27 GMT+01:00 Steven Yi :
>> The system does statically link just about everything now. I think
>> the change was first introduced by Rory a while back.
>>
>> For CMake, everything I'm using is included in the build.sh script and
>> the Custom-mingw64.cmake file, and I am not adding anything else
>> outside of those so that we can all share the same exact build
>> parameters. Assuming that MSYS2 installs the same for everyone, we
>> should hopefully have a completely reproducible build here for
>> everyone.
>>
>> One thing to note, I am on a Windows 10 64-bit system. Are you
>> building on Windows 10? Maybe that's a difference that might account
>> for discrepancy in behavior.
>>
>>
>> On Sun, Feb 28, 2016 at 1:14 PM, Michael Gogins
>> wrote:
>>> csGblMtx.h (ghastly filename) uses WIndows threads in my build. Is
>>> there some mixup between Windows threads and pthreads? It almost looks
>>> like EnterCriticalSection (Windows API) is being called without the
>>> critical section object first being initialized. Are you defining
>>> WIN32 or GNUC or what for CMake?
>>>
>>> Best,
>>> Mike
>>>
>>> -----------------------------------------------------
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> On Sun, Feb 28, 2016 at 12:34 PM, Michael Gogins
>>> wrote:
>>>> All DLLs shown by the 64 bit dependency walker are in WIndows/system32
>>>> or in the Csound build directory. Also they are all x64 as they should
>>>> be. LIbsndfile does not show up however which seems wrong. Is it
>>>> staticallhy linked now?
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>> -----------------------------------------------------
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> On Sun, Feb 28, 2016 at 12:17 PM, Michael Gogins
>>>> wrote:
>>>>> No libwinpthread in WIndows system directories. I am going to run the
>>>>> dependency checker on Csound.
>>>>>
>>>>> -----------------------------------------------------
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://michaelgogins.tumblr.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>>
>>>>> On Sun, Feb 28, 2016 at 12:08 PM, Michael Gogins
>>>>> wrote:
>>>>>> Mine has that as well: D:/msys64/mingw64/bin/libwinpthread-1.dll.
>>>>>>
>>>>>> But perhaps there is one of these in the WIndows system directories, I
>>>>>> am checking.
>>>>>>
>>>>>> Best,
>>>>>> Mike
>>>>>>
>>>>>>
>>>>>> -----------------------------------------------------
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://michaelgogins.tumblr.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>>
>>>>>> On Sun, Feb 28, 2016 at 12:06 PM, Michael Gogins
>>>>>> wrote:
>>>>>>> I am running the build script from the MINGW64 shell, not the MSYS2
>>>>>>> shell. MSYS2 installs both of these shells.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> -----------------------------------------------------
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://michaelgogins.tumblr.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Feb 28, 2016 at 11:58 AM, Rory Walsh wrote:
>>>>>>>> Hi Mike. I'm not sure what the problem there is. You are running the
>>>>>>>> build.sh script from the MSYS2 shell? I built afresh again yesterday without
>>>>>>>> any issues, albeit with many plugin opcodes disabled.
>>>>>>>>
>>>>>>>> On 28 February 2016 at 16:44, Michael Gogins
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> I'm running into a serious problem. I can build csound.exe with
>>>>>>>>> MSYS2/mingw64, but it does not run. I have cleaned up my environment
>>>>>>>>> so there are no binaries in the PATH but MSYS, mingw, and Csound and
>>>>>>>>> its opcodes.
>>>>>>>>>
>>>>>>>>> (gdb) run
>>>>>>>>> Starting program:
>>>>>>>>> D:\msys64\home\restore\csound\mingw64\csound-mingw64\csound.exe
>>>>>>>>> [New Thread 5784.0x6d8]
>>>>>>>>>
>>>>>>>>> Program received signal SIGSEGV, Segmentation fault.
>>>>>>>>> 0x000007f8f3d17740 in ntdll!RtlMultiAppendUnicodeStringBuffer ()
>>>>>>>>> from C:\Windows\SYSTEM32\ntdll.dll
>>>>>>>>> (gdb) bt
>>>>>>>>> #0 0x000007f8f3d17740 in ntdll!RtlMultiAppendUnicodeStringBuffer ()
>>>>>>>>> from C:\Windows\SYSTEM32\ntdll.dll
>>>>>>>>> #1 0x000007f8f3d0c5a5 in ntdll!RtlInitializeCriticalSection ()
>>>>>>>>> from C:\Windows\SYSTEM32\ntdll.dll
>>>>>>>>> #2 0x000000006c5eed8d in csoundInitialize (flags=flags@entry=1)
>>>>>>>>> at D:/msys64/home/restore/csound/Top/csound.c:1119
>>>>>>>>> #3 0x0000000000402fe5 in main (argc=1, argv=0x304700)
>>>>>>>>> at D:/msys64/home/restore/csound/frontends/csound/csound_main.c:258
>>>>>>>>> (gdb)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -----------------------------------------------------
>>>>>>>>> Michael Gogins
>>>>>>>>> Irreducible Productions
>>>>>>>>> http://michaelgogins.tumblr.com
>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sat, Feb 27, 2016 at 4:33 PM, Victor Lazzarini
>>>>>>>>> wrote:
>>>>>>>>> > Maybe try to get one of the Norwegian guys, they know about Windows.
>>>>>>>>> >
>>>>>>>>> > Victor Lazzarini
>>>>>>>>> > Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>> > Maynooth University
>>>>>>>>> > Ireland
>>>>>>>>> >
>>>>>>>>> > On 27 Feb 2016, at 20:48, Tarmo Johannes wrote:
>>>>>>>>> >
>>>>>>>>> > Hi,
>>>>>>>>> > This is a problematic topic. We just discussed it with Joachim and don't
>>>>>>>>> > have a dedicee to it right - there is truly lack of experienced Windows
>>>>>>>>> > people... But keep thinking about it. I will read about MSYS2 myself too
>>>>>>>>> > to
>>>>>>>>> > be more aware.
>>>>>>>>> > Thanks!
>>>>>>>>> > Tarmo
>>>>>>>>> >
>>>>>>>>> > 27.02.2016 21:51 kirjutas kuupäeval "Steven Yi" :
>>>>>>>>> >>
>>>>>>>>> >> Hi Tarmo,
>>>>>>>>> >>
>>>>>>>>> >> Regarding CsoundQT, is there someone from the CsoundQT developers that
>>>>>>>>> >> could contribute time to investigating building on Windows with MSYS2?
>>>>>>>>> >>
>>>>>>>>> >> Thanks!
>>>>>>>>> >> steven
>>>>>>>>> >>
>>>>>>>>> >>
>>>>>>>>> >> On Sat, Feb 27, 2016 at 1:57 PM, Tarmo Johannes
>>>>>>>>> >> wrote:
>>>>>>>>> >> > Hi,
>>>>>>>>> >> >
>>>>>>>>> >> > And if you say MSYS2 has Qt, please do build alwo CsoundQt and let
>>>>>>>>> >> > know
>>>>>>>>> >> > if
>>>>>>>>> >> > there are any problems or anything to do in the source code or
>>>>>>>>> >> > project
>>>>>>>>> >> > files.
>>>>>>>>> >> >
>>>>>>>>> >> > Thanks!
>>>>>>>>> >> >
>>>>>>>>> >> > On Saturday 27 February 2016 13:42:28 you wrote:
>>>>>>>>> >> >> I will go with Python 2.7 for now.
>>>>>>>>> >> >>
>>>>>>>>> >> >> Best,
>>>>>>>>> >> >> Mike
>>>>>>>>> >> >>
>>>>>>>>> >> >> -----------------------------------------------------
>>>>>>>>> >> >> Michael Gogins
>>>>>>>>> >> >> Irreducible Productions
>>>>>>>>> >> >> http://michaelgogins.tumblr.com
>>>>>>>>> >> >> Michael dot Gogins at gmail dot com
>>>>>>>>> >> >>
>>>>>>>>> >> >> On Sat, Feb 27, 2016 at 1:39 PM, Steven Yi
>>>>>>>>> >> >> wrote:
>>>>>>>>> >> >> > I've been building for 2.7 myself. I suppose the only way to
>>>>>>>>> >> >> > satisfy
>>>>>>>>> >> >> > everyone is to build something that works for both. Perhaps we
>>>>>>>>> >> >> > should
>>>>>>>>> >> >> > finally add a build target specifically for Python 3 for all
>>>>>>>>> >> >> > platforms? We'd have to work out all the details for install
>>>>>>>>> >> >> > locations for OSX and Linux. Another option is to start
>>>>>>>>> >> >> > leveraging
>>>>>>>>> >> >> > python's package system to build the interfaces and have the user
>>>>>>>>> >> >> > install those packages separately.
>>>>>>>>> >> >> >
>>>>>>>>> >> >> > Maybe just start with 2.7 for now as that was the last supported
>>>>>>>>> >> >> > Python and punt on Python 3 until after this build? Might be best
>>>>>>>>> >> >> > so
>>>>>>>>> >> >> > we can coordinate a solution for all platforms.
>>>>>>>>> >> >> >
>>>>>>>>> >> >> > On Sat, Feb 27, 2016 at 1:22 PM, Michael Gogins
>>>>>>>>> >> >> >
>>>>>>>>> >> >> > wrote:
>>>>>>>>> >> >> >> Another thing, should I support Python 2.7 or Python 3?
>>>>>>>>> >> >> >>
>>>>>>>>> >> >> >> Regards,
>>>>>>>>> >> >> >> Mike
>>>>>>>>> >> >> >>
>>>>>>>>> >> >> >> -----------------------------------------------------
>>>>>>>>> >> >> >> Michael Gogins
>>>>>>>>> >> >> >> Irreducible Productions
>>>>>>>>> >> >> >> http://michaelgogins.tumblr.com
>>>>>>>>> >> >> >> Michael dot Gogins at gmail dot com
>>>>>>>>> >> >> >>
>>>>>>>>> >> >> >>
>>>>>>>>> >> >> >> On Sat, Feb 27, 2016 at 12:54 PM, Michael Gogins
>>>>>>>>> >> >> >>
>>>>>>>>> >> >> >> wrote:
>>>>>>>>> >> >> >>> I have installed MSYS2, its mingw, toolchain, and the list of
>>>>>>>>> >> >> >>> packages
>>>>>>>>> >> >> >>> from our README.md.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> Things have started to build. I have to create an import library
>>>>>>>>> >> >> >>> for
>>>>>>>>> >> >> >>> Python x64. MSYS2 comes with its own Python, but I assume I
>>>>>>>>> >> >> >>> should
>>>>>>>>> >> >> >>> use
>>>>>>>>> >> >> >>> regular Windows x64 Python from python.org.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> The Lua library problem mentioned in our README.md can probably
>>>>>>>>> >> >> >>> be
>>>>>>>>> >> >> >>> fixed with a file copy or symbolic link.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> I have installed NW.js for x64, and plan to use that for HTML5
>>>>>>>>> >> >> >>> stuff.
>>>>>>>>> >> >> >>> The current beta version of NW.js enables NaCl for x64 so a 64
>>>>>>>>> >> >> >>> bit
>>>>>>>>> >> >> >>> build of Csound for NaCl should run as well as the 64 bit build
>>>>>>>>> >> >> >>> of
>>>>>>>>> >> >> >>> csound.node.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> I am not sure what to do for CsoundQt. If NW.js works I see no
>>>>>>>>> >> >> >>> particular need to build CsoundQt, but on the other the Qt SDK
>>>>>>>>> >> >> >>> is
>>>>>>>>> >> >> >>> installed in my MSYS2 environment so CsoundQt shouldn't be that
>>>>>>>>> >> >> >>> hard
>>>>>>>>> >> >> >>> to build.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> I also am not sure what to do about the Java interface.
>>>>>>>>> >> >> >>> Presumably
>>>>>>>>> >> >> >>> you, Steven, would like blue to run with x64 Csound.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> I also am not sure what to do about Jack, perhaps Windows
>>>>>>>>> >> >> >>> support
>>>>>>>>> >> >> >>> for
>>>>>>>>> >> >> >>> Jack now exists, and if so, this could be added to the build.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> For a full build I think we should have package recipes for STK,
>>>>>>>>> >> >> >>> LuaJIT, and perhaps NW.js.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> There are also compiler warnings about various handles and
>>>>>>>>> >> >> >>> pointers
>>>>>>>>> >> >> >>> that are different sizes on different platforms. I would like to
>>>>>>>>> >> >> >>> fix
>>>>>>>>> >> >> >>> all of these with some sort of padding or aliasing.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> I'm not sure how much of this I can do for the next release but
>>>>>>>>> >> >> >>> I
>>>>>>>>> >> >> >>> am
>>>>>>>>> >> >> >>> shooting for at least LuaJIT. NW.js, and STK.
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> Regards,
>>>>>>>>> >> >> >>> Mike
>>>>>>>>> >> >> >>>
>>>>>>>>> >> >> >>> -----------------------------------------------------
>>>>>>>>> >> >> >>> Michael Gogins
>>>>>>>>> >> >> >>> Irreducible Productions
>>>>>>>>> >> >> >>> http://michaelgogins.tumblr.com
>>>>>>>>> >> >> >>> Michael dot Gogins at gmail dot com
>>>>>>>>
>>>>>>>>
>
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/ |