unable to add element to std:map when variable is in a libraryI solve the issue. I just realize now that in the header included in the file with the main function...
unable to add element to std:map when variable is in a librarythis is libjson.hpp: https://pastebin.com/ABsUDSJ3
unable to add element to std:map when variable is in a librarythe correct command is: [code]g++ -fPIC -shared -o libjson.so libjson.cpp[/code]
unable to add element to std:map when variable is in a libraryI have this code: https://pastebin.com/5NfEveih compiled with this command: [code]g++ -fPIC -shar...
compiler warning about class with no virtual constructor when there is oneWith this code, the same error happens, but now with the line 87: [code]pixels.resize(h);[/code].
This user does not accept Private Messages