fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] pkgconfig not found


From: David Back
Subject: Re: [fluid-dev] pkgconfig not found
Date: Fri, 17 Nov 2017 08:50:42 +0000 (UTC)


Tom, Here we are again. Requested files attached. All files generated from the command line.

I am trying to compile fluidsynth-1.1.7 but other versions I have tried also had problems. I have never
been able to compile any version on windows.

David

From: Tom M. <address@hidden>
To: David Back <address@hidden>
Cc: FluidSynth mailing list <address@hidden>
Sent: Thursday, 16 November 2017, 19:22
Subject: Re: [fluid-dev] pkgconfig not found

I still think there is something wrong with your environment. Please give me:

echo %PATH%

dir /s c:\mingw32 > dir.txt

cmake --version

pkg-config --version

What version of fluidsynth are you using btw?

P.S.: Make sure you do not forget adding fluid-dev to the CC field when writing mails. Else this conversation suddenly becomes private.

Tom

Am Donnerstag, 16. November 2017, 19:54:35 CET schrieben Sie:
> Hi Tom I have very carefully made a c:\mingw32\deps\bin folder and put all of the downloadedbinary EXECUTABLES into the one bin folder. I have put this folder on the PATH and checkedthat the files within are executable from the command line.
> Note that windows extracts zipped files differently from Linux and "extract them all to the samefolder" is meaningless in a windows context. I still do not know precisely what you mean by thisstatement. BUT I have arranged all the files by hand into their original folders so I havebin, etc, include, lib, manifest, share and src in the deps folder with bin being the ONLY folderspecifically mentioned in the path.
> Similarly I have ensured that cmake has its PATH set correctly and is found from thecommand line.
> I have executed cmake from the command line while in the build folder as in yourreference below.
> The problem is still exactly the same "No package 'glib-2.0' found" and"No package 'gthread-2.0' found". I have attached the error and output logs.
> Do you really want a full directory listing of all my Mingw32 bin files. There is an awfullot of them and I do not think it will help?
> I suspect the problem lies in the wording of the CMakeLists.txt file. I know that if I commentout the lines where it is looking for the glib and gthread packages cmake runs to completionand a makefile is made which works but fails because an .h file which is associated withthe glib and gthread is missing.
> Happy faultfinding
> David
>
>
>
>      From: Tom M. <address@hidden>
>  To: David Back <address@hidden>
>  Sent: Thursday, 16 November 2017, 12:43
>  Subject: Re: [fluid-dev] pkgconfig not found

> > Do I need to rename the downloaded and extracted packages to these exact names as the downloaded packages include versions in their names?
>
> You just extract them all to the same folder, see command line
> instructions for how this is done at our Windows CI:
>
> https://github.com/FluidSynth/fluidsynth/blob/fd7bc44b0bcd7a8909d381cac1aa9b414b064e44/.appveyor.yml#L30-L50
>
> Although this is for Visual Studio, the preparing instructions listed
> there should also work for mingw. Once done you just call cmake .. and
> it should find everything. Make sure you have set up the PATH variable
> accordingly.
>
>
> > Also I suspect the versions of these downloaded packages are not >= 2.6.5
>
> The files provided at our wiki are at least 2.26, which happens to be > 2.6.5 .
>
>
> > Many of the FILES in these packages are already in the mingw32/bin folder but none of them has the exact name that cmake is looking for except pkgconfig.exe which it does find.
>
> Which files? Directory listing?
>
>
> > Has anybody ever successfully followed your instructions on windows?
>
> Yes ;)
>
>
> Tom
>
> 2017-11-16 13:06 GMT+01:00 David Back <address@hidden>:
> > Hi Tom
> >
> > Thanks for your prompt reply.
> >
> > Yes, I downloaded the files using the links on this page and followed the
> > instructions in "Building with Mingw on Windows" and did what it said. Cmake
> > has the same errors even when I tell it the exact folder to find mingw32. It
> > says
> > it cannot find glib-2.0 and gthread-2.0.
> >
> > Do I need to rename the downloaded and extracted packages to these exact
> > names as the downloaded packages include versions in their names? The
> > instructions do not say to rename them.
> >
> > Also I suspect the versions of these downloaded packages are not >= 2.6.5
> >
> > Many of the FILES in these packages are already in the mingw32/bin folder
> > but none of them has the exact name that cmake is looking for except
> > pkgconfig.exe
> > which it does find.
> >
> > Has anybody ever successfully followed your instructions on windows?
> >
> > It looks as if I may have to write my own makefile!!
> >
> > csw900 (David)
> >
> >
> >
> >
> >
> >
> > ________________________________
> > From: Tom M. <address@hidden>
> > To: David Back <address@hidden>; FluidSynth mailing list
> > <address@hidden>
> > Sent: Thursday, 16 November 2017, 9:08
> > Subject: Re: [fluid-dev] pkgconfig not found
> >
> >> I did find these and downloaded them only to find the version had to be
> >> >=2.6.5. The versions I found were much lower and were rejected.
> >
> > Did you had a recent look at our wiki page?
> >
> > https://github.com/FluidSynth/fluidsynth/wiki/BuildingWithCMake#building-on-windows
> >
> >
> > Tom
> >
> >
> >
> > 2017-11-15 20:56 GMT+01:00 David Back <address@hidden>:
> >> Hi fluidsynthers
> >>
> >> I am trying to use cmake to configure/compile fluidsynth on win32. I am
> >> using
> >> mingw32.
> >>
> >> The problem is that pkgconfig was not found. I downloaded the .exe file
> >> an copied it to my mingw32/bin folder.
> >>
> >> The next problem was glib-2.0 and gthread-2.0  were not found. I did
> >> find these and downloaded them only to find the version had to be >=2.6.5
> >> The versions I found were much lower and were rejected. Higher versions
> >> were not found.
> >>
> >> These packages appear to be associated or part of GTK+ and I
> >> do not wish to corrupt my system by installing some vast package I will
> >> never use.
> >>
> >> How can I satisfy cmake with these files in the simplest possible way?
> >>
> >> Thank you.
> >>
> >> csw900
> >
> >>
> >>
> >> _______________________________________________
> >> fluid-dev mailing list
> >> address@hidden
> >> https://lists.nongnu.org/mailman/listinfo/fluid-dev
> >
> >>
> >
> >
>
>
>   




Attachment: cmakever.txt
Description: Text document

Attachment: dir.txt
Description: Text document

Attachment: path.txt
Description: Text document

Attachment: pkg-configver.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]