Closed ozayturay closed 3 years ago
E:\Code\PGE\olcNes_Sounds1\src\olc2C02.cpp|59|error: use of deleted function 'olc::Sprite::Sprite(const olc::Sprite&)'|
I'm trying to build the source in Code::Blocks using TDM64-GCC 9.2.0 with no success. :(
The error is present starting Part 3 continues on all parts.
Edit: Compilation parameters are as follows.
g++.exe -Wall -std=c++17 -O2 -m64 -c E:\Code\PGE\olcNes_Sounds1\src\olc2C02.cpp -o obj\Release-Win64\src\olc2C02.cpp.o g++.exe -o bin\olcNes_Sounds1-Win64.exe obj\Release-Win64\src\Bus.cpp.o obj\Release-Win64\src\Cartridge.cpp.o obj\Release-Win64\src\Mapper.cpp.o obj\Release-Win64\src\Mapper_000.cpp.o obj\Release-Win64\src\Mapper_001.cpp.o obj\Release-Win64\src\Mapper_002.cpp.o obj\Release-Win64\src\Mapper_003.cpp.o obj\Release-Win64\src\Mapper_004.cpp.o obj\Release-Win64\src\Mapper_066.cpp.o obj\Release-Win64\src\olc2A03.cpp.o obj\Release-Win64\src\olc2C02.cpp.o obj\Release-Win64\src\olc6502.cpp.o obj\Release-Win64\src\olcNes_Sounds1.cpp.o obj\Release-Win64\src\Version.rc.res -static-libstdc++ -static-libgcc -s -m64 -luser32 -lgdi32 -lopengl32 -lgdiplus -lshlwapi -ldwmapi -mwindows
I also have this error
use this version of olcPixelGameEngine https://github.com/OneLoneCoder/olcPixelGameEngine/releases/tag/v2.07 it fixed things
E:\Code\PGE\olcNes_Sounds1\src\olc2C02.cpp|59|error: use of deleted function 'olc::Sprite::Sprite(const olc::Sprite&)'|
I'm trying to build the source in Code::Blocks using TDM64-GCC 9.2.0 with no success. :(
The error is present starting Part 3 continues on all parts.
Edit: Compilation parameters are as follows.