P
P
Pproger_122018-02-17 15:29:09
C++ / C#
Pproger_12, 2018-02-17 15:29:09

How to fix c++ static library problem in visual studio environment?

Hello, I have a problem, I wrote a static library in c++ and my compiler gives errors when compiling already using this library in another project ->Error 1 error LNK2019: reference to an unresolved external symbol "public: static int __cdecl mass::m_mass: :max(int ​​*,int)" ([email protected][email protected]@@[email protected]) in _wmain function C:\Users\User\Documents\Visual Studio 2012\Projects\MassivLib\ConsoleApplication3\ConsoleApplication3\ConsoleApplication3.obj ConsoleApplication3
Error 2 error LNK1120: unresolved external elements: 1 C:\Users\User\Documents\Visual Studio 2012\Projects\MassivLib\ConsoleApplication3\Debug\ConsoleApplication3.exe 1 1 ConsoleApplication3 I've been suffering for a long time
and I can't figure out what the problem is, help please!!! VERY PLEASE!!!!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question