Using Strings for uint256 not working with ERC721Enumerabe

Hello, just like the title says I cannot get using Strings to compile, I keep getting the identifier not found.
This is the start of my .sol contract

// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts/utils/Strings.sol";

contract Minting is ERC721Enumerable, Ownable {
    using Strings for uint256;

please help me!!!

1 Like

Does it work if you uncomment the import?

1 Like

thank you for your reply, but if I uncomment the import, it is not work,

1 Like

Can you provide more info about your project setup? What version of OpenZeppelin Contracts are you using, what are your compiler settings, and what is the exact error message?

1 Like

I use @openzeppelin ^4.5.0 version for my contract.
and I set constructors for start, but then I have a error message with openzeppelin library.

please help me

1 Like

It looks like you already have the contract deployed, and are trying to verify it on Etherscan. If so, see How to verify a contract on Etherscan/BscScan/PolygonScan

1 Like

sorry for latency.
I tried many things, but I can't verify the contract, maybe because, I don't have experience, could you help me and lead step-by-step?

1 Like