TVM-Solidity-Compiler icon indicating copy to clipboard operation
TVM-Solidity-Compiler copied to clipboard

cmake --build . -- -j8

Open Lexzandr opened this issue 2 years ago • 1 comments

cmake --build . -- -j8 [ 37%] Built target jsoncpp-project [ 37%] Built target solidity_BuildInfo.h Consolidate compiler generated dependencies of target solutil [ 37%] Built target solutil Consolidate compiler generated dependencies of target langutil [ 37%] Built target langutil Consolidate compiler generated dependencies of target solidity [ 37%] Building CXX object libsolidity/CMakeFiles/solidity.dir/codegen/TVMContractCompiler.cpp.o /Users/lexzandr/TON-Solidity-Compiler/compiler/libsolidity/codegen/TVMContractCompiler.cpp:192:12: error: implicit instantiation of undefined template 'std::basic_ofstream' ofstream ofile; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/iosfwd:151:32: note: template is declared here class _LIBCPP_TEMPLATE_VIS basic_ofstream; ^ /Users/lexzandr/TON-Solidity-Compiler/compiler/libsolidity/codegen/TVMContractCompiler.cpp:211:14: error: implicit instantiation of undefined template 'std::basic_ofstream' ofstream ofile; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/iosfwd:151:32: note: template is declared here class _LIBCPP_TEMPLATE_VIS basic_ofstream; ^ 2 errors generated. make[2]: *** [libsolidity/CMakeFiles/solidity.dir/codegen/TVMContractCompiler.cpp.o] Error 1 make[1]: *** [libsolidity/CMakeFiles/solidity.dir/all] Error 2 make: *** [all] Error 2

Lexzandr avatar Jul 05 '22 09:07 Lexzandr

@Lexzandr try

[email protected]:EverscaleGuild/ever-solidity.git
cd ever-solidity
make release
./release/sold -h

or get binary https://github.com/EverscaleGuild/ever-solidity/releases

ilyar avatar Oct 18 '22 03:10 ilyar

Thank you. We had such problem. You can add #include <fstream> to file TVMContractCompiler.cpp to build it.

IgorKoval avatar Apr 19 '23 09:04 IgorKoval