Skip to content

Can't build FrSky X9D targets #1818

Answered by breadoven
breadoven asked this question in Q&A
Discussion options

You must be logged in to vote

OK I think I've worked out what's happening here. The CMakeCache.txt file in the Build folder doesn't get reset between radio builds, it keeps the settings of the previous build which may not be correct for the current radio type (expected I guess since it is a cache file). So if you run X9D+ 2019 it sets up PXX2 support by default setting this ON in the cache file. If you then build the X9D radio it adds support for PXX1 but when you run the build it also includes PXX2 from the previous build causing the build to crash because PXX2 isn't compatible with the X9D. The Nightly run script deletes the CMakeCache file between each build avoiding this problem.

I think this needs clarifying in t…

Replies: 8 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pfeerick
Comment options

Comment options

You must be logged in to vote
1 reply
@pfeerick
Comment options

Comment options

You must be logged in to vote
1 reply
@pfeerick
Comment options

Comment options

You must be logged in to vote
1 reply
@pfeerick
Comment options

Comment options

You must be logged in to vote
1 reply
@pfeerick
Comment options

Answer selected by pfeerick
Comment options

You must be logged in to vote
1 reply
@pfeerick
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants