He said that other countries were imposing "massive tariffs" on the US.
The joint communique, advocating a "rules-based trading system", was reached despite tension over US tariffs on steel and aluminium imports.
Canadian Prime Minister Justin Trudeau vowed afterwards to press ahead with retaliatory tariffs on 1 July.