Open zhmrab opened 6 years ago
Unfortunatly same here
/home/centurionMiner/coins/monero-generator/generated_files/wownero/src/cryptonote_basic/cryptonote_format_utils.cpp: In function ‘bool cryptonote::calculate_block_hash(const cryptonote::block&, crypto::hash&)’: /home/centurionMiner/coins/monero-generator/generated_files/wownero/src/cryptonote_basic/cryptonote_format_utils.cpp:940:117: error: expected primary-expression before ‘==’ token if (string_tools::pod_to_hex(block_blob_hash) == correct_blob_hash_202612 && strcmp(CRYPTONOTE_NAME, "monero")) == 0 ^ /home/centurionMiner/coins/monero-generator/generated_files/wownero/src/cryptonote_basic/cryptonote_format_utils.cpp:950:105: error: expected primary-expression before ‘==’ token if (string_tools::pod_to_hex(res) == existing_block_id_202612 && strcmp(CRYPTONOTE_NAME, "monero")) == 0) ^ src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/build.make:110: recipe for target 'src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/cryptonote_format_utils.cpp.o' failed make[2]: [src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/cryptonote_format_utils.cpp.o] Error 1 CMakeFiles/Makefile2:1132: recipe for target 'src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/all' failed make[1]: [src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2
Running into a couple errors using the generator in ubuntu 16.04
`cryptonote_format_utils.cpp:891:101: error: comparison with string literal results in unspecified behaviour [-Werror=address] if (string_tools::pod_to_hex(block_blob_hash) == correct_blob_hash_202612 && CRYPTONOTE_NAME == "monero")
src/cryptonote_basic/cryptonote_format_utils.cpp:901:89: error: comparison with string literal results in unspecified behaviour [-Werror=address] if (string_tools::pod_to_hex(res) == existing_block_id_202612 && CRYPTONOTE_NAME == "monero") ^ cc1plus: all warnings being treated as errors src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/build.make:110: recipe for target 'src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/cryptonote_format_utils.cpp.o' failed ^ `