C++ Undefined symbols for architecture x86_64 on CMake
Go to solution
Solved by shadow_ray,
21 minutes ago, AluminiumTech said:It's not?
The array size parameter is the problem here. The array doesn't like the size parameter being given as count. It requires both of the parameters it takes.
Sorry i gave a vague answer. std::array is a fixed size array. Its length must be known at compile time. What i meant is that std::vector should be used instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now