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 same library error (Read 1797 times)
ahmet
Newbies
*
Offline


Posts: 6
Joined: Oct 23rd, 2016
same library error
Sep 21st, 2019 at 1:01pm
Print Post  
Hello I use the same library, although I compile the program in the Arduino ide visual microda compile I would appreciate if you help
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: same library error
Reply #1 - Sep 21st, 2019 at 2:05pm
Print Post  
Please follow the guide in the yellow box above
  
Back to top
WWW  
IP Logged
 
ahmet
Newbies
*
Offline


Posts: 6
Joined: Oct 23rd, 2016
Re: same library error
Reply #2 - Sep 22nd, 2019 at 3:12pm
Print Post  
Hi I tried the ADXL code with ESP in VM so there is no problem with card support. The SD.h path is changed when compiling the SD card. I added SD.h to the header files and still could not solve it. I pasted the assembly detail below. SD.h arduino \ libraries not esp32 library is required. Can you help me. Thank you

Code
Select All
Compiling 'esp' for 'ESP32 Dev Module'
Build Folder: file:///C:/Users/ahmet/AppData/Local/Temp/VMBuilds/esp/esp32_esp32/Release
Summary: Header=1 Prototypes=3 Imports=4
Additional Defines:
Architecture Tools: -elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/
Api: 1.1801.27-0
Sketch Book: file:///C:/Users/ahmet/Documents/Arduino
Sketch Include Paths
Core Include Paths
Include Path .3/cores/esp32
Include Path .3/variants/esp32
Library Include Paths (4)
Include Path aries\FS\src'
Include Path 'C:\Users\ahmet\Documents\Arduino\libraries\SD\src'
Include Path aries\SD_MMC\src'
Include Path aries\SPI\src'

Building variant ...

  Using previously compiled variant

Building core ...

Building libraries ...

Using library FS version 1.0 in folder .3/libraries/FS
  Using previously compiled file: C:\Users\ahmet\AppData\Local\Temp\VMBuilds\esp\esp32_esp32\Release\FS\FS.cpp.o
  Using previously compiled file: p.o

Using library SD version 1.0.9 in folder file:///C:/Users/ahmet/Documents/Arduino/libraries/SD
c\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DHAVE_CONFIG_H ols/sdk/include/config" ols/sdk/include/app_trace" ols/sdk/include/app_update" ols/sdk/include/asio" ols/sdk/include/bootloader_support" ols/sdk/include/bt" ols/sdk/include/coap" ols/sdk/include/console" ols/sdk/include/driver" ols/sdk/include/esp-tls" ols/sdk/include/esp32" ols/sdk/include/esp_adc_cal" ols/sdk/include/esp_event" ols/sdk/include/esp_http_client" ols/sdk/include/esp_http_server" ols/sdk/include/esp_https_ota" ols/sdk/include/esp_ringbuf" ols/sdk/include/ethernet" ols/sdk/include/expat" ols/sdk/include/fatfs" ols/sdk/include/freemodbus" ols/sdk/include/freertos" ols/sdk/include/heap" ols/sdk/include/idf_test" ols/sdk/include/jsmn" ols/sdk/include/json" ols/sdk/include/libsodium" ols/sdk/include/log" ols/sdk/include/lwip" ols/sdk/include/mbedtls" ols/sdk/include/mdns" ols/sdk/include/micro-ecc" ols/sdk/include/mqtt" ols/sdk/include/newlib" ols/sdk/include/nghttp" ols/sdk/include/nvs_flash" ols/sdk/include/openssl" ols/sdk/include/protobuf-c" ols/sdk/include/protocomm" ols/sdk/include/pthread" ols/sdk/include/sdmmc" ols/sdk/include/smartconfig_ack" ols/sdk/include/soc" ols/sdk/include/spi_flash" ols/sdk/include/spiffs" ols/sdk/include/tcp_transport" ols/sdk/include/tcpip_adapter" ols/sdk/include/ulp" ols/sdk/include/vfs" ols/sdk/include/wear_levelling" ols/sdk/include/wifi_provisioning" ols/sdk/include/wpa_supplicant" ols/sdk/include/xtensa-debug-module" ols/sdk/include/esp-face" ols/sdk/include/esp32-camera" ols/sdk/include/esp-face" ols/sdk/include/fb_gfx" -std=gnu++11 -fno-exceptions -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -MMD -c -DF_CPU=240000000L -DARDUINO=108010 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD=\"ESP32_DEV\" -DARDUINO_VARIANT=\"esp32\" -DESP32 -DCORE_DEBUG_LEVEL=0 braries\FS\src" -I"C:\Users\ahmet\Documents\Arduino\libraries\SD\src" braries\SD_MMC\src" braries\SPI\src" -I"C:\Program Files (x86)\Arduino\libraries" braries" -I"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\q4f5pg2q.o2e\Micro Platforms\default\debuggers" -I"C:\Users\ahmet\Documents\Arduino\libraries" res\esp32" riants\esp32" "C:\Users\ahmet\Documents\Arduino\libraries\SD\src\File.cpp" -o o"
Sd2Card.h:26: In file included from
SdFat.h:29: from
SD.h:20: from
File.cpp:15: from

Sd2PinMap.h: 510:2: error: #error Architecture or board not supported
   #error Architecture or board not supported
c\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DHAVE_CONFIG_H ols/sdk/include/config" ols/sdk/include/app_trace" ols/sdk/include/app_update" ols/sdk/include/asio" ols/sdk/include/bootloader_support" ols/sdk/include/bt" ols/sdk/include/coap" ols/sdk/include/console" ols/sdk/include/driver" ols/sdk/include/esp-tls" ols/sdk/include/esp32" ols/sdk/include/esp_adc_cal" ols/sdk/include/esp_event" ols/sdk/include/esp_http_client" ols/sdk/include/esp_http_server" ols/sdk/include/esp_https_ota" ols/sdk/include/esp_ringbuf" ols/sdk/include/ethernet" ols/sdk/include/expat" ols/sdk/include/fatfs" ols/sdk/include/freemodbus" ols/sdk/include/freertos" ols/sdk/include/heap" ols/sdk/include/idf_test" ols/sdk/include/jsmn" ols/sdk/include/json" ols/sdk/include/libsodium" ols/sdk/include/log" ols/sdk/include/lwip" ols/sdk/include/mbedtls" ols/sdk/include/mdns" ols/sdk/include/micro-ecc" ols/sdk/include/mqtt" ols/sdk/include/newlib" ols/sdk/include/nghttp" ols/sdk/include/nvs_flash" ols/sdk/include/openssl" ols/sdk/include/protobuf-c" ols/sdk/include/protocomm" ols/sdk/include/pthread" ols/sdk/include/sdmmc" ols/sdk/include/smartconfig_ack" ols/sdk/include/soc" ols/sdk/include/spi_flash" ols/sdk/include/spiffs" ols/sdk/include/tcp_transport" ols/sdk/include/tcpip_adapter" ols/sdk/include/ulp" ols/sdk/include/vfs" ols/sdk/include/wear_levelling" ols/sdk/include/wifi_provisioning" ols/sdk/include/wpa_supplicant" ols/sdk/include/xtensa-debug-module" ols/sdk/include/esp-face" "-IC:\Users\ahmet\AppData\Local\arduino15\packages\esp32\hardware\esp32\1.0.3/ 

« Last Edit: Sep 26th, 2019 at 1:46pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: same library error
Reply #3 - Sep 26th, 2019 at 1:47pm
Print Post  
This is an issue when using arduino 1.8.10 with Visual Micro. There will be a fix during the coming few days.

the No IDE option works okay or you can drop back to 1.8.9
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: same library error
Reply #4 - Sep 26th, 2019 at 10:46pm
Print Post  
This is resolved in Visual Micro 1909.26

Thanks for the report.

The latest version of Visual Micro is available here but will shortly be published to the Microsoft Gallery
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: same library error
Reply #5 - Sep 27th, 2019 at 12:57pm
Print Post  
There was still an issue with yesterdays version. Please ensure you are using Visual Micro 1909.26.3 if you are using Arduino 1.8.10 or above.

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint