audacity-devel Mailing List for Audacity (Page 7)
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(50) |
Nov
(77) |
Dec
(169) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(139) |
Feb
(147) |
Mar
(111) |
Apr
(348) |
May
(262) |
Jun
(294) |
Jul
(315) |
Aug
(186) |
Sep
(132) |
Oct
(135) |
Nov
(358) |
Dec
(241) |
2003 |
Jan
(557) |
Feb
(489) |
Mar
(361) |
Apr
(378) |
May
(493) |
Jun
(348) |
Jul
(289) |
Aug
(259) |
Sep
(322) |
Oct
(463) |
Nov
(305) |
Dec
(201) |
2004 |
Jan
(198) |
Feb
(186) |
Mar
(192) |
Apr
(216) |
May
(175) |
Jun
(200) |
Jul
(277) |
Aug
(127) |
Sep
(64) |
Oct
(208) |
Nov
(170) |
Dec
(154) |
2005 |
Jan
(239) |
Feb
(171) |
Mar
(123) |
Apr
(55) |
May
(74) |
Jun
(100) |
Jul
(129) |
Aug
(221) |
Sep
(209) |
Oct
(270) |
Nov
(590) |
Dec
(313) |
2006 |
Jan
(377) |
Feb
(189) |
Mar
(234) |
Apr
(180) |
May
(230) |
Jun
(404) |
Jul
(574) |
Aug
(300) |
Sep
(424) |
Oct
(444) |
Nov
(363) |
Dec
(153) |
2007 |
Jan
(223) |
Feb
(106) |
Mar
(311) |
Apr
(233) |
May
(336) |
Jun
(278) |
Jul
(467) |
Aug
(416) |
Sep
(550) |
Oct
(503) |
Nov
(483) |
Dec
(271) |
2008 |
Jan
(344) |
Feb
(127) |
Mar
(416) |
Apr
(381) |
May
(679) |
Jun
(749) |
Jul
(549) |
Aug
(281) |
Sep
(137) |
Oct
(324) |
Nov
(200) |
Dec
(330) |
2009 |
Jan
(634) |
Feb
(438) |
Mar
(560) |
Apr
(387) |
May
(313) |
Jun
(443) |
Jul
(947) |
Aug
(505) |
Sep
(477) |
Oct
(679) |
Nov
(714) |
Dec
(407) |
2010 |
Jan
(348) |
Feb
(283) |
Mar
(232) |
Apr
(173) |
May
(79) |
Jun
(109) |
Jul
(128) |
Aug
(62) |
Sep
(118) |
Oct
(153) |
Nov
(57) |
Dec
(76) |
2011 |
Jan
(105) |
Feb
(150) |
Mar
(314) |
Apr
(266) |
May
(55) |
Jun
(47) |
Jul
(113) |
Aug
(70) |
Sep
(77) |
Oct
(93) |
Nov
(106) |
Dec
(190) |
2012 |
Jan
(68) |
Feb
(188) |
Mar
(313) |
Apr
(80) |
May
(122) |
Jun
(222) |
Jul
(94) |
Aug
(239) |
Sep
(64) |
Oct
(164) |
Nov
(168) |
Dec
(277) |
2013 |
Jan
(336) |
Feb
(156) |
Mar
(80) |
Apr
(135) |
May
(150) |
Jun
(139) |
Jul
(160) |
Aug
(266) |
Sep
(386) |
Oct
(465) |
Nov
(366) |
Dec
(156) |
2014 |
Jan
(190) |
Feb
(88) |
Mar
(60) |
Apr
(38) |
May
(146) |
Jun
(104) |
Jul
(189) |
Aug
(424) |
Sep
(235) |
Oct
(990) |
Nov
(598) |
Dec
(393) |
2015 |
Jan
(256) |
Feb
(40) |
Mar
(195) |
Apr
(497) |
May
(227) |
Jun
(138) |
Jul
(257) |
Aug
(351) |
Sep
(151) |
Oct
(119) |
Nov
(78) |
Dec
(16) |
2016 |
Jan
(225) |
Feb
(289) |
Mar
(267) |
Apr
(318) |
May
(198) |
Jun
(177) |
Jul
(155) |
Aug
(268) |
Sep
(175) |
Oct
(56) |
Nov
(147) |
Dec
(67) |
2017 |
Jan
(110) |
Feb
(148) |
Mar
(191) |
Apr
(210) |
May
(164) |
Jun
(261) |
Jul
(332) |
Aug
(349) |
Sep
(54) |
Oct
(171) |
Nov
(199) |
Dec
(153) |
2018 |
Jan
(351) |
Feb
(182) |
Mar
(345) |
Apr
(113) |
May
(76) |
Jun
(176) |
Jul
(60) |
Aug
(171) |
Sep
(183) |
Oct
(310) |
Nov
(150) |
Dec
(23) |
2019 |
Jan
(91) |
Feb
(73) |
Mar
(172) |
Apr
(119) |
May
(112) |
Jun
(145) |
Jul
(66) |
Aug
(60) |
Sep
(89) |
Oct
(104) |
Nov
(89) |
Dec
(157) |
2020 |
Jan
(126) |
Feb
(322) |
Mar
(108) |
Apr
(98) |
May
(227) |
Jun
(194) |
Jul
(374) |
Aug
(85) |
Sep
(122) |
Oct
(44) |
Nov
(18) |
Dec
(72) |
2021 |
Jan
(120) |
Feb
(101) |
Mar
(169) |
Apr
(167) |
May
(115) |
Jun
(32) |
Jul
(17) |
Aug
(12) |
Sep
|
Oct
(2) |
Nov
(3) |
Dec
|
2022 |
Jan
(5) |
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
2023 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Peter S. <pet...@gm...> - 2021-05-14 07:27:54
|
And this user seems to have got faster again... :-// https://forum.audacityteam.org/viewtopic.php?f=46&t=118101&p=425721#p425721 Peter On Thu, May 13, 2021 at 11:13 PM Steve Fiddle <ste...@gm...> wrote: > > > On Thu, 13 May 2021 at 22:16, James Crook <jam...@gm...> wrote: > >> The slow appearance of the problem possibly fits with checkpointing. >> >> Planned changes, to use more standard max .wal size (i.e. block-size x >> checkpoint-block-count-threshold ) may both make the slowdown smaller and >> more even, if it is the cause. It may also eliminate it, if it is related >> to exceeding some in-memory cache size and so thrashing. >> >> I would say the fastest way is to get some test builds out that do this, >> and get feedback from such users. >> Things that may also help confirm/contradict this are asking about total >> RAM and about other programs running - especially browsers with many tabs >> open. Perhaps closing browsers so freeing up RAM will alleviate?? >> >> How many are 'worrying numbers'? >> > > This latest one makes 5 separate reports that I've noticed in the last > couple of weeks. > There's also a couple of others that may or may not be the same issue. > > Actual Audacity bugs make up a small proportion of forum issues, so > although it's not a big number, it's a significantly large proportion of > actual bugs. > > Steve > > > >> >> >> >> >> On Thu, 13 May 2021 at 21:23, Cliff <fly...@gm...> wrote: >> >>> I have not seen that on Mac Mojave. The only things that at times seem >>> slow is saving after a lot of editing. Initial project is usually 2+ hours >>> and the final project is an hour or 1:15 or so. Compressor is normally >>> quick, but I’m using the old one and not the new one. Basic operations are >>> all very normal speeds. >>> >>> Cliff >>> >>> On May 13, 2021, at 13:51, Steve Fiddle <ste...@gm...> >>> wrote: >>> >>> We're getting a worrying number of reports of Audacity 3.x being >>> excessively slow for some users. The common factor being that the projects >>> are longer than about 30 minutes. >>> >>> Most of the reports have been on Windows, but so are most of our users, >>> so that may not be significant. >>> >>> On Linux, when working with project of an hour or more I have also >>> experienced some long waits, especially when closing the project (though I >>> rarely work on projects that are more than a few minutes long). >>> >>> A peculiarity is that the slowness may not appear immediately. It seems >>> to happen after working on the project for a while, and may be related to >>> using "Undo". >>> >>> Below is the latest report that came in a few minutes ago. >>> >>> Steve >>> >>> >>> ---------- Forwarded message --------- >>> From: [redacted] >>> Date: Thu, 13 May 2021 at 19:26 >>> Subject: Audacity 3.02 >>> >>> >>> I appreciate the work you do and you making it available free to the >>> user. It has helped me for years. >>> >>> >>> >>> I do not want to complain but I am having some issues that I feel you >>> should be made aware of. >>> >>> >>> >>> I am using a Windows 10 Computer. All of my recordings are voice only >>> and range from 30 to 60 minutes. Over the years I have made many recording >>> using audacity. I average 2-3 recordings a week and have used audacity >>> since one of your earliest versions. >>> >>> >>> >>> A few weeks ago I upgraded to Audacity 3.0. With great expectation, I >>> loaded it, expecting my “wait” time to be reduced. The reverse happened on >>> nearly everything I do. It was so bad, I went back to my older version. >>> Today, I saw 3.02 was out and downloaded it. I recorded a 48 minute audio >>> without issue. However, When it came to editing, it was a different story. >>> Below are a few of the “wait times” I experienced. >>> >>> >>> >>> · Sound Finder took a long time but I did not time it. >>> >>> · Label Audio Split took over 20 minutes >>> >>> · Compressor took over 40 minutes. >>> >>> · Truncate Silence took a long time. >>> >>> · Saving the file also took an extremely long time. >>> >>> · Closing Audacity took over 21 minutes. >>> >>> I hope this information helps resolve some issues. If I can be of help >>> in evaluating, I would be happy to do so. >>> >>> >>> >>> Sincerely, >>> >>> [redacted] >>> _______________________________________________ >>> audacity-devel mailing list >>> aud...@li... >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel >>> >>> >>> _______________________________________________ >>> audacity-devel mailing list >>> aud...@li... >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel >>> >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... >> https://lists.sourceforge.net/lists/listinfo/audacity-devel >> > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |
From: Steve F. <ste...@gm...> - 2021-05-13 22:12:34
|
On Thu, 13 May 2021 at 22:16, James Crook <jam...@gm...> wrote: > The slow appearance of the problem possibly fits with checkpointing. > > Planned changes, to use more standard max .wal size (i.e. block-size x > checkpoint-block-count-threshold ) may both make the slowdown smaller and > more even, if it is the cause. It may also eliminate it, if it is related > to exceeding some in-memory cache size and so thrashing. > > I would say the fastest way is to get some test builds out that do this, > and get feedback from such users. > Things that may also help confirm/contradict this are asking about total > RAM and about other programs running - especially browsers with many tabs > open. Perhaps closing browsers so freeing up RAM will alleviate?? > > How many are 'worrying numbers'? > This latest one makes 5 separate reports that I've noticed in the last couple of weeks. There's also a couple of others that may or may not be the same issue. Actual Audacity bugs make up a small proportion of forum issues, so although it's not a big number, it's a significantly large proportion of actual bugs. Steve > > > > > On Thu, 13 May 2021 at 21:23, Cliff <fly...@gm...> wrote: > >> I have not seen that on Mac Mojave. The only things that at times seem >> slow is saving after a lot of editing. Initial project is usually 2+ hours >> and the final project is an hour or 1:15 or so. Compressor is normally >> quick, but I’m using the old one and not the new one. Basic operations are >> all very normal speeds. >> >> Cliff >> >> On May 13, 2021, at 13:51, Steve Fiddle <ste...@gm...> wrote: >> >> We're getting a worrying number of reports of Audacity 3.x being >> excessively slow for some users. The common factor being that the projects >> are longer than about 30 minutes. >> >> Most of the reports have been on Windows, but so are most of our users, >> so that may not be significant. >> >> On Linux, when working with project of an hour or more I have also >> experienced some long waits, especially when closing the project (though I >> rarely work on projects that are more than a few minutes long). >> >> A peculiarity is that the slowness may not appear immediately. It seems >> to happen after working on the project for a while, and may be related to >> using "Undo". >> >> Below is the latest report that came in a few minutes ago. >> >> Steve >> >> >> ---------- Forwarded message --------- >> From: [redacted] >> Date: Thu, 13 May 2021 at 19:26 >> Subject: Audacity 3.02 >> >> >> I appreciate the work you do and you making it available free to the >> user. It has helped me for years. >> >> >> >> I do not want to complain but I am having some issues that I feel you >> should be made aware of. >> >> >> >> I am using a Windows 10 Computer. All of my recordings are voice only and >> range from 30 to 60 minutes. Over the years I have made many recording >> using audacity. I average 2-3 recordings a week and have used audacity >> since one of your earliest versions. >> >> >> >> A few weeks ago I upgraded to Audacity 3.0. With great expectation, I >> loaded it, expecting my “wait” time to be reduced. The reverse happened on >> nearly everything I do. It was so bad, I went back to my older version. >> Today, I saw 3.02 was out and downloaded it. I recorded a 48 minute audio >> without issue. However, When it came to editing, it was a different story. >> Below are a few of the “wait times” I experienced. >> >> >> >> · Sound Finder took a long time but I did not time it. >> >> · Label Audio Split took over 20 minutes >> >> · Compressor took over 40 minutes. >> >> · Truncate Silence took a long time. >> >> · Saving the file also took an extremely long time. >> >> · Closing Audacity took over 21 minutes. >> >> I hope this information helps resolve some issues. If I can be of help in >> evaluating, I would be happy to do so. >> >> >> >> Sincerely, >> >> [redacted] >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... >> https://lists.sourceforge.net/lists/listinfo/audacity-devel >> >> >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... >> https://lists.sourceforge.net/lists/listinfo/audacity-devel >> > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |
From: Leland <ll...@ho...> - 2021-05-13 21:33:16
|
It’s certainly worth trying, but be cautious about changing the block size. When we first started aup3, we tested several block sizes and the 64KB size worked the best. But, I’m pretty sure that was on machines that were lightly loaded. From: James Crook <jam...@gm...> Sent: Thursday, May 13, 2021 4:14 PM To: audacity-devel <aud...@li...> Subject: Re: [Audacity-devel] Excessive slowness for some users The slow appearance of the problem possibly fits with checkpointing. Planned changes, to use more standard max .wal size (i.e. block-size x checkpoint-block-count-threshold ) may both make the slowdown smaller and more even, if it is the cause. It may also eliminate it, if it is related to exceeding some in-memory cache size and so thrashing. I would say the fastest way is to get some test builds out that do this, and get feedback from such users. Things that may also help confirm/contradict this are asking about total RAM and about other programs running - especially browsers with many tabs open. Perhaps closing browsers so freeing up RAM will alleviate?? How many are 'worrying numbers'? On Thu, 13 May 2021 at 21:23, Cliff <fly...@gm... <mailto:fly...@gm...> > wrote: I have not seen that on Mac Mojave. The only things that at times seem slow is saving after a lot of editing. Initial project is usually 2+ hours and the final project is an hour or 1:15 or so. Compressor is normally quick, but I’m using the old one and not the new one. Basic operations are all very normal speeds. Cliff On May 13, 2021, at 13:51, Steve Fiddle <ste...@gm... <mailto:ste...@gm...> > wrote: We're getting a worrying number of reports of Audacity 3.x being excessively slow for some users. The common factor being that the projects are longer than about 30 minutes. Most of the reports have been on Windows, but so are most of our users, so that may not be significant. On Linux, when working with project of an hour or more I have also experienced some long waits, especially when closing the project (though I rarely work on projects that are more than a few minutes long). A peculiarity is that the slowness may not appear immediately. It seems to happen after working on the project for a while, and may be related to using "Undo". Below is the latest report that came in a few minutes ago. Steve ---------- Forwarded message --------- From: [redacted] Date: Thu, 13 May 2021 at 19:26 Subject: Audacity 3.02 I appreciate the work you do and you making it available free to the user. It has helped me for years. I do not want to complain but I am having some issues that I feel you should be made aware of. I am using a Windows 10 Computer. All of my recordings are voice only and range from 30 to 60 minutes. Over the years I have made many recording using audacity. I average 2-3 recordings a week and have used audacity since one of your earliest versions. A few weeks ago I upgraded to Audacity 3.0. With great expectation, I loaded it, expecting my “wait” time to be reduced. The reverse happened on nearly everything I do. It was so bad, I went back to my older version. Today, I saw 3.02 was out and downloaded it. I recorded a 48 minute audio without issue. However, When it came to editing, it was a different story. Below are a few of the “wait times” I experienced. * Sound Finder took a long time but I did not time it. * Label Audio Split took over 20 minutes * Compressor took over 40 minutes. * Truncate Silence took a long time. * Saving the file also took an extremely long time. * Closing Audacity took over 21 minutes. I hope this information helps resolve some issues. If I can be of help in evaluating, I would be happy to do so. Sincerely, [redacted] _______________________________________________ audacity-devel mailing list aud...@li... <mailto:aud...@li...> https://lists.sourceforge.net/lists/listinfo/audacity-devel _______________________________________________ audacity-devel mailing list aud...@li... <mailto:aud...@li...> https://lists.sourceforge.net/lists/listinfo/audacity-devel |
From: James C. <jam...@gm...> - 2021-05-13 21:14:48
|
The slow appearance of the problem possibly fits with checkpointing. Planned changes, to use more standard max .wal size (i.e. block-size x checkpoint-block-count-threshold ) may both make the slowdown smaller and more even, if it is the cause. It may also eliminate it, if it is related to exceeding some in-memory cache size and so thrashing. I would say the fastest way is to get some test builds out that do this, and get feedback from such users. Things that may also help confirm/contradict this are asking about total RAM and about other programs running - especially browsers with many tabs open. Perhaps closing browsers so freeing up RAM will alleviate?? How many are 'worrying numbers'? On Thu, 13 May 2021 at 21:23, Cliff <fly...@gm...> wrote: > I have not seen that on Mac Mojave. The only things that at times seem > slow is saving after a lot of editing. Initial project is usually 2+ hours > and the final project is an hour or 1:15 or so. Compressor is normally > quick, but I’m using the old one and not the new one. Basic operations are > all very normal speeds. > > Cliff > > On May 13, 2021, at 13:51, Steve Fiddle <ste...@gm...> wrote: > > We're getting a worrying number of reports of Audacity 3.x being > excessively slow for some users. The common factor being that the projects > are longer than about 30 minutes. > > Most of the reports have been on Windows, but so are most of our users, so > that may not be significant. > > On Linux, when working with project of an hour or more I have also > experienced some long waits, especially when closing the project (though I > rarely work on projects that are more than a few minutes long). > > A peculiarity is that the slowness may not appear immediately. It seems to > happen after working on the project for a while, and may be related to > using "Undo". > > Below is the latest report that came in a few minutes ago. > > Steve > > > ---------- Forwarded message --------- > From: [redacted] > Date: Thu, 13 May 2021 at 19:26 > Subject: Audacity 3.02 > > > I appreciate the work you do and you making it available free to the user. > It has helped me for years. > > > > I do not want to complain but I am having some issues that I feel you > should be made aware of. > > > > I am using a Windows 10 Computer. All of my recordings are voice only and > range from 30 to 60 minutes. Over the years I have made many recording > using audacity. I average 2-3 recordings a week and have used audacity > since one of your earliest versions. > > > > A few weeks ago I upgraded to Audacity 3.0. With great expectation, I > loaded it, expecting my “wait” time to be reduced. The reverse happened on > nearly everything I do. It was so bad, I went back to my older version. > Today, I saw 3.02 was out and downloaded it. I recorded a 48 minute audio > without issue. However, When it came to editing, it was a different story. > Below are a few of the “wait times” I experienced. > > > > · Sound Finder took a long time but I did not time it. > > · Label Audio Split took over 20 minutes > > · Compressor took over 40 minutes. > > · Truncate Silence took a long time. > > · Saving the file also took an extremely long time. > > · Closing Audacity took over 21 minutes. > > I hope this information helps resolve some issues. If I can be of help in > evaluating, I would be happy to do so. > > > > Sincerely, > > [redacted] > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |
From: Cliff <fly...@gm...> - 2021-05-13 20:21:46
|
I have not seen that on Mac Mojave. The only things that at times seem slow is saving after a lot of editing. Initial project is usually 2+ hours and the final project is an hour or 1:15 or so. Compressor is normally quick, but I’m using the old one and not the new one. Basic operations are all very normal speeds. Cliff > On May 13, 2021, at 13:51, Steve Fiddle <ste...@gm...> wrote: > > We're getting a worrying number of reports of Audacity 3.x being excessively slow for some users. The common factor being that the projects are longer than about 30 minutes. > > Most of the reports have been on Windows, but so are most of our users, so that may not be significant. > > On Linux, when working with project of an hour or more I have also experienced some long waits, especially when closing the project (though I rarely work on projects that are more than a few minutes long). > > A peculiarity is that the slowness may not appear immediately. It seems to happen after working on the project for a while, and may be related to using "Undo". > > Below is the latest report that came in a few minutes ago. > > Steve > > > ---------- Forwarded message --------- > From: [redacted] > Date: Thu, 13 May 2021 at 19:26 > Subject: Audacity 3.02 > > > I appreciate the work you do and you making it available free to the user. It has helped me for years. > > > > I do not want to complain but I am having some issues that I feel you should be made aware of. > > > > I am using a Windows 10 Computer. All of my recordings are voice only and range from 30 to 60 minutes. Over the years I have made many recording using audacity. I average 2-3 recordings a week and have used audacity since one of your earliest versions. > > > > A few weeks ago I upgraded to Audacity 3.0. With great expectation, I loaded it, expecting my “wait” time to be reduced. The reverse happened on nearly everything I do. It was so bad, I went back to my older version. Today, I saw 3.02 was out and downloaded it. I recorded a 48 minute audio without issue. However, When it came to editing, it was a different story. Below are a few of the “wait times” I experienced. > > > > · Sound Finder took a long time but I did not time it. > > · Label Audio Split took over 20 minutes > > · Compressor took over 40 minutes. > > · Truncate Silence took a long time. > > · Saving the file also took an extremely long time. > > · Closing Audacity took over 21 minutes. > > I hope this information helps resolve some issues. If I can be of help in evaluating, I would be happy to do so. > > > > Sincerely, > > [redacted] > > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel |
From: Steve F. <ste...@gm...> - 2021-05-13 18:52:14
|
We're getting a worrying number of reports of Audacity 3.x being excessively slow for some users. The common factor being that the projects are longer than about 30 minutes. Most of the reports have been on Windows, but so are most of our users, so that may not be significant. On Linux, when working with project of an hour or more I have also experienced some long waits, especially when closing the project (though I rarely work on projects that are more than a few minutes long). A peculiarity is that the slowness may not appear immediately. It seems to happen after working on the project for a while, and may be related to using "Undo". Below is the latest report that came in a few minutes ago. Steve ---------- Forwarded message --------- From: [redacted] Date: Thu, 13 May 2021 at 19:26 Subject: Audacity 3.02 I appreciate the work you do and you making it available free to the user. It has helped me for years. I do not want to complain but I am having some issues that I feel you should be made aware of. I am using a Windows 10 Computer. All of my recordings are voice only and range from 30 to 60 minutes. Over the years I have made many recording using audacity. I average 2-3 recordings a week and have used audacity since one of your earliest versions. A few weeks ago I upgraded to Audacity 3.0. With great expectation, I loaded it, expecting my “wait” time to be reduced. The reverse happened on nearly everything I do. It was so bad, I went back to my older version. Today, I saw 3.02 was out and downloaded it. I recorded a 48 minute audio without issue. However, When it came to editing, it was a different story. Below are a few of the “wait times” I experienced. · Sound Finder took a long time but I did not time it. · Label Audio Split took over 20 minutes · Compressor took over 40 minutes. · Truncate Silence took a long time. · Saving the file also took an extremely long time. · Closing Audacity took over 21 minutes. I hope this information helps resolve some issues. If I can be of help in evaluating, I would be happy to do so. Sincerely, [redacted] |
From: Cliff <fly...@gm...> - 2021-05-13 16:25:23
|
Thanks David. The first time I tried to compile it failed the same way as before, but now running again without pulling anything new, it worked. I’ve seen that several times with cmake, like it takes one try to build something then the second try to use it. Cliff > On May 13, 2021, at 10:12, David Bailes <drb...@gm...> wrote: > > On Thu, 13 May 2021 at 15:50, Cliff <fly...@gm... <mailto:fly...@gm...>> wrote: > Any idea of when this will get into Master? > > It's already in: > https://github.com/audacity/audacity/commit/b52192c4c4eec12a1b9fccac31d77fce6746bc52 <https://github.com/audacity/audacity/commit/b52192c4c4eec12a1b9fccac31d77fce6746bc52> > > David. > > > Cliff > >> On May 12, 2021, at 11:33, Paul Licameli <pau...@gm... <mailto:pau...@gm...>> wrote: >> >> I wrote a more general fix than Leland's that should be good on all platforms. I have confirmed it fixes the Mac build with precompiled headers on. >> >> Leland, please review and merge it. >> >> https://github.com/audacity/audacity/pull/886 <https://github.com/audacity/audacity/pull/886> >> >> PRL >> >> >> >> On Wed, May 12, 2021 at 9:38 AM Paul Licameli <pau...@gm... <mailto:pau...@gm...>> wrote: >> Mac needs fixing too. >> >> I will figure it out and push. >> >> PRL >> >> >> On Wed, May 12, 2021 at 9:32 AM James Crook <jam...@gm... <mailto:jam...@gm...>> wrote: >> Thanks for the quick confirmation of a fix. >> >> On Wed, 12 May 2021 at 13:18, David Bailes <drb...@gm... <mailto:drb...@gm...>> wrote: >> On Tue, 11 May 2021 at 21:02, Leland <ll...@ho... <mailto:ll...@ho...>> wrote: >> Patch is attached. I don’t feel like hassling with a pull request just for this…times are a changing. 😊 >> >> >> thanks, I can confirm that this fixes the problem on Windows, >> David. >> >> >> >> diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt >> >> index 3ff5911fb..e3443ce81 100644 >> >> --- a/src/CMakeLists.txt >> >> +++ b/src/CMakeLists.txt >> >> @@ -1316,7 +1316,15 @@ if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" AND NOT CCACHE_PROGRAM ) >> >> >> >> if( ${_OPT}use_pch ) >> >> message( STATUS "Using precompiled headers" ) >> >> - target_precompile_headers( ${TARGET} PRIVATE AudacityHeaders.h ) >> >> + target_precompile_headers( ${TARGET} >> >> + PRIVATE >> >> + # The way CMake generates the project file on Windows, the normal >> >> + # "force include" of configwin.h will happen AFTER AudacityHeaders.h >> >> + # is included. So, anything depending on the configwin.h variables >> >> + # will not be properly defined. >> >> + $<$<CXX_COMPILER_ID:MSVC>:"${CMAKE_BINARY_DIR}/src/private/configwin.h"> >> >> + AudacityHeaders.h >> >> + ) >> >> else() >> >> message( STATUS "Not using precompiled headers" ) >> >> endif() >> >> >> >> >> >> >> >> From: Leland <ll...@ho... <mailto:ll...@ho...>> >> Sent: Tuesday, May 11, 2021 1:12 PM >> To: aud...@li... <mailto:aud...@li...> >> Subject: Re: [Audacity-devel] local build problem on Windows >> >> >> >> Honestly, I don’t know what’s going on. It builds if I configure with: >> >> >> >> cmake -Daudacity_use_pch=no >> >> >> >> It doesn’t build if I configure with: >> >> >> >> cmake -Daudacity_use_pch=yes >> >> >> >> I thought I understood why, but every “workaround” I’ve tried so far has failed…grrrrrr >> >> >> >> From: Leland <ll...@ho... <mailto:ll...@ho...>> >> Sent: Tuesday, May 11, 2021 1:02 PM >> To: aud...@li... <mailto:aud...@li...> >> Subject: Re: [Audacity-devel] local build problem on Windows >> >> >> >> Hold off…this may be incorrect. Still digging. >> >> >> >> From: Leland <ll...@ho... <mailto:ll...@ho...>> >> Sent: Tuesday, May 11, 2021 12:44 PM >> To: aud...@li... <mailto:aud...@li...> >> Subject: Re: [Audacity-devel] local build problem on Windows >> >> >> >> Paul, the problem is that using “/FI” to force include configwin.h overrides the method used by CMake to include the precompiled headers. I’m trying to devise some sort of workaround, but I don’t think it’s gonna be pretty. >> >> >> >> From: Leland <ll...@ho... <mailto:ll...@ho...>> >> Sent: Tuesday, May 11, 2021 11:35 AM >> To: aud...@li... <mailto:aud...@li...> >> Subject: Re: [Audacity-devel] local build problem on Windows >> >> >> >> Yea, it broke the use of precompiled headers on Windows. Looking into it… >> >> >> >> From: David Bailes <drb...@gm... <mailto:drb...@gm...>> >> Sent: Tuesday, May 11, 2021 3:50 AM >> To: Audacity Development <aud...@li... <mailto:aud...@li...>> >> Subject: [Audacity-devel] local build problem on Windows >> >> >> >> Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. >> >> Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, >> >> I'm getting the build errors shown below, >> >> David. >> >> >> >> cmake_pch.cxx >> U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier >> U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier >> U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' >> U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' >> U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' >> U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' >> U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier >> U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' >> U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' >> U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier >> U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' >> U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments >> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] >> U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' >> U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' >> U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' >> U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' >> U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier >> U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >> >> Build All failed. >> >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... <mailto:aud...@li...> >> https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... <mailto:aud...@li...> >> https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... <mailto:aud...@li...> >> https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... <mailto:aud...@li...> >> https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> > > _______________________________________________ > audacity-devel mailing list > aud...@li... <mailto:aud...@li...> > https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> > _______________________________________________ > audacity-devel mailing list > aud...@li... <mailto:aud...@li...> > https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> |
From: David B. <drb...@gm...> - 2021-05-13 15:13:16
|
On Thu, 13 May 2021 at 15:50, Cliff <fly...@gm...> wrote: > Any idea of when this will get into Master? > It's already in: https://github.com/audacity/audacity/commit/b52192c4c4eec12a1b9fccac31d77fce6746bc52 David. > > Cliff > > On May 12, 2021, at 11:33, Paul Licameli <pau...@gm...> wrote: > > I wrote a more general fix than Leland's that should be good on all > platforms. I have confirmed it fixes the Mac build with precompiled > headers on. > > Leland, please review and merge it. > > https://github.com/audacity/audacity/pull/886 > > PRL > > > > On Wed, May 12, 2021 at 9:38 AM Paul Licameli <pau...@gm...> > wrote: > >> Mac needs fixing too. >> >> I will figure it out and push. >> >> PRL >> >> >> On Wed, May 12, 2021 at 9:32 AM James Crook <jam...@gm...> >> wrote: >> >>> Thanks for the quick confirmation of a fix. >>> >>> On Wed, 12 May 2021 at 13:18, David Bailes <drb...@gm...> wrote: >>> >>>> On Tue, 11 May 2021 at 21:02, Leland <ll...@ho...> wrote: >>>> >>>>> Patch is attached. I don’t feel like hassling with a pull request >>>>> just for this…times are a changing. 😊 >>>>> >>>> >>>> thanks, I can confirm that this fixes the problem on Windows, >>>> David. >>>> >>>> >>>>> >>>>> >>>>> diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt >>>>> >>>>> index 3ff5911fb..e3443ce81 100644 >>>>> >>>>> --- a/src/CMakeLists.txt >>>>> >>>>> +++ b/src/CMakeLists.txt >>>>> >>>>> @@ -1316,7 +1316,15 @@ if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" >>>>> AND NOT CCACHE_PROGRAM ) >>>>> >>>>> >>>>> >>>>> if( ${_OPT}use_pch ) >>>>> >>>>> message( STATUS "Using precompiled headers" ) >>>>> >>>>> - target_precompile_headers( ${TARGET} PRIVATE AudacityHeaders.h ) >>>>> >>>>> + target_precompile_headers( ${TARGET} >>>>> >>>>> + PRIVATE >>>>> >>>>> + # The way CMake generates the project file on Windows, >>>>> the normal >>>>> >>>>> + # "force include" of configwin.h will happen AFTER >>>>> AudacityHeaders.h >>>>> >>>>> + # is included. So, anything depending on the configwin.h >>>>> variables >>>>> >>>>> + # will not be properly defined. >>>>> >>>>> + >>>>> $<$<CXX_COMPILER_ID:MSVC>:"${CMAKE_BINARY_DIR}/src/private/configwin.h"> >>>>> >>>>> + AudacityHeaders.h >>>>> >>>>> + ) >>>>> >>>>> else() >>>>> >>>>> message( STATUS "Not using precompiled headers" ) >>>>> >>>>> endif() >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *From:* Leland <ll...@ho...> >>>>> *Sent:* Tuesday, May 11, 2021 1:12 PM >>>>> *To:* aud...@li... >>>>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>>>> >>>>> >>>>> >>>>> Honestly, I don’t know what’s going on. It builds if I configure with: >>>>> >>>>> >>>>> >>>>> cmake -Daudacity_use_pch=no >>>>> >>>>> >>>>> >>>>> It doesn’t build if I configure with: >>>>> >>>>> >>>>> >>>>> cmake -Daudacity_use_pch=yes >>>>> >>>>> >>>>> >>>>> I thought I understood why, but every “workaround” I’ve tried so far >>>>> has failed…grrrrrr >>>>> >>>>> >>>>> >>>>> *From:* Leland <ll...@ho...> >>>>> *Sent:* Tuesday, May 11, 2021 1:02 PM >>>>> *To:* aud...@li... >>>>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>>>> >>>>> >>>>> >>>>> Hold off…this may be incorrect. Still digging. >>>>> >>>>> >>>>> >>>>> *From:* Leland <ll...@ho...> >>>>> *Sent:* Tuesday, May 11, 2021 12:44 PM >>>>> *To:* aud...@li... >>>>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>>>> >>>>> >>>>> >>>>> Paul, the problem is that using “/FI” to force include configwin.h >>>>> overrides the method used by CMake to include the precompiled headers. I’m >>>>> trying to devise some sort of workaround, but I don’t think it’s gonna be >>>>> pretty. >>>>> >>>>> >>>>> >>>>> *From:* Leland <ll...@ho...> >>>>> *Sent:* Tuesday, May 11, 2021 11:35 AM >>>>> *To:* aud...@li... >>>>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>>>> >>>>> >>>>> >>>>> Yea, it broke the use of precompiled headers on Windows. Looking into >>>>> it… >>>>> >>>>> >>>>> >>>>> *From:* David Bailes <drb...@gm...> >>>>> *Sent:* Tuesday, May 11, 2021 3:50 AM >>>>> *To:* Audacity Development <aud...@li...> >>>>> *Subject:* [Audacity-devel] local build problem on Windows >>>>> >>>>> >>>>> >>>>> Problems with my local build, using VS 2019, and using VS's cmake, as >>>>> in the build instructions in win/build.txt. >>>>> >>>>> Starting with the recent >>>>> commit: 794f4e5877195e28afb230f2cdff166410fd5e37, >>>>> >>>>> I'm getting the build errors shown below, >>>>> >>>>> David. >>>>> >>>>> >>>>> >>>>> cmake_pch.cxx >>>>> U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown >>>>> override specifier >>>>> U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier >>>>> - int assumed. Note: C++ does not support default-int >>>>> U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown >>>>> override specifier >>>>> U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' >>>>> U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) >>>>> preceding ';' >>>>> U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing >>>>> ';' before '*' >>>>> U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier >>>>> - int assumed. Note: C++ does not support default-int >>>>> U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) >>>>> preceding ';' >>>>> U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': >>>>> unknown override specifier >>>>> U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier >>>>> - int assumed. Note: C++ does not support default-int >>>>> U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing >>>>> ';' before '*' >>>>> U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier >>>>> - int assumed. Note: C++ does not support default-int >>>>> U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) >>>>> preceding ';' >>>>> U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': >>>>> undeclared identifier >>>>> U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': >>>>> 'Alg_iterator' is not a valid template type argument for parameter '_Ty' >>>>> U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too >>>>> few template arguments >>>>> C:\Program Files (x86)\Microsoft Visual >>>>> Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): >>>>> message : see declaration of 'std::unique_ptr' >>>>> [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] >>>>> U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing >>>>> ';' before '*' >>>>> U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier >>>>> - int assumed. Note: C++ does not support default-int >>>>> U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) >>>>> preceding ';' >>>>> U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing >>>>> ';' before '*' >>>>> U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier >>>>> - int assumed. Note: C++ does not support default-int >>>>> U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) >>>>> preceding ';' >>>>> U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': >>>>> unknown override specifier >>>>> U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier >>>>> - int assumed. Note: C++ does not support default-int >>>>> >>>>> Build All failed. >>>>> _______________________________________________ >>>>> audacity-devel mailing list >>>>> aud...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel >>>>> >>>> _______________________________________________ >>>> audacity-devel mailing list >>>> aud...@li... >>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel >>>> >>> _______________________________________________ >>> audacity-devel mailing list >>> aud...@li... >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel >>> >> _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |
From: Cliff <fly...@gm...> - 2021-05-13 14:49:43
|
Any idea of when this will get into Master? Cliff > On May 12, 2021, at 11:33, Paul Licameli <pau...@gm...> wrote: > > I wrote a more general fix than Leland's that should be good on all platforms. I have confirmed it fixes the Mac build with precompiled headers on. > > Leland, please review and merge it. > > https://github.com/audacity/audacity/pull/886 <https://github.com/audacity/audacity/pull/886> > > PRL > > > > On Wed, May 12, 2021 at 9:38 AM Paul Licameli <pau...@gm... <mailto:pau...@gm...>> wrote: > Mac needs fixing too. > > I will figure it out and push. > > PRL > > > On Wed, May 12, 2021 at 9:32 AM James Crook <jam...@gm... <mailto:jam...@gm...>> wrote: > Thanks for the quick confirmation of a fix. > > On Wed, 12 May 2021 at 13:18, David Bailes <drb...@gm... <mailto:drb...@gm...>> wrote: > On Tue, 11 May 2021 at 21:02, Leland <ll...@ho... <mailto:ll...@ho...>> wrote: > Patch is attached. I don’t feel like hassling with a pull request just for this…times are a changing. 😊 > > > thanks, I can confirm that this fixes the problem on Windows, > David. > > > > diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt > > index 3ff5911fb..e3443ce81 100644 > > --- a/src/CMakeLists.txt > > +++ b/src/CMakeLists.txt > > @@ -1316,7 +1316,15 @@ if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" AND NOT CCACHE_PROGRAM ) > > > > if( ${_OPT}use_pch ) > > message( STATUS "Using precompiled headers" ) > > - target_precompile_headers( ${TARGET} PRIVATE AudacityHeaders.h ) > > + target_precompile_headers( ${TARGET} > > + PRIVATE > > + # The way CMake generates the project file on Windows, the normal > > + # "force include" of configwin.h will happen AFTER AudacityHeaders.h > > + # is included. So, anything depending on the configwin.h variables > > + # will not be properly defined. > > + $<$<CXX_COMPILER_ID:MSVC>:"${CMAKE_BINARY_DIR}/src/private/configwin.h"> > > + AudacityHeaders.h > > + ) > > else() > > message( STATUS "Not using precompiled headers" ) > > endif() > > > > > > > > From: Leland <ll...@ho... <mailto:ll...@ho...>> > Sent: Tuesday, May 11, 2021 1:12 PM > To: aud...@li... <mailto:aud...@li...> > Subject: Re: [Audacity-devel] local build problem on Windows > > > > Honestly, I don’t know what’s going on. It builds if I configure with: > > > > cmake -Daudacity_use_pch=no > > > > It doesn’t build if I configure with: > > > > cmake -Daudacity_use_pch=yes > > > > I thought I understood why, but every “workaround” I’ve tried so far has failed…grrrrrr > > > > From: Leland <ll...@ho... <mailto:ll...@ho...>> > Sent: Tuesday, May 11, 2021 1:02 PM > To: aud...@li... <mailto:aud...@li...> > Subject: Re: [Audacity-devel] local build problem on Windows > > > > Hold off…this may be incorrect. Still digging. > > > > From: Leland <ll...@ho... <mailto:ll...@ho...>> > Sent: Tuesday, May 11, 2021 12:44 PM > To: aud...@li... <mailto:aud...@li...> > Subject: Re: [Audacity-devel] local build problem on Windows > > > > Paul, the problem is that using “/FI” to force include configwin.h overrides the method used by CMake to include the precompiled headers. I’m trying to devise some sort of workaround, but I don’t think it’s gonna be pretty. > > > > From: Leland <ll...@ho... <mailto:ll...@ho...>> > Sent: Tuesday, May 11, 2021 11:35 AM > To: aud...@li... <mailto:aud...@li...> > Subject: Re: [Audacity-devel] local build problem on Windows > > > > Yea, it broke the use of precompiled headers on Windows. Looking into it… > > > > From: David Bailes <drb...@gm... <mailto:drb...@gm...>> > Sent: Tuesday, May 11, 2021 3:50 AM > To: Audacity Development <aud...@li... <mailto:aud...@li...>> > Subject: [Audacity-devel] local build problem on Windows > > > > Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. > > Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, > > I'm getting the build errors shown below, > > David. > > > > cmake_pch.cxx > U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier > U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier > U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' > U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' > U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier > U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' > U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier > U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' > U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments > C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] > U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' > U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' > U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier > U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > > Build All failed. > > _______________________________________________ > audacity-devel mailing list > aud...@li... <mailto:aud...@li...> > https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> > _______________________________________________ > audacity-devel mailing list > aud...@li... <mailto:aud...@li...> > https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> > _______________________________________________ > audacity-devel mailing list > aud...@li... <mailto:aud...@li...> > https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel |
From: Paul L. <pau...@gm...> - 2021-05-12 16:33:37
|
I wrote a more general fix than Leland's that should be good on all platforms. I have confirmed it fixes the Mac build with precompiled headers on. Leland, please review and merge it. https://github.com/audacity/audacity/pull/886 PRL On Wed, May 12, 2021 at 9:38 AM Paul Licameli <pau...@gm...> wrote: > Mac needs fixing too. > > I will figure it out and push. > > PRL > > > On Wed, May 12, 2021 at 9:32 AM James Crook <jam...@gm...> > wrote: > >> Thanks for the quick confirmation of a fix. >> >> On Wed, 12 May 2021 at 13:18, David Bailes <drb...@gm...> wrote: >> >>> On Tue, 11 May 2021 at 21:02, Leland <ll...@ho...> wrote: >>> >>>> Patch is attached. I don’t feel like hassling with a pull request just >>>> for this…times are a changing. 😊 >>>> >>> >>> thanks, I can confirm that this fixes the problem on Windows, >>> David. >>> >>> >>>> >>>> >>>> diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt >>>> >>>> index 3ff5911fb..e3443ce81 100644 >>>> >>>> --- a/src/CMakeLists.txt >>>> >>>> +++ b/src/CMakeLists.txt >>>> >>>> @@ -1316,7 +1316,15 @@ if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" >>>> AND NOT CCACHE_PROGRAM ) >>>> >>>> >>>> >>>> if( ${_OPT}use_pch ) >>>> >>>> message( STATUS "Using precompiled headers" ) >>>> >>>> - target_precompile_headers( ${TARGET} PRIVATE AudacityHeaders.h ) >>>> >>>> + target_precompile_headers( ${TARGET} >>>> >>>> + PRIVATE >>>> >>>> + # The way CMake generates the project file on Windows, the >>>> normal >>>> >>>> + # "force include" of configwin.h will happen AFTER >>>> AudacityHeaders.h >>>> >>>> + # is included. So, anything depending on the configwin.h >>>> variables >>>> >>>> + # will not be properly defined. >>>> >>>> + >>>> $<$<CXX_COMPILER_ID:MSVC>:"${CMAKE_BINARY_DIR}/src/private/configwin.h"> >>>> >>>> + AudacityHeaders.h >>>> >>>> + ) >>>> >>>> else() >>>> >>>> message( STATUS "Not using precompiled headers" ) >>>> >>>> endif() >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> *From:* Leland <ll...@ho...> >>>> *Sent:* Tuesday, May 11, 2021 1:12 PM >>>> *To:* aud...@li... >>>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>>> >>>> >>>> >>>> Honestly, I don’t know what’s going on. It builds if I configure with: >>>> >>>> >>>> >>>> cmake -Daudacity_use_pch=no >>>> >>>> >>>> >>>> It doesn’t build if I configure with: >>>> >>>> >>>> >>>> cmake -Daudacity_use_pch=yes >>>> >>>> >>>> >>>> I thought I understood why, but every “workaround” I’ve tried so far >>>> has failed…grrrrrr >>>> >>>> >>>> >>>> *From:* Leland <ll...@ho...> >>>> *Sent:* Tuesday, May 11, 2021 1:02 PM >>>> *To:* aud...@li... >>>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>>> >>>> >>>> >>>> Hold off…this may be incorrect. Still digging. >>>> >>>> >>>> >>>> *From:* Leland <ll...@ho...> >>>> *Sent:* Tuesday, May 11, 2021 12:44 PM >>>> *To:* aud...@li... >>>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>>> >>>> >>>> >>>> Paul, the problem is that using “/FI” to force include configwin.h >>>> overrides the method used by CMake to include the precompiled headers. I’m >>>> trying to devise some sort of workaround, but I don’t think it’s gonna be >>>> pretty. >>>> >>>> >>>> >>>> *From:* Leland <ll...@ho...> >>>> *Sent:* Tuesday, May 11, 2021 11:35 AM >>>> *To:* aud...@li... >>>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>>> >>>> >>>> >>>> Yea, it broke the use of precompiled headers on Windows. Looking into >>>> it… >>>> >>>> >>>> >>>> *From:* David Bailes <drb...@gm...> >>>> *Sent:* Tuesday, May 11, 2021 3:50 AM >>>> *To:* Audacity Development <aud...@li...> >>>> *Subject:* [Audacity-devel] local build problem on Windows >>>> >>>> >>>> >>>> Problems with my local build, using VS 2019, and using VS's cmake, as >>>> in the build instructions in win/build.txt. >>>> >>>> Starting with the recent >>>> commit: 794f4e5877195e28afb230f2cdff166410fd5e37, >>>> >>>> I'm getting the build errors shown below, >>>> >>>> David. >>>> >>>> >>>> >>>> cmake_pch.cxx >>>> U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown >>>> override specifier >>>> U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - >>>> int assumed. Note: C++ does not support default-int >>>> U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown >>>> override specifier >>>> U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' >>>> U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) >>>> preceding ';' >>>> U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing >>>> ';' before '*' >>>> U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier >>>> - int assumed. Note: C++ does not support default-int >>>> U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) >>>> preceding ';' >>>> U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': >>>> unknown override specifier >>>> U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier >>>> - int assumed. Note: C++ does not support default-int >>>> U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing >>>> ';' before '*' >>>> U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier >>>> - int assumed. Note: C++ does not support default-int >>>> U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) >>>> preceding ';' >>>> U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': >>>> undeclared identifier >>>> U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': >>>> 'Alg_iterator' is not a valid template type argument for parameter '_Ty' >>>> U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too >>>> few template arguments >>>> C:\Program Files (x86)\Microsoft Visual >>>> Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): >>>> message : see declaration of 'std::unique_ptr' >>>> [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] >>>> U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing >>>> ';' before '*' >>>> U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier >>>> - int assumed. Note: C++ does not support default-int >>>> U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) >>>> preceding ';' >>>> U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing >>>> ';' before '*' >>>> U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier >>>> - int assumed. Note: C++ does not support default-int >>>> U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) >>>> preceding ';' >>>> U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': >>>> unknown override specifier >>>> U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier >>>> - int assumed. Note: C++ does not support default-int >>>> >>>> Build All failed. >>>> _______________________________________________ >>>> audacity-devel mailing list >>>> aud...@li... >>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel >>>> >>> _______________________________________________ >>> audacity-devel mailing list >>> aud...@li... >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel >>> >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... >> https://lists.sourceforge.net/lists/listinfo/audacity-devel >> > |
From: Paul L. <pau...@gm...> - 2021-05-12 13:38:57
|
Mac needs fixing too. I will figure it out and push. PRL On Wed, May 12, 2021 at 9:32 AM James Crook <jam...@gm...> wrote: > Thanks for the quick confirmation of a fix. > > On Wed, 12 May 2021 at 13:18, David Bailes <drb...@gm...> wrote: > >> On Tue, 11 May 2021 at 21:02, Leland <ll...@ho...> wrote: >> >>> Patch is attached. I don’t feel like hassling with a pull request just >>> for this…times are a changing. 😊 >>> >> >> thanks, I can confirm that this fixes the problem on Windows, >> David. >> >> >>> >>> >>> diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt >>> >>> index 3ff5911fb..e3443ce81 100644 >>> >>> --- a/src/CMakeLists.txt >>> >>> +++ b/src/CMakeLists.txt >>> >>> @@ -1316,7 +1316,15 @@ if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" >>> AND NOT CCACHE_PROGRAM ) >>> >>> >>> >>> if( ${_OPT}use_pch ) >>> >>> message( STATUS "Using precompiled headers" ) >>> >>> - target_precompile_headers( ${TARGET} PRIVATE AudacityHeaders.h ) >>> >>> + target_precompile_headers( ${TARGET} >>> >>> + PRIVATE >>> >>> + # The way CMake generates the project file on Windows, the >>> normal >>> >>> + # "force include" of configwin.h will happen AFTER >>> AudacityHeaders.h >>> >>> + # is included. So, anything depending on the configwin.h >>> variables >>> >>> + # will not be properly defined. >>> >>> + >>> $<$<CXX_COMPILER_ID:MSVC>:"${CMAKE_BINARY_DIR}/src/private/configwin.h"> >>> >>> + AudacityHeaders.h >>> >>> + ) >>> >>> else() >>> >>> message( STATUS "Not using precompiled headers" ) >>> >>> endif() >>> >>> >>> >>> >>> >>> >>> >>> *From:* Leland <ll...@ho...> >>> *Sent:* Tuesday, May 11, 2021 1:12 PM >>> *To:* aud...@li... >>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>> >>> >>> >>> Honestly, I don’t know what’s going on. It builds if I configure with: >>> >>> >>> >>> cmake -Daudacity_use_pch=no >>> >>> >>> >>> It doesn’t build if I configure with: >>> >>> >>> >>> cmake -Daudacity_use_pch=yes >>> >>> >>> >>> I thought I understood why, but every “workaround” I’ve tried so far has >>> failed…grrrrrr >>> >>> >>> >>> *From:* Leland <ll...@ho...> >>> *Sent:* Tuesday, May 11, 2021 1:02 PM >>> *To:* aud...@li... >>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>> >>> >>> >>> Hold off…this may be incorrect. Still digging. >>> >>> >>> >>> *From:* Leland <ll...@ho...> >>> *Sent:* Tuesday, May 11, 2021 12:44 PM >>> *To:* aud...@li... >>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>> >>> >>> >>> Paul, the problem is that using “/FI” to force include configwin.h >>> overrides the method used by CMake to include the precompiled headers. I’m >>> trying to devise some sort of workaround, but I don’t think it’s gonna be >>> pretty. >>> >>> >>> >>> *From:* Leland <ll...@ho...> >>> *Sent:* Tuesday, May 11, 2021 11:35 AM >>> *To:* aud...@li... >>> *Subject:* Re: [Audacity-devel] local build problem on Windows >>> >>> >>> >>> Yea, it broke the use of precompiled headers on Windows. Looking into >>> it… >>> >>> >>> >>> *From:* David Bailes <drb...@gm...> >>> *Sent:* Tuesday, May 11, 2021 3:50 AM >>> *To:* Audacity Development <aud...@li...> >>> *Subject:* [Audacity-devel] local build problem on Windows >>> >>> >>> >>> Problems with my local build, using VS 2019, and using VS's cmake, as in >>> the build instructions in win/build.txt. >>> >>> Starting with the recent >>> commit: 794f4e5877195e28afb230f2cdff166410fd5e37, >>> >>> I'm getting the build errors shown below, >>> >>> David. >>> >>> >>> >>> cmake_pch.cxx >>> U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown >>> override specifier >>> U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - >>> int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown >>> override specifier >>> U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' >>> U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) >>> preceding ';' >>> U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing >>> ';' before '*' >>> U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - >>> int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) >>> preceding ';' >>> U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': >>> unknown override specifier >>> U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - >>> int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing >>> ';' before '*' >>> U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - >>> int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) >>> preceding ';' >>> U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': >>> undeclared identifier >>> U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': >>> 'Alg_iterator' is not a valid template type argument for parameter '_Ty' >>> U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too >>> few template arguments >>> C:\Program Files (x86)\Microsoft Visual >>> Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): >>> message : see declaration of 'std::unique_ptr' >>> [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] >>> U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing >>> ';' before '*' >>> U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - >>> int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) >>> preceding ';' >>> U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing >>> ';' before '*' >>> U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - >>> int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) >>> preceding ';' >>> U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': >>> unknown override specifier >>> U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - >>> int assumed. Note: C++ does not support default-int >>> >>> Build All failed. >>> _______________________________________________ >>> audacity-devel mailing list >>> aud...@li... >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel >>> >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... >> https://lists.sourceforge.net/lists/listinfo/audacity-devel >> > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |
From: James C. <jam...@gm...> - 2021-05-12 13:31:52
|
Thanks for the quick confirmation of a fix. On Wed, 12 May 2021 at 13:18, David Bailes <drb...@gm...> wrote: > On Tue, 11 May 2021 at 21:02, Leland <ll...@ho...> wrote: > >> Patch is attached. I don’t feel like hassling with a pull request just >> for this…times are a changing. 😊 >> > > thanks, I can confirm that this fixes the problem on Windows, > David. > > >> >> >> diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt >> >> index 3ff5911fb..e3443ce81 100644 >> >> --- a/src/CMakeLists.txt >> >> +++ b/src/CMakeLists.txt >> >> @@ -1316,7 +1316,15 @@ if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" AND >> NOT CCACHE_PROGRAM ) >> >> >> >> if( ${_OPT}use_pch ) >> >> message( STATUS "Using precompiled headers" ) >> >> - target_precompile_headers( ${TARGET} PRIVATE AudacityHeaders.h ) >> >> + target_precompile_headers( ${TARGET} >> >> + PRIVATE >> >> + # The way CMake generates the project file on Windows, the >> normal >> >> + # "force include" of configwin.h will happen AFTER >> AudacityHeaders.h >> >> + # is included. So, anything depending on the configwin.h >> variables >> >> + # will not be properly defined. >> >> + >> $<$<CXX_COMPILER_ID:MSVC>:"${CMAKE_BINARY_DIR}/src/private/configwin.h"> >> >> + AudacityHeaders.h >> >> + ) >> >> else() >> >> message( STATUS "Not using precompiled headers" ) >> >> endif() >> >> >> >> >> >> >> >> *From:* Leland <ll...@ho...> >> *Sent:* Tuesday, May 11, 2021 1:12 PM >> *To:* aud...@li... >> *Subject:* Re: [Audacity-devel] local build problem on Windows >> >> >> >> Honestly, I don’t know what’s going on. It builds if I configure with: >> >> >> >> cmake -Daudacity_use_pch=no >> >> >> >> It doesn’t build if I configure with: >> >> >> >> cmake -Daudacity_use_pch=yes >> >> >> >> I thought I understood why, but every “workaround” I’ve tried so far has >> failed…grrrrrr >> >> >> >> *From:* Leland <ll...@ho...> >> *Sent:* Tuesday, May 11, 2021 1:02 PM >> *To:* aud...@li... >> *Subject:* Re: [Audacity-devel] local build problem on Windows >> >> >> >> Hold off…this may be incorrect. Still digging. >> >> >> >> *From:* Leland <ll...@ho...> >> *Sent:* Tuesday, May 11, 2021 12:44 PM >> *To:* aud...@li... >> *Subject:* Re: [Audacity-devel] local build problem on Windows >> >> >> >> Paul, the problem is that using “/FI” to force include configwin.h >> overrides the method used by CMake to include the precompiled headers. I’m >> trying to devise some sort of workaround, but I don’t think it’s gonna be >> pretty. >> >> >> >> *From:* Leland <ll...@ho...> >> *Sent:* Tuesday, May 11, 2021 11:35 AM >> *To:* aud...@li... >> *Subject:* Re: [Audacity-devel] local build problem on Windows >> >> >> >> Yea, it broke the use of precompiled headers on Windows. Looking into it… >> >> >> >> *From:* David Bailes <drb...@gm...> >> *Sent:* Tuesday, May 11, 2021 3:50 AM >> *To:* Audacity Development <aud...@li...> >> *Subject:* [Audacity-devel] local build problem on Windows >> >> >> >> Problems with my local build, using VS 2019, and using VS's cmake, as in >> the build instructions in win/build.txt. >> >> Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, >> >> I'm getting the build errors shown below, >> >> David. >> >> >> >> cmake_pch.cxx >> U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown >> override specifier >> U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - >> int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown >> override specifier >> U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' >> U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) >> preceding ';' >> U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' >> before '*' >> U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - >> int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) >> preceding ';' >> U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': >> unknown override specifier >> U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - >> int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' >> before '*' >> U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - >> int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) >> preceding ';' >> U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': >> undeclared identifier >> U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': >> 'Alg_iterator' is not a valid template type argument for parameter '_Ty' >> U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few >> template arguments >> C:\Program Files (x86)\Microsoft Visual >> Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): >> message : see declaration of 'std::unique_ptr' >> [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] >> U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' >> before '*' >> U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - >> int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) >> preceding ';' >> U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' >> before '*' >> U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - >> int assumed. Note: C++ does not support default-int >> U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) >> preceding ';' >> U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': >> unknown override specifier >> U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - >> int assumed. Note: C++ does not support default-int >> >> Build All failed. >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... >> https://lists.sourceforge.net/lists/listinfo/audacity-devel >> > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |
From: David B. <drb...@gm...> - 2021-05-12 12:16:54
|
On Tue, 11 May 2021 at 21:02, Leland <ll...@ho...> wrote: > Patch is attached. I don’t feel like hassling with a pull request just > for this…times are a changing. 😊 > thanks, I can confirm that this fixes the problem on Windows, David. > > > diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt > > index 3ff5911fb..e3443ce81 100644 > > --- a/src/CMakeLists.txt > > +++ b/src/CMakeLists.txt > > @@ -1316,7 +1316,15 @@ if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" AND > NOT CCACHE_PROGRAM ) > > > > if( ${_OPT}use_pch ) > > message( STATUS "Using precompiled headers" ) > > - target_precompile_headers( ${TARGET} PRIVATE AudacityHeaders.h ) > > + target_precompile_headers( ${TARGET} > > + PRIVATE > > + # The way CMake generates the project file on Windows, the > normal > > + # "force include" of configwin.h will happen AFTER > AudacityHeaders.h > > + # is included. So, anything depending on the configwin.h > variables > > + # will not be properly defined. > > + > $<$<CXX_COMPILER_ID:MSVC>:"${CMAKE_BINARY_DIR}/src/private/configwin.h"> > > + AudacityHeaders.h > > + ) > > else() > > message( STATUS "Not using precompiled headers" ) > > endif() > > > > > > > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 1:12 PM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > > > Honestly, I don’t know what’s going on. It builds if I configure with: > > > > cmake -Daudacity_use_pch=no > > > > It doesn’t build if I configure with: > > > > cmake -Daudacity_use_pch=yes > > > > I thought I understood why, but every “workaround” I’ve tried so far has > failed…grrrrrr > > > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 1:02 PM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > > > Hold off…this may be incorrect. Still digging. > > > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 12:44 PM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > > > Paul, the problem is that using “/FI” to force include configwin.h > overrides the method used by CMake to include the precompiled headers. I’m > trying to devise some sort of workaround, but I don’t think it’s gonna be > pretty. > > > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 11:35 AM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > > > Yea, it broke the use of precompiled headers on Windows. Looking into it… > > > > *From:* David Bailes <drb...@gm...> > *Sent:* Tuesday, May 11, 2021 3:50 AM > *To:* Audacity Development <aud...@li...> > *Subject:* [Audacity-devel] local build problem on Windows > > > > Problems with my local build, using VS 2019, and using VS's cmake, as in > the build instructions in win/build.txt. > > Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, > > I'm getting the build errors shown below, > > David. > > > > cmake_pch.cxx > U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown > override specifier > U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown > override specifier > U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' > U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': > unknown override specifier > U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared > identifier > U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': > 'Alg_iterator' is not a valid template type argument for parameter '_Ty' > U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few > template arguments > C:\Program Files (x86)\Microsoft Visual > Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): > message : see declaration of 'std::unique_ptr' > [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] > U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': > unknown override specifier > U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > > Build All failed. > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |
From: Paul L. <pau...@gm...> - 2021-05-12 07:55:54
|
It seems I broke builds with precompiled headers with commit 794f4e5, but that did not break the automated builds. This should not be too hard to figure out I hope. I'll see if I can. PRL On Wed, May 12, 2021 at 2:48 AM Cliff <fly...@gm...> wrote: > Yes, I did that. > > Cliff > > On May 11, 2021, at 23:10, Leland <ll...@ho...> wrote: > > Cliff, have you tried deleting your build directory and running cmake from > scratch? > > *From:* Cliff <fly...@gm...> > *Sent:* Tuesday, May 11, 2021 10:44 PM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > Build also fails on MacOS. > > fatal error: > '/Users/CMac/Downloads/Audacity/BuildEnvironment/audacity/bld/src/SharedPrecompiledHeaders/cmake_pch-bhvpwdmrkbsbbhamvazvevthymfp/cmake_pch.hxx' > file not found > #include > "/Users/CMac/Downloads/Audacity/BuildEnvironment/audacity/bld/src/SharedPrecompiledHeaders/cmake_pch-bhvpwdmrkbsbbhamvazvevthymfp/cmake_pch.hxx" > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ** BUILD FAILED ** > > > The following build commands failed: > CompileC > bld/src/Audacity.build/Release/Audacity.build/Objects-normal/x86_64/AllThemeResources.o > src/AllThemeResources.cpp normal x86_64 c++ > com.apple.compilers.llvm.clang.1_0.compiler > (1 failure) > > > Cliff > > > On May 11, 2021, at 16:50, Paul Licameli <pau...@gm...> wrote: > > > > On Tue, May 11, 2021 at 2:13 PM Leland <ll...@ho...> wrote: > > Honestly, I don’t know what’s going on. It builds if I configure with: > > cmake -Daudacity_use_pch=no > > > That's how GitHub actions builds it, yes? > > > > It doesn’t build if I configure with: > > cmake -Daudacity_use_pch=yes > > I thought I understood why, but every “workaround” I’ve tried so far has > failed…grrrrrr > > > I'm sorry, then it was my doing when I tried to eliminate Audacity.h and > needed another solution for inclusion of the config files. > > PRL > > > > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 1:02 PM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > Hold off…this may be incorrect. Still digging. > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 12:44 PM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > Paul, the problem is that using “/FI” to force include configwin.h > overrides the method used by CMake to include the precompiled headers. I’m > trying to devise some sort of workaround, but I don’t think it’s gonna be > pretty. > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 11:35 AM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > Yea, it broke the use of precompiled headers on Windows. Looking into it… > > *From:* David Bailes <drb...@gm...> > *Sent:* Tuesday, May 11, 2021 3:50 AM > *To:* Audacity Development <aud...@li...> > *Subject:* [Audacity-devel] local build problem on Windows > > Problems with my local build, using VS 2019, and using VS's cmake, as in > the build instructions in win/build.txt. > Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, > I'm getting the build errors shown below, > David. > > > cmake_pch.cxx > U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown > override specifier > U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown > override specifier > U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' > U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': > unknown override specifier > U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared > identifier > U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': > 'Alg_iterator' is not a valid template type argument for parameter '_Ty' > U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few > template arguments > C:\Program Files (x86)\Microsoft Visual > Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): > message : see declaration of 'std::unique_ptr' > [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] > U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': > unknown override specifier > U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > Build All failed. > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |
From: Joost A. <Joo...@gm...> - 2021-05-12 07:37:20
|
Hi James, regarding the DB backend logics I cannot say anything as it doesn't exsist anymore and the Apache OpenOffice team decided to deactivate the feature. AFAIK LibreOffice still uses some sort of crash reporting functionality. I'm not sure if they use breakpad. https://crashreport.libreoffice.org/stats/ https://github.com/mmohrhard/crash I must warn about the overhead on server side, because each released build needs to be archived with debug information (that's very expensive !) because you need the debug information to attach library names to the stack IDs. For OpenOffice.org it ment to store massive GB locally for each build within the local server environment of the StarOffice/OpenOffice.org development team at Sun Microsystems in Hamburg. Kind regards, Joost Am 11.05.2021 um 17:18 schrieb James Crook: > Thanks Joost! > > That sounds good, and not a contentious use of TCP/IP at all, > especially as explicit opt-in on each and every crash. > > Can you say more about the processing at the receiving end?? > Lots of time and work on tools there?? My expectation is that > some crashes will have very repeatable stack traces, often due > to a recent change in our code, but some won't, and I wonder > particularly how you dealt with those? > > Is it one of those cases where 90% of the benefit comes easily, once > set up, and that alone makes it worthwhile doing? > > --James. > |
From: Cliff <fly...@gm...> - 2021-05-12 06:47:29
|
Yes, I did that. Cliff > On May 11, 2021, at 23:10, Leland <ll...@ho...> wrote: > > Cliff, have you tried deleting your build directory and running cmake from scratch? > > From: Cliff <fly...@gm...> > Sent: Tuesday, May 11, 2021 10:44 PM > To: aud...@li... > Subject: Re: [Audacity-devel] local build problem on Windows > > Build also fails on MacOS. > > fatal error: '/Users/CMac/Downloads/Audacity/BuildEnvironment/audacity/bld/src/SharedPrecompiledHeaders/cmake_pch-bhvpwdmrkbsbbhamvazvevthymfp/cmake_pch.hxx' file not found > #include "/Users/CMac/Downloads/Audacity/BuildEnvironment/audacity/bld/src/SharedPrecompiledHeaders/cmake_pch-bhvpwdmrkbsbbhamvazvevthymfp/cmake_pch.hxx" > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ** BUILD FAILED ** > > > The following build commands failed: > CompileC bld/src/Audacity.build/Release/Audacity.build/Objects-normal/x86_64/AllThemeResources.o src/AllThemeResources.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler > (1 failure) > > > Cliff > > >> On May 11, 2021, at 16:50, Paul Licameli <pau...@gm... <mailto:pau...@gm...>> wrote: >> >> >> >> On Tue, May 11, 2021 at 2:13 PM Leland <ll...@ho... <mailto:ll...@ho...>> wrote: >>> Honestly, I don’t know what’s going on. It builds if I configure with: >>> >>> cmake -Daudacity_use_pch=no >> >> That's how GitHub actions builds it, yes? >> >>> >>> It doesn’t build if I configure with: >>> >>> cmake -Daudacity_use_pch=yes >>> >>> I thought I understood why, but every “workaround” I’ve tried so far has failed…grrrrrr >> >> I'm sorry, then it was my doing when I tried to eliminate Audacity.h and needed another solution for inclusion of the config files. >> >> PRL >> >> >>> >>> From: Leland <ll...@ho... <mailto:ll...@ho...>> >>> Sent: Tuesday, May 11, 2021 1:02 PM >>> To: aud...@li... <mailto:aud...@li...> >>> Subject: Re: [Audacity-devel] local build problem on Windows >>> >>> Hold off…this may be incorrect. Still digging. >>> >>> From: Leland <ll...@ho... <mailto:ll...@ho...>> >>> Sent: Tuesday, May 11, 2021 12:44 PM >>> To: aud...@li... <mailto:aud...@li...> >>> Subject: Re: [Audacity-devel] local build problem on Windows >>> >>> Paul, the problem is that using “/FI” to force include configwin.h overrides the method used by CMake to include the precompiled headers. I’m trying to devise some sort of workaround, but I don’t think it’s gonna be pretty. >>> >>> From: Leland <ll...@ho... <mailto:ll...@ho...>> >>> Sent: Tuesday, May 11, 2021 11:35 AM >>> To: aud...@li... <mailto:aud...@li...> >>> Subject: Re: [Audacity-devel] local build problem on Windows >>> >>> Yea, it broke the use of precompiled headers on Windows. Looking into it… >>> >>> From: David Bailes <drb...@gm... <mailto:drb...@gm...>> >>> Sent: Tuesday, May 11, 2021 3:50 AM >>> To: Audacity Development <aud...@li... <mailto:aud...@li...>> >>> Subject: [Audacity-devel] local build problem on Windows >>> >>> Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. >>> Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, >>> I'm getting the build errors shown below, >>> David. >>> >>> cmake_pch.cxx >>> U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier >>> U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier >>> U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' >>> U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' >>> U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' >>> U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' >>> U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier >>> U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' >>> U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' >>> U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier >>> U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' >>> U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments >>> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] >>> U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' >>> U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' >>> U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' >>> U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >>> U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' >>> U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier >>> U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int >>> >>> Build All failed. >>> _______________________________________________ >>> audacity-devel mailing list >>> aud...@li... <mailto:aud...@li...> >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... <mailto:aud...@li...> >> https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> > > _______________________________________________ > audacity-devel mailing list > aud...@li... <mailto:aud...@li...> > https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> |
From: Leland <ll...@ho...> - 2021-05-12 04:10:23
|
Cliff, have you tried deleting your build directory and running cmake from scratch? From: Cliff <fly...@gm...> Sent: Tuesday, May 11, 2021 10:44 PM To: aud...@li... Subject: Re: [Audacity-devel] local build problem on Windows Build also fails on MacOS. fatal error: '/Users/CMac/Downloads/Audacity/BuildEnvironment/audacity/bld/src/SharedPrecompiledHeaders/cmake_pch-bhvpwdmrkbsbbhamvazvevthymfp/cmake_pch.hxx' file not found #include "/Users/CMac/Downloads/Audacity/BuildEnvironment/audacity/bld/src/SharedPrecompiledHeaders/cmake_pch-bhvpwdmrkbsbbhamvazvevthymfp/cmake_pch.hxx" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ** BUILD FAILED ** The following build commands failed: CompileC bld/src/Audacity.build/Release/Audacity.build/Objects-normal/x86_64/AllThemeResources.o src/AllThemeResources.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Cliff On May 11, 2021, at 16:50, Paul Licameli <pau...@gm... <mailto:pau...@gm...> > wrote: On Tue, May 11, 2021 at 2:13 PM Leland <ll...@ho... <mailto:ll...@ho...> > wrote: Honestly, I don’t know what’s going on. It builds if I configure with: cmake -Daudacity_use_pch=no That's how GitHub actions builds it, yes? It doesn’t build if I configure with: cmake -Daudacity_use_pch=yes I thought I understood why, but every “workaround” I’ve tried so far has failed…grrrrrr I'm sorry, then it was my doing when I tried to eliminate Audacity.h and needed another solution for inclusion of the config files. PRL From: Leland <ll...@ho... <mailto:ll...@ho...> > Sent: Tuesday, May 11, 2021 1:02 PM To: aud...@li... <mailto:aud...@li...> Subject: Re: [Audacity-devel] local build problem on Windows Hold off…this may be incorrect. Still digging. From: Leland <ll...@ho... <mailto:ll...@ho...> > Sent: Tuesday, May 11, 2021 12:44 PM To: aud...@li... <mailto:aud...@li...> Subject: Re: [Audacity-devel] local build problem on Windows Paul, the problem is that using “/FI” to force include configwin.h overrides the method used by CMake to include the precompiled headers. I’m trying to devise some sort of workaround, but I don’t think it’s gonna be pretty. From: Leland <ll...@ho... <mailto:ll...@ho...> > Sent: Tuesday, May 11, 2021 11:35 AM To: aud...@li... <mailto:aud...@li...> Subject: Re: [Audacity-devel] local build problem on Windows Yea, it broke the use of precompiled headers on Windows. Looking into it… From: David Bailes <drb...@gm... <mailto:drb...@gm...> > Sent: Tuesday, May 11, 2021 3:50 AM To: Audacity Development <aud...@li... <mailto:aud...@li...> > Subject: [Audacity-devel] local build problem on Windows Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, I'm getting the build errors shown below, David. cmake_pch.cxx U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Build All failed. _______________________________________________ audacity-devel mailing list aud...@li... <mailto:aud...@li...> https://lists.sourceforge.net/lists/listinfo/audacity-devel _______________________________________________ audacity-devel mailing list <mailto:aud...@li...> aud...@li... <https://lists.sourceforge.net/lists/listinfo/audacity-devel> https://lists.sourceforge.net/lists/listinfo/audacity-devel |
From: Cliff <fly...@gm...> - 2021-05-12 03:43:52
|
Build also fails on MacOS. fatal error: '/Users/CMac/Downloads/Audacity/BuildEnvironment/audacity/bld/src/SharedPrecompiledHeaders/cmake_pch-bhvpwdmrkbsbbhamvazvevthymfp/cmake_pch.hxx' file not found #include "/Users/CMac/Downloads/Audacity/BuildEnvironment/audacity/bld/src/SharedPrecompiledHeaders/cmake_pch-bhvpwdmrkbsbbhamvazvevthymfp/cmake_pch.hxx" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ** BUILD FAILED ** The following build commands failed: CompileC bld/src/Audacity.build/Release/Audacity.build/Objects-normal/x86_64/AllThemeResources.o src/AllThemeResources.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Cliff > On May 11, 2021, at 16:50, Paul Licameli <pau...@gm...> wrote: > > > > On Tue, May 11, 2021 at 2:13 PM Leland <ll...@ho... <mailto:ll...@ho...>> wrote: > Honestly, I don’t know what’s going on. It builds if I configure with: > > > > cmake -Daudacity_use_pch=no > > > That's how GitHub actions builds it, yes? > > > > It doesn’t build if I configure with: > > > > cmake -Daudacity_use_pch=yes > > > > I thought I understood why, but every “workaround” I’ve tried so far has failed…grrrrrr > > > I'm sorry, then it was my doing when I tried to eliminate Audacity.h and needed another solution for inclusion of the config files. > > PRL > > > > > From: Leland <ll...@ho... <mailto:ll...@ho...>> > Sent: Tuesday, May 11, 2021 1:02 PM > To: aud...@li... <mailto:aud...@li...> > Subject: Re: [Audacity-devel] local build problem on Windows > > > > Hold off…this may be incorrect. Still digging. > > > > From: Leland <ll...@ho... <mailto:ll...@ho...>> > Sent: Tuesday, May 11, 2021 12:44 PM > To: aud...@li... <mailto:aud...@li...> > Subject: Re: [Audacity-devel] local build problem on Windows > > > > Paul, the problem is that using “/FI” to force include configwin.h overrides the method used by CMake to include the precompiled headers. I’m trying to devise some sort of workaround, but I don’t think it’s gonna be pretty. > > > > From: Leland <ll...@ho... <mailto:ll...@ho...>> > Sent: Tuesday, May 11, 2021 11:35 AM > To: aud...@li... <mailto:aud...@li...> > Subject: Re: [Audacity-devel] local build problem on Windows > > > > Yea, it broke the use of precompiled headers on Windows. Looking into it… > > > > From: David Bailes <drb...@gm... <mailto:drb...@gm...>> > Sent: Tuesday, May 11, 2021 3:50 AM > To: Audacity Development <aud...@li... <mailto:aud...@li...>> > Subject: [Audacity-devel] local build problem on Windows > > > > Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. > > Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, > > I'm getting the build errors shown below, > > David. > > > > cmake_pch.cxx > U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier > U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier > U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' > U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' > U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier > U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' > U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier > U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' > U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments > C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] > U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' > U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' > U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' > U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier > U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int > > Build All failed. > > _______________________________________________ > audacity-devel mailing list > aud...@li... <mailto:aud...@li...> > https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> > _______________________________________________ > audacity-devel mailing list > aud...@li... <mailto:aud...@li...> > https://lists.sourceforge.net/lists/listinfo/audacity-devel <https://lists.sourceforge.net/lists/listinfo/audacity-devel> |
From: Paul L. <pau...@gm...> - 2021-05-11 21:51:18
|
On Tue, May 11, 2021 at 2:13 PM Leland <ll...@ho...> wrote: > Honestly, I don’t know what’s going on. It builds if I configure with: > > > > cmake -Daudacity_use_pch=no > That's how GitHub actions builds it, yes? > > > It doesn’t build if I configure with: > > > > cmake -Daudacity_use_pch=yes > > > > I thought I understood why, but every “workaround” I’ve tried so far has > failed…grrrrrr > I'm sorry, then it was my doing when I tried to eliminate Audacity.h and needed another solution for inclusion of the config files. PRL > > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 1:02 PM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > > > Hold off…this may be incorrect. Still digging. > > > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 12:44 PM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > > > Paul, the problem is that using “/FI” to force include configwin.h > overrides the method used by CMake to include the precompiled headers. I’m > trying to devise some sort of workaround, but I don’t think it’s gonna be > pretty. > > > > *From:* Leland <ll...@ho...> > *Sent:* Tuesday, May 11, 2021 11:35 AM > *To:* aud...@li... > *Subject:* Re: [Audacity-devel] local build problem on Windows > > > > Yea, it broke the use of precompiled headers on Windows. Looking into it… > > > > *From:* David Bailes <drb...@gm...> > *Sent:* Tuesday, May 11, 2021 3:50 AM > *To:* Audacity Development <aud...@li...> > *Subject:* [Audacity-devel] local build problem on Windows > > > > Problems with my local build, using VS 2019, and using VS's cmake, as in > the build instructions in win/build.txt. > > Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, > > I'm getting the build errors shown below, > > David. > > > > cmake_pch.cxx > U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown > override specifier > U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown > override specifier > U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' > U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': > unknown override specifier > U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared > identifier > U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': > 'Alg_iterator' is not a valid template type argument for parameter '_Ty' > U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few > template arguments > C:\Program Files (x86)\Microsoft Visual > Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): > message : see declaration of 'std::unique_ptr' > [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] > U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' > before '*' > U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) > preceding ';' > U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': > unknown override specifier > U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - > int assumed. Note: C++ does not support default-int > > Build All failed. > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |
From: Leland <ll...@ho...> - 2021-05-11 20:01:12
|
Patch is attached. I don’t feel like hassling with a pull request just for this…times are a changing. 😊 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3ff5911fb..e3443ce81 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1316,7 +1316,15 @@ if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" AND NOT CCACHE_PROGRAM ) if( ${_OPT}use_pch ) message( STATUS "Using precompiled headers" ) - target_precompile_headers( ${TARGET} PRIVATE AudacityHeaders.h ) + target_precompile_headers( ${TARGET} + PRIVATE + # The way CMake generates the project file on Windows, the normal + # "force include" of configwin.h will happen AFTER AudacityHeaders.h + # is included. So, anything depending on the configwin.h variables + # will not be properly defined. + $<$<CXX_COMPILER_ID:MSVC>:"${CMAKE_BINARY_DIR}/src/private/configwin.h"> + AudacityHeaders.h + ) else() message( STATUS "Not using precompiled headers" ) endif() From: Leland <ll...@ho...> Sent: Tuesday, May 11, 2021 1:12 PM To: aud...@li... Subject: Re: [Audacity-devel] local build problem on Windows Honestly, I don’t know what’s going on. It builds if I configure with: cmake -Daudacity_use_pch=no It doesn’t build if I configure with: cmake -Daudacity_use_pch=yes I thought I understood why, but every “workaround” I’ve tried so far has failed…grrrrrr From: Leland <ll...@ho... <mailto:ll...@ho...> > Sent: Tuesday, May 11, 2021 1:02 PM To: aud...@li... <mailto:aud...@li...> Subject: Re: [Audacity-devel] local build problem on Windows Hold off…this may be incorrect. Still digging. From: Leland <ll...@ho... <mailto:ll...@ho...> > Sent: Tuesday, May 11, 2021 12:44 PM To: aud...@li... <mailto:aud...@li...> Subject: Re: [Audacity-devel] local build problem on Windows Paul, the problem is that using “/FI” to force include configwin.h overrides the method used by CMake to include the precompiled headers. I’m trying to devise some sort of workaround, but I don’t think it’s gonna be pretty. From: Leland <ll...@ho... <mailto:ll...@ho...> > Sent: Tuesday, May 11, 2021 11:35 AM To: aud...@li... Subject: Re: [Audacity-devel] local build problem on Windows Yea, it broke the use of precompiled headers on Windows. Looking into it… From: David Bailes <drb...@gm... <mailto:drb...@gm...> > Sent: Tuesday, May 11, 2021 3:50 AM To: Audacity Development <aud...@li... <mailto:aud...@li...> > Subject: [Audacity-devel] local build problem on Windows Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, I'm getting the build errors shown below, David. cmake_pch.cxx U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Build All failed. |
From: Leland <ll...@ho...> - 2021-05-11 18:12:35
|
Honestly, I don’t know what’s going on. It builds if I configure with: cmake -Daudacity_use_pch=no It doesn’t build if I configure with: cmake -Daudacity_use_pch=yes I thought I understood why, but every “workaround” I’ve tried so far has failed…grrrrrr From: Leland <ll...@ho...> Sent: Tuesday, May 11, 2021 1:02 PM To: aud...@li... Subject: Re: [Audacity-devel] local build problem on Windows Hold off…this may be incorrect. Still digging. From: Leland <ll...@ho... <mailto:ll...@ho...> > Sent: Tuesday, May 11, 2021 12:44 PM To: aud...@li... <mailto:aud...@li...> Subject: Re: [Audacity-devel] local build problem on Windows Paul, the problem is that using “/FI” to force include configwin.h overrides the method used by CMake to include the precompiled headers. I’m trying to devise some sort of workaround, but I don’t think it’s gonna be pretty. From: Leland <ll...@ho... <mailto:ll...@ho...> > Sent: Tuesday, May 11, 2021 11:35 AM To: aud...@li... <mailto:aud...@li...> Subject: Re: [Audacity-devel] local build problem on Windows Yea, it broke the use of precompiled headers on Windows. Looking into it… From: David Bailes <drb...@gm... <mailto:drb...@gm...> > Sent: Tuesday, May 11, 2021 3:50 AM To: Audacity Development <aud...@li... <mailto:aud...@li...> > Subject: [Audacity-devel] local build problem on Windows Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, I'm getting the build errors shown below, David. cmake_pch.cxx U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Build All failed. |
From: Leland <ll...@ho...> - 2021-05-11 18:02:44
|
Hold off…this may be incorrect. Still digging. From: Leland <ll...@ho...> Sent: Tuesday, May 11, 2021 12:44 PM To: aud...@li... Subject: Re: [Audacity-devel] local build problem on Windows Paul, the problem is that using “/FI” to force include configwin.h overrides the method used by CMake to include the precompiled headers. I’m trying to devise some sort of workaround, but I don’t think it’s gonna be pretty. From: Leland <ll...@ho... <mailto:ll...@ho...> > Sent: Tuesday, May 11, 2021 11:35 AM To: aud...@li... <mailto:aud...@li...> Subject: Re: [Audacity-devel] local build problem on Windows Yea, it broke the use of precompiled headers on Windows. Looking into it… From: David Bailes <drb...@gm... <mailto:drb...@gm...> > Sent: Tuesday, May 11, 2021 3:50 AM To: Audacity Development <aud...@li... <mailto:aud...@li...> > Subject: [Audacity-devel] local build problem on Windows Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, I'm getting the build errors shown below, David. cmake_pch.cxx U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Build All failed. |
From: Leland <ll...@ho...> - 2021-05-11 17:44:43
|
Paul, the problem is that using “/FI” to force include configwin.h overrides the method used by CMake to include the precompiled headers. I’m trying to devise some sort of workaround, but I don’t think it’s gonna be pretty. From: Leland <ll...@ho...> Sent: Tuesday, May 11, 2021 11:35 AM To: aud...@li... Subject: Re: [Audacity-devel] local build problem on Windows Yea, it broke the use of precompiled headers on Windows. Looking into it… From: David Bailes <drb...@gm... <mailto:drb...@gm...> > Sent: Tuesday, May 11, 2021 3:50 AM To: Audacity Development <aud...@li... <mailto:aud...@li...> > Subject: [Audacity-devel] local build problem on Windows Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, I'm getting the build errors shown below, David. cmake_pch.cxx U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Build All failed. |
From: Leland <ll...@ho...> - 2021-05-11 16:34:45
|
Yea, it broke the use of precompiled headers on Windows. Looking into it… From: David Bailes <drb...@gm...> Sent: Tuesday, May 11, 2021 3:50 AM To: Audacity Development <aud...@li...> Subject: [Audacity-devel] local build problem on Windows Problems with my local build, using VS 2019, and using VS's cmake, as in the build instructions in win/build.txt. Starting with the recent commit: 794f4e5877195e28afb230f2cdff166410fd5e37, I'm getting the build errors shown below, David. cmake_pch.cxx U:\audacity\src\AudioIO.h(95,24): error C3646: 'midiTracks': unknown override specifier U:\audacity\src\AudioIO.h(95,34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(270,16): error C3646: 'MidiTime': unknown override specifier U:\audacity\src\AudioIO.h(270,24): error C2059: syntax error: '(' U:\audacity\src\AudioIO.h(270,26): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(368,20): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(368,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(368,32): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(392,16): error C3646: 'mMaxMidiTimestamp': unknown override specifier U:\audacity\src\AudioIO.h(392,33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(415,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(415,22): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(416,20): error C2065: 'Alg_iterator': undeclared identifier U:\audacity\src\AudioIO.h(416,9): error C2923: 'std::unique_ptr': 'Alg_iterator' is not a valid template type argument for parameter '_Ty' U:\audacity\src\AudioIO.h(416,9): error C2976: 'std::unique_ptr': too few template arguments C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\memory(3319): message : see declaration of 'std::unique_ptr' [U:\audacity\out\build\x86-Debug\src\Audacity.vcxproj] U:\audacity\src\AudioIO.h(418,17): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(418,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(418,28): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(428,21): error C2143: syntax error: missing ';' before '*' U:\audacity\src\AudioIO.h(428,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int U:\audacity\src\AudioIO.h(428,37): error C2238: unexpected token(s) preceding ';' U:\audacity\src\AudioIO.h(434,24): error C3646: 'mMidiPlaybackTracks': unknown override specifier U:\audacity\src\AudioIO.h(434,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Build All failed. |
From: James C. <jam...@gm...> - 2021-05-11 15:19:04
|
Thanks Joost! That sounds good, and not a contentious use of TCP/IP at all, especially as explicit opt-in on each and every crash. Can you say more about the processing at the receiving end?? Lots of time and work on tools there?? My expectation is that some crashes will have very repeatable stack traces, often due to a recent change in our code, but some won't, and I wonder particularly how you dealt with those? Is it one of those cases where 90% of the benefit comes easily, once set up, and that alone makes it worthwhile doing? --James. On Tue, 11 May 2021 at 15:36, Joost Andrae <Joo...@gm...> wrote: > Hi, > > if you plan to integrate some kind of crash reporting functionality into > Audacity then this could be integraded without dependencies to external > libs (on unixoid systems, not on win32 where you might depend on WinDbg > from MS). > At OpenOffice.org/StarOffice we had such a functionality. Maybe a short > look at the impl. might be helpful, just if you're interested into it. > > AOO Grok link: > http://openoffice-vm1-he-de.apache.org/xref/aoo419/main/crashrep/source/ > > The application implements an event handler to call the strace/pstack > kernel function in case of a SEGV. Additionaly pmap is called to give > additional information. > If you want to have a readable call stack then you need to store the > unstripped build with debug information to map the stack IDs to those > from a build with debug information. > > Crash information was sent (opt-in at every crash of the application) > via a soap interface to one server behind a firewall layer. Information > is stored into a database. > > In this case it was possible to map the functional application areas / > responsible developers to a stack via statistical db lookup on source > code line level. At the end we defined thresholds on counts of similar > call stacks to automatically submit a bugzilla bug. > > just my 2 EUR Cents.... > > Kind regards, Joost > > > > > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |