Closed techno94 closed 5 years ago
sorry... was a simple bug.. latest version should have fixed it
Hello, thanks for the quick fixe and for the awesome librarie i arrived to display most of the exemples. (demo, 3dengine, demo14, sprites, helloworld)
but, i still have bug at compilation for VGAWiFiTextTerminal
here it is : In file included from espressif\esp32\libraries\ESP32Lib\src/ESP32Lib.h:8:0, from Temp\arduino_modified_sketch_452553\VGAWiFiTextTerminal.ino:11:
espressif\esp32\libraries\ESP32Lib\src/Graphics/Mesh.h: In static member function 'static Mesh
espressif\esp32\libraries\ESP32Lib\src/Graphics/Mesh.h:66:66: error: there are no arguments to 'max' that depend on a template parameter, so a declaration of 'max' must be available [-fpermissive]
const float NdotL = max(0.0f, nx L[0] + ny L[1] + nz * L[2]);
^
espressif\esp32\libraries\ESP32Lib\src/Graphics/Mesh.h:66:66: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
thank you
i'll check it
version 0.0.9 should fix it are you using arduino or platform io? i didn't get this error but I can imagine it could come up since arduino.h wasn't included it would be cool if you could check the examples with your compiler
hello, thanks for you re reactivitie i use arduino IDE i will try, and i will say if it's fixed
Hello, i've update my espressif board (it as 10 month) and know it compile. i haven't test with the board but i think it s OK Thanks a lot and sorry for the disturb.
did you think that you could make an exemple with you're ESP32SpaceShooter but with VGA
Hello, with the update of my espressif folder, it work perfectly thanks a lot did you think that you could make an exemple of ESP32SpaceShooter but with VGA ??
hello, i've trie all the exemple with the new lib. no one compile. it's all the time the same bug :
In file included from \hardware\espressif\esp32\libraries\ESP32Lib\src/ESP32Lib.h:7:0, from \espressif\esp32\libraries\ESP32Lib\examples\VGAHighRes\VGAHighRes.ino:10:
\espressif\esp32\libraries\ESP32Lib\src/Graphics/Mesh.h: In static member function 'static Mesh::Color Mesh::basicVertexShader(int, short int, short int, short int, const signed char, Mesh::Color)':
\espressif\esp32\libraries\ESP32Lib\src/Graphics/Mesh.h:54:32: error: 'scaleN' was not declared in this scope const float nx = normal[0] * scaleN;