olliw42 / mLRS

2.4 GHz & 915/868 MHz & 433 MHz/70 cm LoRa based telemetry and radio link for remote controlled vehicles
GNU General Public License v3.0
266 stars 55 forks source link

No build E77 TX *( #201

Closed Dwakener closed 2 weeks ago

Dwakener commented 2 weeks ago

In file included from C:/mLRS/mLRS/CommonTx/mlrs-tx.cpp:50: C:/mLRS/mLRS/CommonTx/../modules/stm32ll-lib/src/stdstm32-uartb.h:459:4: error: #error No UARTB TX IO defined! 459 | #error No UARTB TX IO defined! | ^~~~~ C:/mLRS/mLRS/CommonTx/../modules/stm32ll-lib/src/stdstm32-uartb.h:462:4: error: #error No UARTB RX IO defined! 462 | #error No UARTB RX IO defined! | ^~~~~ In file included from C:/mLRS/mLRS/CommonTx/mlrs-tx.cpp:71: C:/mLRS/mLRS/CommonTx/../Common/mavlink/fmav.h:19:10: fatal error: out/mlrs_all/mlrs_all.h: No such file or directory 19 | #include "out/mlrs_all/mlrs_all.h" | ^~~~~~~~~ compilation terminated. make: [CommonTx/subdir.mk:29: CommonTx/mlrs-tx.o] Error 1 make: Waiting for unfinished jobs.... "make -j4 all" terminated with exit code 2. Build might be incomplete. изображение

olliw42 commented 2 weeks ago

@Dwakener just tested on my pc and this target compiles fine there is most likely either something not complete and correct with your setup or you made changes which aren't correct. With the given info we cannot tell you. I just note that in your main.cpp I do see a return main(), which isn't the original code. So it seems you made changes. (https://github.com/olliw42/mLRS/blob/main/mLRS/tx-E77-MBLKit-wle5cc/Core/Src/main.cpp#L88)

btw, this github issue area is NOT for support. The issue reported here cannot be confirmed and reproduced, so I'm going to close it, If you feel you desire further support with your issue, pl consider choosing the suppoprt channels, either at rcgroups or at discord (discord should be preferred since mor epeople are there)

thx for reporting

Dwakener commented 2 weeks ago

Are you on Linux?

olliw42 commented 2 weeks ago

no, but it doesn't matter other folks use it on linux

and your change to the code is just wrong, and we can't know whatever other changes you may have done

pl grab the original code, and try to get one target to compile for it following the instructions closely. Once there you can start to make changes.

there will be currently an compile error if you use gcc12, so change to gcc 11.3.rel1

@brad112358 if you find time could you pl compile the above target and check it's ok? not that there is again a \ vs / thing

brad112358 commented 2 weeks ago

The main branch of tx-E77-MBLKit-wle5cc builds without errors or warnings on Linux.

olliw42 commented 2 weeks ago

MANY thx.