kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #35241
Re: _CHECK_SYMBOL_EXISTS?
-
To:
Seth Hillbrand <seth.hillbrand@xxxxxxxxx>
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Fri, 30 Mar 2018 17:24:17 -0400
-
Autocrypt:
addr=stambaughw@xxxxxxxxx; keydata= xsDiBEM0hxQRBAC2fNh3YOVLu1d5GZ0SbrTNldGiGnCJPLqzEnqFX9v6jmf33TMt6EmSLkl6 Wtfkoj0nVwKxcYmJkA8DX0QAokBkwNIzhSsBzQvthBLIk/5LnPVVKrEXOcL4mUyH1doKlkaE slgJozNa6Av+oavcvD02o1zJOloBbaHlNlyRt7fKswCgtIFlVjWggVH/15KfWk+Qo5JVPbME AIUBAQyL2OAx0n60AWec2WHnO9buHuG0ibtICgUMkE+2MRmYyKwYRdyVwGoIUemFuOyHp0AJ InX4T+vy2E7vkwODqjtMLfIoRkokW74Fi4nrvjlhOAw/vdq/twLbAmR9MOfPTpR4y7kQy1O2 /n+RkkRvh26vTzfbQmrH7cBJhk6aA/9Uwvu3E4zNJgHVZeS0HyWtmR1eOPPRbnkPgJTToX5O KMKzTJI/FX6kT7cFoCamitHrW3BJP4Dx+cMMsa47EGxqVTdbVJ4LjogsXTXxb+0Fn1u4zBdx x3Cer6O7+hqWy7zvpzeC6nSREjqDKa5CgHtv/GLm5uFPOmsjAsnHj2tlBs0oV2F5bmUgU3Rh bWJhdWdoIDxzdGFtYmF1Z2h3QHZlcml6b24ubmV0PsJeBBMRAgAeBQJDNIcUAhsDBgsJCAcD AgMVAgMDFgIBAh4BAheAAAoJEBtRcWlZ+CRezfIAn02MxFsT/gJbpetkspz3pr7LmxGHAJsF VKrmxZWf5lq+jPkvd9JMDBkIac7BTQRDNIcxEAgAgCru+3/aOC6RCjpvYC72wY+d5SmHphC6 yeiV2/mOumyt5MLo/Ps2GznZr11JspqFk5K/ZpvpMMLqqjDZ39+50a2iKRQFJ6NlK+hJWMmj 6eJygQrCwYo3Gjc6CqfrqUv+8VSnf/i5sIZmtOVA4ZjML18MuBvMSsNdVLFJd5HNnYb1iOEC pvqdPVh/21LLCEw7MUUGGnHBhCrmk2aJe5hFmcSNg4ldBcXrgMQBwf7aMVoobXBMFDb/IENB yXn0llB7Gr2IFMRmNS9/p8s/II1Yl2bTqyX4FSz8cfn7C9KEz7faZ7wzAcpwHFC/zs3JoAjJ 0IEKdNUpIwAlKMzT3CzctwADBQf/cxpG28MKyrqknNmq/8LQLy+x6FSYXBLjxQz9BiBNYees DZQ6J5UbL1mjpJzMa5tLZypPYo4bbGyR22hrbyDFK7m6AcVaMIJKl98g4ukMutFfAJyRDaRE H5Zl/X1P4u1Z/yaAIy9mKaNbaK1/5djNJ5wCTFenTUgAp9xdc30kGkFDdLJFp5uxDY4P0vaZ iZdjUCvDM3Zjv5IzpNOfxVqTUBQNUP/BnnKhkk0pDTD6s3X8S+D0rOtEBQ8K0cwERI/E8EFa 8nj0TNw4e2MYGR8wg+SxqJ7z5f0zPY0bO6G9DDFBwYCqzzPWGqdAh9vA5971TAbPERtdFybh kurozp2SfcJJBBgRAgAJBQJDNIcxAhsMAAoJEBtRcWlZ+CResHUAniULLCWiT26ieRTl7N2v S6vBo/DuAJ4m7Ss/gyiW6ybTn1ctDXAUgm2QVQ==
-
Cc:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CALHbTmY-rfJiRJz-bUob9zP94A0qnyUZ76dmxODMBLXjdrNm1A@mail.gmail.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
I'm using 3.10 so that's why I haven't seen this yet. I guess we are
going to have to fix this. It's would be nice if the cmake folks would
have at least provided a substitution and a warning rather than break
everybody's configuration who uses CHECK_SYMBOL_EXISTS.
On 3/30/2018 5:15 PM, Seth Hillbrand wrote:
> Hi Adam-
>
> You will need to downgrade to CMake 3.10 or lower. In 3.11, they
> revised the internals of CheckSymbolExists.
>
> Our macro depends on the internal CMake macro _CHECK_SYMBOL_EXISTS (note
> the underscore at the beginning). In 3.11, they replaced it with
> __CHECK_SYMBOL_EXISTS_IMPL.
>
> -S
>
> 2018-03-30 13:24 GMT-07:00 Wayne Stambaugh <stambaughw@xxxxxxxxx
> <mailto:stambaughw@xxxxxxxxx>>:
>
> Hey Adam,
>
> According to the latest cmake (3.11) docs[1], CheckCXXSymbolExists.cmake
> still contains a CHECK_SYMBOL_EXISTS command. This has been around for
> a really long time, I'm not sure why you would be having issues with
> this now unless you have a broken cmake install.
>
> Wayne
>
> On 3/30/2018 3:56 PM, Adam Wolf wrote:
> > Hi folks!
> >
> > Normally I wouldn't ask this question on the list, but it's at or past
> > crunch time on the new macOS packaging, so please forgive me.
> >
> > I have a macOS 10.11 system I use for KiCad packaging sometimes, and
> > I'm running some tests on it. It has cmake 3.11.0 on it.
> >
> > 8 days ago, I was able to build kicad master on it. Today, I can't
> > configure on it. I get
> >
> > CMake Error at CMakeModules/CheckCXXSymbolExists.cmake:41
> > (_CHECK_SYMBOL_EXISTS):
> > Unknown CMake command "_CHECK_SYMBOL_EXISTS".
> > Call Stack (most recent call first):
> > CMakeModules/PerformFeatureChecks.cmake:84 (check_cxx_symbol_exists)
> > CMakeLists.txt:166 (perform_feature_checks)
> >
> > This machine is just used for KiCad, and this error doesn't really
> > make sense to me. It very well could be with the scripts I'm using
> > for testing, but I'm asking in case anyone has any ideas or has seen
> > something similar.
> >
> > Adam Wolf
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> > Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> > More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
> >
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
>
>
Follow ups
References