So i reinstalled everything again because i was told that last error was in the toolchain
now i have
Linking everything together...
"C:\\Users\\Home\\Documents\\ArduinoData\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-gcc" -nostdlib "-LC:\\Users\\Home\\Documents\\Arduino\\hardware\\expressif\\esp32/tools/sdk/lib" "-LC:\\Users\\Home\\Documents\\Arduino\\hardware\\expressif\\esp32/tools/sdk/ld" -T esp32_out.ld -T esp32.project.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 "C:\\Users\\Home\\AppData\\Local\\Temp\\arduino_build_973549\\sketch\\basic1.ino.cpp.o" "C:\\Users\\Home\\AppData\\Local\\Temp\\arduino_build_973549\\libraries\\bsec\\bsec.cpp.o" "C:\\Users\\Home\\AppData\\Local\\Temp\\arduino_build_973549\\libraries\\bsec\\bme680\\bme680.c.o" "C:\\Users\\Home\\AppData\\Local\\Temp\\arduino_build_973549\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\Home\\AppData\\Local\\Temp\\arduino_build_973549\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\Home\\AppData\\Local\\Temp\\arduino_cache_777539\\core\\core_f66931161e7bdd2e2cff10706bcd1608.a" -lgcc -lfreertos -lmesh -lod -lwear_levelling -lfb_gfx -lesp_adc_cal -lc_nano -lesp32 -ldriver -lhal -ljsmn -lsmartconfig -lesp_http_server -lprotocomm -lface_recognition -lespnow -ltcpip_adapter -lface_detection -lunity -lc -llibsodium -lesp_http_client -lapp_update -lnewlib -lcxx -ltcp_transport -lm -lefuse -lopenssl -lwifi_provisioning -lespcoredump -llog -lmbedtls -lesp_ringbuf -lwps -lnet80211 -lmqtt -lesp_https_server -lapp_trace -lesp_event -lesp32-camera -lsoc -lheap -llwip -lwpa -lrtc -lxtensa-debug-module -lspi_flash -lphy -lfr -lconsole -lcoap -lbtdm_app -lsdmmc -lfd -lmicro-ecc -ljson -lcore -lprotobuf-c -lethernet -lspiffs -lnvs_flash -lwpa_supplicant -lvfs -lasio -lwpa2 -lpp -lbootloader_support -limage_util -ldl_lib -lulp -lnghttp -lpthread -lfreemodbus -lexpat -lfatfs -lsmartconfig_ack -lmdns -lcoexist -lesp-tls -lesp_https_ota -lbt -lstdc++ -Wl,--end-group -Wl,-EL -o "C:\\Users\\Home\\AppData\\Local\\Temp\\arduino_build_973549/basic1.ino.elf"
error:
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o:(.literal._ZN4Bsec11beginCommonEv+0x0): undefined reference to `bsec_init'
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o:(.literal._ZN4Bsec11beginCommonEv+0x4): undefined reference to `bsec_get_version'
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o:(.literal._ZN4Bsec18updateSubscriptionEP21bsec_virtual_sensor_thf+0x0): undefined reference to `bsec_update_subscription'
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o:(.literal._ZN4Bsec15readProcessDataEx19bsec_bme_settings_t+0x8): undefined reference to `bsec_do_steps'
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o:(.literal._ZN4Bsec3runEv+0x0): undefined reference to `bsec_sensor_control'
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o: In function `Bsec::beginCommon()':
C:\Users\Home\Documents\Arduino\libraries\bsec\src/bsec.cpp:375: undefined reference to `bsec_init'
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o: In function `Bsec::getVersion()':
C:\Users\Home\Documents\Arduino\libraries\bsec\src/bsec.cpp:375: undefined reference to `bsec_get_version'
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o: In function `Bsec::updateSubscription(bsec_virtual_sensor_t*, unsigned char, float)':
C:\Users\Home\Documents\Arduino\libraries\bsec\src/bsec.cpp:375: undefined reference to `bsec_update_subscription'
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o: In function `Bsec::readProcessData(long long, bsec_bme_settings_t)':
C:\Users\Home\Documents\Arduino\libraries\bsec\src/bsec.cpp:291: undefined reference to `bsec_do_steps'
C:\Users\Home\AppData\Local\Temp\arduino_build_973549\libraries\bsec\bsec.cpp.o: In function `Bsec::run()':
C:\Users\Home\Documents\Arduino\libraries\bsec\src/bsec.cpp:174: undefined reference to `bsec_sensor_control'
collect2.exe: error: ld returned 1 exit status