bluerange-io / bluerange-mesh

BlueRange Mesh (formerly FruityMesh) - The first completely connection-based open source mesh on top of Bluetooth Low Energy (4.1/5.0 or higher)
https://bluerange.io/
Other
287 stars 109 forks source link

Compiling Errors #85

Closed lorogno closed 6 years ago

lorogno commented 7 years ago

Hey,

after initializing your project multiple times as shown in the installation briefing i am not able to get it compiled without any errors. We have fixed a lot of errors by including serveral header files which were missing. The following errors are still remaining:

Description Resource    Path    Location    Type
Field 'logt("NODE", "Initializing Softdevice version 0x%x, Board %d", SD_FWID_GET(MBR_SIZE), Config->boardType)' could not be resolved  Main.cpp    /FruityMesh/src line 259    Semantic Error
Field 'SET_BOARD()' could not be resolved   Main.cpp    /FruityMesh/src line 91 Semantic Error
Field 'SET_BOARD()' could not be resolved   Main.cpp    /FruityMesh/src line 91 Semantic Error
Field 'SET_BOARD()' could not be resolved   Main.cpp    /FruityMesh/src line 91 Semantic Error
Field 'SET_BOARD()' could not be resolved   Main.cpp    /FruityMesh/src line 91 Semantic Error
Field 'SET_BOARD()' could not be resolved   Main.cpp    /FruityMesh/src line 91 Semantic Error
Field 'SET_BOARD()' could not be resolved   Main.cpp    /FruityMesh/src line 91 Semantic Error
Field 'SET_BOARD()' could not be resolved   Main.cpp    /FruityMesh/src line 91 Semantic Error
Field 'SET_BOARD()' could not be resolved   Main.cpp    /FruityMesh/src line 91 Semantic Error
Function 'nrf_delay_us' could not be resolved   Main.cpp    /FruityMesh/src line 351    Semantic Error
Function 'nrf_delay_us' could not be resolved   Main.cpp    /FruityMesh/src line 368    Semantic Error
Function 'nrf_delay_us' could not be resolved   Main.cpp    /FruityMesh/src line 394    Semantic Error
Function 'NVIC_SystemReset' could not be resolved   Main.cpp    /FruityMesh/src line 354    Semantic Error
Function 'NVIC_SystemReset' could not be resolved   Main.cpp    /FruityMesh/src line 370    Semantic Error
Function 'NVIC_SystemReset' could not be resolved   Main.cpp    /FruityMesh/src line 396    Semantic Error
Invalid arguments '
Candidates are:
? app_timer_init(?, unsigned char, void *, ? (*)(void (*)(void *), void *))
'   Main.cpp    /FruityMesh/src line 498    Semantic Error
Invalid arguments '
Candidates are:
? app_timer_start(app_timer_t *, ?, void *)
'   Main.cpp    /FruityMesh/src line 503    Semantic Error
Invalid arguments '
Candidates are:
? nrf_gpio_pin_read(?)
'   Main.cpp    /FruityMesh/src line 541    Semantic Error
Invalid arguments '
Candidates are:
? sd_nvic_ClearPendingIRQ(?)
'   Main.cpp    /FruityMesh/src line 234    Semantic Error
Invalid arguments '
Candidates are:
? softdevice_sys_evt_handler_set(void (*)(?))
'   Main.cpp    /FruityMesh/src line 278    Semantic Error
Invalid arguments '
Candidates are:
unsigned long int nrf_drv_gpiote_in_init(?, const {nrf_drv_gpiote.h:945} *, void (*)(?, enum {nrf_gpiote.h:963}))
'   Main.cpp    /FruityMesh/src line 530    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 233    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 235    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 240    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 273    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 279    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 311    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 316    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 320    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 324    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 498    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 501    Semantic Error
Invalid arguments '
Candidates are:
void app_error_handler_bare(unsigned long int)
'   Main.cpp    /FruityMesh/src line 504    Semantic Error
Invalid arguments '
Candidates are:
void nrf_drv_gpiote_in_event_enable(?, bool)
'   Main.cpp    /FruityMesh/src line 533    Semantic Error
Symbol 'SD_EVT_IRQn' could not be resolved  Main.cpp    /FruityMesh/src line 234    Semantic Error

We have used the devenv Version of fruitymesh. There is an issue in the repository too. Thanks in advance

mariusheil commented 7 years ago

Hi,

have you managed to compile it or is this still an issue? Sorry for not responding for so long.