Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic BSEC not building or linking correctly (Read 286 times)
JamesFarmer
Junior Member
**
Offline


Posts: 71
Joined: Mar 1st, 2020
BSEC not building or linking correctly
Mar 1st, 2020 at 3:37pm
Print Post  
My project builds fine in Arduino IDE but is not working in VSM 

i am using latest VM trial version
2019 VS
Arduino 1.8
latest esp32 idf 

complete build log VM is from visual micro , Arduino is what the verbose looks like out of Arduino 

attached but the issue is coming up during linking 

Now in the Arduino IDE I have to edit the platform.txt witch I have done and compiles fine there.

I notice they are using the same file location for linker or are they 


This is were error starts.

Linking it all together ...
# Coping cached core 261c\core.a to C:\Users\Home\AppData\Local\Temp\VMBuilds\MainMod0\esp32_d32_pro\Release\core.a

\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-gcc" -nostdlib ls/sdk/lib" ls/sdk/ld" -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception -Wl,--start-group "MainMod0.cpp.o" "ADC.cpp.o" "BME680P.cpp.o" "i2c.cpp.o" "power.cpp.o" "variable.cpp.o" "Wire\Wire.cpp.o" "SPI\SPI.cpp.o" "EEPROM\EEPROM.cpp.o" "bsec\bsec.cpp.o" "bsec\bme680\bme680.c.o" " -lgcc -lesp32 -lphy -lesp_http_client -lmbedtls -lrtc -lesp_http_server -lbtdm_app -lspiffs -lbootloader_support -lmdns -lnvs_flash -lfatfs -lpp -lnet80211 -ljsmn -lface_detection -llibsodium -lvfs -ldl_lib -llog -lfreertos -lcxx -lsmartconfig_ack -lxtensa-debug-module -lheap -ltcpip_adapter -lmqtt -lulp -lfd -lfb_gfx -lnghttp -lprotocomm -lsmartconfig -lm -lethernet -limage_util -lc_nano -lsoc -ltcp_transport -lc -lmicro-ecc -lface_recognition -ljson -lwpa_supplicant -lmesh -lesp_https_ota -lwpa2 -lexpat -llwip -lwear_levelling -lapp_update -ldriver -lbt -lespnow -lcoap -lasio -lnewlib -lconsole -lapp_trace -lesp32-camera -lhal -lprotobuf-c -lsdmmc -lcore -lpthread -lcoexist -lfreemodbus -lspi_flash -lesp-tls -lwpa -lwifi_provisioning -lwps -lesp_adc_cal -lesp_event -lopenssl -lesp_ringbuf -lfr -lstdc++ -Wl,--end-group -Wl,-EL -o d0.ino.elf"
bsec.cpp.o: (.literal._ZN4Bsec11beginCommonEv+0x0): undefined reference to bsec_init
bsec.cpp.o: (.literal._ZN4Bsec11beginCommonEv+0x4): undefined reference to bsec_get_version
bsec.cpp.o: (.literal._ZN4Bsec18updateSubscriptionEP21bsec_virtual_sensor_thf+0x0): undefined reference to bsec_update_subscription
bsec.cpp.o: (.literal._ZN4Bsec8getStateEPh+0x0): undefined reference to bsec_get_state
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: BSEC not building or linking correctly
Reply #1 - Mar 2nd, 2020 at 12:45am
Print Post  
This Topic was moved here from Other Hardware [move by] Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint