Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 libalgosec.a undefined references

    BME680 libalgosec.a undefined references

    ceso
    New Poster

    Good afternoon, 

     

    I feel that this is a simple problem but I can't seem to wrap my head around it. I have created a project with the BME680 and included all the directories for the .h and .c files needed. The compiler is having an  issue loading the libalgosec.a library in. I am using a LPC 54xxx series chip in MCUXpresso IDE v11.3.1. I think it may be an issue with my project settings but reading through the documentation for the arduino implementation isn't helping that much in regard to adding this library. Any help is greatly appreciated. 

     

     

    c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: 
    
    ./external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.o: in function `bme680_bsec_update_subscription':
    C:\Users\Documents\Software\Debug/../external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.c:140: undefined reference to `bsec_update_subscription'
    
    c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: ./external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.o: in function `bsec_iot_init':
    
    C:\Users\Documents\Software\Debug/../external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.c:186: undefined reference to `bsec_init'
    c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: 
    
    C:\Users\Documents\Software\Debug/../external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.c:196: undefined reference to `bsec_set_configuration'
    
    c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: 
    
    C:\Users\Documents\Software\Debug/../external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.c:207: undefined reference to `bsec_set_state'
    
    c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: 
    
    ./external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.o: in function `bme680_bsec_process_data':
    
    C:\Users\Documents\Software\Debug/../external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.c:417: undefined reference to `bsec_do_steps'
    
    c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: 
    
    ./external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.o: in function `bsec_iot_loop':
    C:\Users\Documents\Software\Debug/../external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.c:521: undefined reference to `bsec_sensor_control'
    
    c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Documents\Software\Debug/../external/BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.c:539: undefined reference to `bsec_get_state'

     

     

    1 REPLY 1

    BSTRobin
    Community Moderator
    Community Moderator

    Hello ceso,

    It seems that the BSEC library does not match your compiler and MCU platform.
    We gladly publish all publicly available info, but sadly are unable to share the requested info within the community. Thanks for your understanding. If you have any further requests, please visit https://www.bosch-sensortec.com/about-us/contact/contact-form, use the contact form to submit your request and please make sure you refer to the question posed in the community.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist