Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] MinGW questions

Date2006-11-12 23:06
FromVictor Lazzarini
SubjectRe: [Cs-dev] MinGW questions
would this be a make problem? I remember having had
some sort of trouble with the mingw make. I might
have had to substitute it for the mingw32-make that
is offered separately, by renaming it, or was it the
other way round? I'm sure I had a similar issue. I
might have even reported it to this list, if you check
the archive (it was earlier this year).

Victor

>
> Whoops, you're right, I should have noticed it was a dev
> snapshot.  So I  got 1.1.7, and got a different error:
>
> Archiving ../lib/libfltk_jpeg.a...
> process_begin: CreateProcess((null), /mingw/bin/ar cr
> ./lib/libfltk_jpeg.a jmemnobs.o jcapimin.o jcapistd.o
> jccoefct.o  jccolor.o jcdctmgr.o jchuff.o jcinit.o
> jcmainct.o jcmarker.o jcmaster.o  jcomapi.o jcparam.o
> jcphuff.o jcprepct.o jcsample.o jctrans.o jdapimin.o
> jdapistd.o jdatadst.o jdatasrc.o jdcoefct.o jdcolor.o
> jddctmgr.o  jdhuff.o jdinput.o jdmainct.o jdmarker.o
> jdmaster.o jdmerge.o jdphuff.o  jdpostct.o jdsample.o
> jdtrans.o jerror.o jfdctflt.o jfdctfst.o  jfdctint.o
> jidctflt.o jidctfst.o jidctint.o jidctred.o jquant1.o
> jquant2.o jutils.o jmemmgr.o, ...) failed. make (e=3): The
> system cannot find the path specified.
> C:\msys\1.0\mingw\bin\make.exe[1]: ***
> [../lib/libfltk_jpeg.a] Error 3
>
> Not sure which path it's complaining about.  Ar is located
> as shown, and  is in the path as well.
>
> - Dave
>
> Victor Lazzarini wrote:
> > See if you can get 1.1.7. It builds here flawlessly.
> >
> > Victor
> >
> >> As I said on the other thread, I used configure with
> >> --enable-shared and  --enable-threads.  The error was
> not >> in compilation, but in linking.  Using
> Makefile.mingw >> gives the same result as I reported
> earlier: >>
> >> g++ -shared -Wl,--whole-archive -Wl
> ,--export-all-symbols >> -Wl,--enable-auto-import -o
> mgwfltknox-1.1.dll >> ./lib/libfltk.a ... Creating library
> file: libfltk.dll.a >>
> /lib/libfltk.a(Fl.o)(.text+0x27f):Fl.cxx: undefined >>
> reference to  `DeleteObject@4' >>
> /lib/libfltk.a(Fl.o)(.text+0xcb3):Fl.cxx: undefined >>
> reference to  `CreateRectRgn@16' >>
> /lib/libfltk.a(Fl.o)(.text+0xcc6):Fl.cxx: undefined >>
> reference to  `CombineRgn@16' >>
> /lib/libfltk.a(Fl.o)(.text+0xccc):Fl.cxx: undefined >>
> reference to  `DeleteObject@4' >>
> /lib/libfltk.a(Fl.o)(.text+0xcdf):Fl.cxx: undefined >>
> reference to  `DeleteObject@4' >>
> >> (etc.)
> >>
> >> - Dave
> >>
> >> Michael Gogins wrote:
> >>> FLTK can be built a number of ways. There is a
> configure >> script and also a MinGW makefile in the
> FLTK/makefiles >>> directory. Did you try both ways?
> >>> Regards,
> >>> Mike
> >>
> >>
> ----------------------------------------------------------
> >> --------------- Using Tomcat but need to do more? Need
> to >> support web services, security? Get stuff done
> quickly >> with pre-integrated technology to make your job
> easier >> Download IBM WebSphere Application Server
> v.1.0.1 based on >> Apache Geronimo
> >>
> >
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________
> >> Csound-devel mailing list
> >> Csound-devel@lists.sourceforge.net
> >>
> >
> >
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> ----------------------------------------------------------
> > --------------- Using Tomcat but need to do more? Need
> > to support web services, security? Get stuff done
> quickly with pre-integrated technology to make your job
> > easier Download IBM WebSphere Application Server v.1.0.1
> > based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> >
> >
> >
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ----------------------------------------------------------
> --------------- Using Tomcat but need to do more? Need to
> support web services, security? Get stuff done quickly
> with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-12 23:50
FromDave Seidel
SubjectRe: [Cs-dev] MinGW questions
Good hint, I had apparently been using th wrong one.  This gets me a lot 
further, but then it can't find a library:

/mingw/bin/ar cr ../lib/libfltk_images.a ...
g++ -shared -Wl,--whole-archive -Wl,--export-all-symbols 
-Wl,--enable-auto-import -o mgwfltknox_images-1.1.dll 
../lib/libfltk_images ...
C:\msys\1.0\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -ljpeg
collect2: ld returned 1 exit status

- Dave

P.S.  Thanks for your continued patience!

Victor Lazzarini wrote:
> would this be a make problem? I remember having had
> some sort of trouble with the mingw make. I might
> have had to substitute it for the mingw32-make that
> is offered separately, by renaming it, or was it the
> other way round? I'm sure I had a similar issue. I
> might have even reported it to this list, if you check
> the archive (it was earlier this year).
> 
> Victor
> 
>> Whoops, you're right, I should have noticed it was a dev
>> snapshot.  So I  got 1.1.7, and got a different error:
>>
>> Archiving ../lib/libfltk_jpeg.a...
>> process_begin: CreateProcess((null), /mingw/bin/ar cr
>> ./lib/libfltk_jpeg.a jmemnobs.o jcapimin.o jcapistd.o
>> jccoefct.o  jccolor.o jcdctmgr.o jchuff.o jcinit.o
>> jcmainct.o jcmarker.o jcmaster.o  jcomapi.o jcparam.o
>> jcphuff.o jcprepct.o jcsample.o jctrans.o jdapimin.o
>> jdapistd.o jdatadst.o jdatasrc.o jdcoefct.o jdcolor.o
>> jddctmgr.o  jdhuff.o jdinput.o jdmainct.o jdmarker.o
>> jdmaster.o jdmerge.o jdphuff.o  jdpostct.o jdsample.o
>> jdtrans.o jerror.o jfdctflt.o jfdctfst.o  jfdctint.o
>> jidctflt.o jidctfst.o jidctint.o jidctred.o jquant1.o
>> jquant2.o jutils.o jmemmgr.o, ...) failed. make (e=3): The
>> system cannot find the path specified.
>> C:\msys\1.0\mingw\bin\make.exe[1]: ***
>> [../lib/libfltk_jpeg.a] Error 3
>>
>> Not sure which path it's complaining about.  Ar is located
>> as shown, and  is in the path as well.
>>
>> - Dave
>>
>> Victor Lazzarini wrote:
>>> See if you can get 1.1.7. It builds here flawlessly.
>>>
>>> Victor
>>>
>>>> As I said on the other thread, I used configure with
>>>> --enable-shared and  --enable-threads.  The error was
>> not >> in compilation, but in linking.  Using
>> Makefile.mingw >> gives the same result as I reported
>> earlier: >>
>>>> g++ -shared -Wl,--whole-archive -Wl
>> ,--export-all-symbols >> -Wl,--enable-auto-import -o
>> mgwfltknox-1.1.dll >> ./lib/libfltk.a ... Creating library
>> file: libfltk.dll.a >>
>> /lib/libfltk.a(Fl.o)(.text+0x27f):Fl.cxx: undefined >>
>> reference to  `DeleteObject@4' >>
>> /lib/libfltk.a(Fl.o)(.text+0xcb3):Fl.cxx: undefined >>
>> reference to  `CreateRectRgn@16' >>
>> /lib/libfltk.a(Fl.o)(.text+0xcc6):Fl.cxx: undefined >>
>> reference to  `CombineRgn@16' >>
>> /lib/libfltk.a(Fl.o)(.text+0xccc):Fl.cxx: undefined >>
>> reference to  `DeleteObject@4' >>
>> /lib/libfltk.a(Fl.o)(.text+0xcdf):Fl.cxx: undefined >>
>> reference to  `DeleteObject@4' >>
>>>> (etc.)
>>>>
>>>> - Dave
>>>>
>>>> Michael Gogins wrote:
>>>>> FLTK can be built a number of ways. There is a
>> configure >> script and also a MinGW makefile in the
>> FLTK/makefiles >>> directory. Did you try both ways?
>>>>> Regards,
>>>>> Mike
>>>>
>> ----------------------------------------------------------
>>>> --------------- Using Tomcat but need to do more? Need
>> to >> support web services, security? Get stuff done
>> quickly >> with pre-integrated technology to make your job
>> easier >> Download IBM WebSphere Application Server
>> v.1.0.1 based on >> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>>
>>>
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> ----------------------------------------------------------
>>> --------------- Using Tomcat but need to do more? Need
>>> to support web services, security? Get stuff done
>> quickly with pre-integrated technology to make your job
>>> easier Download IBM WebSphere Application Server v.1.0.1
>>> based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>>
>>>
>>>
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ----------------------------------------------------------
>> --------------- Using Tomcat but need to do more? Need to
>> support web services, security? Get stuff done quickly
>> with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on
>> Apache Geronimo
>>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-13 00:18
From"Steven Yi"
SubjectRe: [Cs-dev] MinGW questions
AttachmentsNone  

Date2006-11-13 00:52
FromDave Seidel
SubjectRe: [Cs-dev] MinGW questions
Thanks, Steven!  It now compiles and links.  I get errors from "make 
install", can I get away without that step?  And regarding the removal 
of --enable-shared, I assume that Csound5 will link FLTK statically?

- Dave

Steven Yi wrote:
> Hi Dave,
> 
> I had this problem too with -ljpeg when I recently built fltk on
> Win2K, but for the of me I can't remember what I did to get past it.
> Could you try without --enable-shared and with --enabled-threads?
> 
> steven


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-13 13:58
From"Steven Yi"
SubjectRe: [Cs-dev] MinGW questions
AttachmentsNone  

Date2006-11-13 19:08
FromDave Seidel
SubjectRe: [Cs-dev] MinGW questions
Perhaps I need to blow it all away and build from scratch with the 
correct make version, there might have been something left over from my 
earlier attempts.  Here's what I got from "make install":

echo "=== installing zlib ==="
=== installing zlib ===
touch zlib/makedepend
cd zlib ; old-make install
old-make[1]: Entering directory `/c/csound-dev/dependencies/fltk-1.1.7/zlib'
Installing libfltk_z.a in /usr/local/lib...
Installing zlib headers in /usr/local/include/FL/images...
old-make[1]: Leaving directory `/c/csound-dev/dependencies/fltk-1.1.7/zlib'
echo "=== installing jpeg ==="
=== installing jpeg ===
touch jpeg/makedepend
cd jpeg ; old-make install
old-make[1]: Entering directory `/c/csound-dev/dependencies/fltk-1.1.7/jpeg'
Installing libfltk_jpeg.a in /usr/local/lib...
Installing jpeg headers in /usr/local/include/FL/images...
old-make[1]: Leaving directory `/c/csound-dev/dependencies/fltk-1.1.7/jpeg'
echo "=== installing png ==="
=== installing png ===
touch png/makedepend
cd png ; old-make install
old-make[1]: Entering directory `/c/csound-dev/dependencies/fltk-1.1.7/png'
Installing libfltk_png.a in /usr/local/lib...
Installing png headers in /usr/local/include/FL/images...
old-make[1]: Leaving directory `/c/csound-dev/dependencies/fltk-1.1.7/png'
echo "=== installing src ==="
=== installing src ===
touch src/makedepend
cd src ; old-make install
old-make[1]: Entering directory `/c/csound-dev/dependencies/fltk-1.1.7/src'
Installing libraries in /usr/local/lib...
old-make[1]: Leaving directory `/c/csound-dev/dependencies/fltk-1.1.7/src'
echo "=== installing fluid ==="
=== installing fluid ===
touch fluid/makedepend
cd fluid ; old-make install
old-make[1]: Entering directory 
`/c/csound-dev/dependencies/fltk-1.1.7/fluid'
Installing FLUID in /usr/local/bin...
/bin/sh: /usr/local/bin/fltk-config: No such file or directory
old-make[1]: *** [install] Error 127
old-make[1]: Leaving directory `/c/csound-dev/dependencies/fltk-1.1.7/fluid'
old-make: *** [install] Error 2

- Dave

Steven Yi wrote:
> Hi Dave,
> 
> What errors are you getting from "make install"?   I think not having
> --enable-shared is fine, it'll just statically link and will bulk up
> the binaries a little and perhaps slow down initial startup a little,
> but shouldn't be so much that it is disruptive to use.  I don't think
> I had enable-shared for a long time here on Linux and things worked
> fine.
> 
> steven
> 
> 
> On 11/13/06, Dave Seidel  wrote:
>> Thanks, Steven!  It now compiles and links.  I get errors from "make
>> install", can I get away without that step?  And regarding the removal
>> of --enable-shared, I assume that Csound5 will link FLTK statically?
>>
>> - Dave
>>
>> Steven Yi wrote:
>>> Hi Dave,
>>>
>>> I had this problem too with -ljpeg when I recently built fltk on
>>> Win2K, but for the of me I can't remember what I did to get past it.
>>> Could you try without --enable-shared and with --enabled-threads?
>>>
>>> steven
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-14 10:04
From"Steven Yi"
SubjectRe: [Cs-dev] MinGW questions
AttachmentsNone