Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] compiling, commonEnvironment.Clone()

Date2008-06-11 19:31
FromMichael Gogins
SubjectRe: [Cs-dev] compiling, commonEnvironment.Clone()
Yes.

I don't know -- but I don't think so.

Hope this helps,
Mike

-----Original Message-----
>From: Oeyvind Brandtsegg 
>Sent: Jun 11, 2008 2:04 PM
>To: Developer discussions 
>Subject: Re: [Cs-dev] compiling, commonEnvironment.Clone()
>
>I still get
>
>gcc -shared -mwindows -mno-cygwin -Wl,--enable-auto-import
>-Wl,--enable-runtime-pseudo-reloc -module -o csound32.dll.5.1
>Engine\auxfd.o Engine\cfgvar.o Engine\entry1.o Engine\envvar.o
>Engine\express.o Engine\extract.o Engine\fgens.o Engine\insert.o
>Engine\linevent.o Engine\memalloc.o Engine\memfiles.o Engine\musmon.o
>Engine\namedins.o Engine\otran.o Engine\rdorch.o Engine\rdscor.o
>Engine\scsort.o Engine\scxtract.o Engine\sort.o Engine\sread.o
>Engine\swrite.o Engine\twarp.o InOut\libsnd.o InOut\libsnd_u.o
>InOut\midifile.o InOut\midirecv.o InOut\midisend.o InOut\winascii.o
>InOut\windin.o InOut\window.o InOut\winEPS.o OOps\aops.o OOps\bus.o
>OOps\cmath.o OOps\diskin.o OOps\diskin2.o OOps\disprep.o OOps\dumpf.o
>OOps\fftlib.o OOps\goto_ops.o OOps\midiinterop.o OOps\midiops.o
>OOps\midiout.o OOps\mxfft.o OOps\oscils.o OOps\pstream.o
>OOps\pvfileio.o OOps\pvsanal.o OOps\random.o OOps\remote.o
>OOps\schedule.o OOps\sndinfUG.o OOps\str_ops.o OOps\ugens1.o
>OOps\ugens2.o OOps\ugens3.o OOps\ugens4.o OOps\ugens5.o OOps\ugens6.o
>OOps\ugrw1.o OOps\ugrw2.o OOps\vdelay.o Top\argdecode.o
>Top\cscore_internal.o Top\cscorfns.o Top\csmodule.o Top\csound.o
>Top\getstring.o Top\main.o Top\new_opts.o Top\one_file.o Top\opcode.o
>Top\threads.o Top\utility.o -L. -L. -LC:\usr\local\lib -L. -L.
>-LC:\msys\1.0\mingw\lib -LC:\msys\1.0\local\lib -LC:\msys\1.0\lib
>-LC:\msys\1.0\source\libsndfile_pre
>-LC:\msys\1.0\add\portaudio_precompiled
>-LC:\msys\1.0\source\portmidi_victor
>-LC:\msys\1.0\source\fltk-1.1.7\lib -LC:\Python25\Libs
>-LC:\msys\1.0\source\fluidsynth-1.0.7 -lsndfile -lportaudio -lportmidi
>-lfltk -lsndfile -ladvapi32 -lcomctl32 -lcomdlg32 -lglu32 -lkernel32
>-lmsvcrt -lodbc32 -lodbccp32 -lole32 -loleaut32 -lshell32 -luser32
>-luuid -lwinmm -lwinspool -lws2_32 -lwsock32 -ladvapi32 -lcomctl32
>-lcomdlg32 -lglu32 -lkernel32 -lodbc32 -lodbccp32 -lole32 -loleaut32
>-lshell32 -luser32 -luuid -lwinmm -lwinspool -lws2_32 -lwsock32
>-lpthread -Wl,--out-implib,libcsound32.a -Wl,--output-def,csound32.def
>c:\msys\1.0\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
>cannot find -lpthread
>collect2: ld returned 1 exit status
>scons: building terminated because of errors.
>'fltk-config' is not recognized as an internal or external command,
>operable program or batch file.
>scons: *** [csound32.dll.5.1] Error 1
>
>Isn't it strange that I get an error about two things,
>"cannot find -lpthread"
>and
>"'fltk-config' is not recognized as an internal or external command,"
>
>I thought the compiler would stop at the first error (-lpthread), and
>then not show the problem with fltk-config until the lpthread issue
>was solved (?)
>
>For the -lpthread issue:
>I do have a libpthreadGC2.a in /local/lib,
>should I make a copy named libpthread.a ?
>
>Also, is there any special version requirements (mingw, gcc, fltk, ..... ?) ?
>For example, I now have scons 0.97, gcc 3.4.2, fltk 1.1.7., pthreads 2.8.0
>
>thanks for any help
>best
>Oeyvind
>
>2008/6/10, Michael Gogins :
>> Yes. This is a change to simplify the improvement of multithreading inside Csound.
>>
>> Yes, that's the correct URL.
>>
>> Regards,
>> Mike
>>
>> -----Original Message-----
>> >From: Oeyvind Brandtsegg 
>> >Sent: Jun 10, 2008 4:43 AM
>> >To: Developer discussions 
>> >Subject: Re: [Cs-dev] compiling, commonEnvironment.Clone()
>> >
>> >Ah, good. So it works with 097 now ;-)
>> >
>> >I ran into another wall however:
>> >
>> >Do I have to install a threading library ?
>> >
>> >I got
>> >"-IC:\Program Files\java\jdk1.6.0_06\include\win32"
>> >-IC:\usr\local\include -IC:\usr\include Top\threads.c
>> >Top\threads.c:132:21: pthread.h: No such file or directory
>> >Top\threads.c:140: error: syntax error before "pthread_mutex_t"
>> >...and so on (lots)
>> >
>> >Is it this one ?
>> >http://sourceware.org/pthreads-win32/
>> >
>> >I do have a
>> >msys/1.0/local/lib/pthreadGC2.dll
>> >
>> >best
>> >Oeyvind
>> >
>> >
>> >2008/6/9, victor :
>> >> I think you might need to upgrade your scons. Clone() is Copy(),
>> >> but Copy() has been deprecated.
>> >>
>> >> Victor
>> >>
>> >> ----- Original Message -----
>> >> From: "Oeyvind Brandtsegg" 
>> >> To: "Developer discussions" 
>> >> Sent: Monday, June 09, 2008 10:05 PM
>> >> Subject: [Cs-dev] compiling, commonEnvironment.Clone()
>> >>
>> >>
>> >> >I haven't compiled here for a while (a few months), so I'm not sure
>> >> > when this appeared.
>> >> >
>> >> > Checking for libsndfile version 1.0.16 or later... ok
>> >> > : SConsEnvironment instance has no
>> >> > attribute 'Clone':
>> >> >  File "SConstruct", line 759:
>> >> >    csoundLibraryEnvironment = commonEnvironment.Clone()
>> >> >
>> >> > Oeyvind
>> >> >
>> >> > -------------------------------------------------------------------------
>> >> > Check out the new SourceForge.net Marketplace.
>> >> > It's the best place to buy or sell services for
>> >> > just about anything Open Source.
>> >> > http://sourceforge.net/services/buy/index.php
>> >> > _______________________________________________
>> >> > Csound-devel mailing list
>> >> > Csound-devel@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>> >> -------------------------------------------------------------------------
>> >> Check out the new SourceForge.net Marketplace.
>> >> It's the best place to buy or sell services for
>> >> just about anything Open Source.
>> >> http://sourceforge.net/services/buy/index.php
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>> >
>> >-------------------------------------------------------------------------
>> >Check out the new SourceForge.net Marketplace.
>> >It's the best place to buy or sell services for
>> >just about anything Open Source.
>> >http://sourceforge.net/services/buy/index.php
>> >_______________________________________________
>> >Csound-devel mailing list
>> >Csound-devel@lists.sourceforge.net
>> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>-------------------------------------------------------------------------
>Check out the new SourceForge.net Marketplace.
>It's the best place to buy or sell services for
>just about anything Open Source.
>http://sourceforge.net/services/buy/index.php
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net