I cant find what is wrong.
Im using latest nana version, IDE VS2013
Project using v120 toolset.
nana builded with v120 toolset. (compiled successfully, without any errors).
me code:

#include <nana/gui.hpp>
#pragma comment( lib, "nana_v120_Release_x86.lib" )
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{

    if (fdwReason == DLL_PROCESS_ATTACH)
    {
            nana::form fm;
        }
}

and i get two errors:

Error    3    error LNK2001: unresolved external symbol "protected: virtual class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __thiscall nana::widget::_m_caption(void)const " (?_m_caption@widget@nana@@MBE?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@XZ)    C:\Users\*****\main.obj    project
Error    4    error LNK2001: unresolved external symbol "protected: virtual void __thiscall nana::widget::_m_caption(class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > &&)" (?_m_caption@widget@nana@@MAEX$$QAV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@@Z)    C:\Users\******\main.obj    project

What can be missing?

I cant find what is wrong. Im using latest nana version, IDE VS2013 Project using v120 toolset. nana builded with v120 toolset. (compiled successfully, without any errors). me code: ```` #include <nana/gui.hpp> #pragma comment( lib, "nana_v120_Release_x86.lib" ) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { if (fdwReason == DLL_PROCESS_ATTACH) { nana::form fm; } } ```` and i get two errors: ```` Error 3 error LNK2001: unresolved external symbol "protected: virtual class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __thiscall nana::widget::_m_caption(void)const " (?_m_caption@widget@nana@@MBE?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@XZ) C:\Users\*****\main.obj project ```` ```` Error 4 error LNK2001: unresolved external symbol "protected: virtual void __thiscall nana::widget::_m_caption(class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > &&)" (?_m_caption@widget@nana@@MAEX$$QAV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@@Z) C:\Users\******\main.obj project ```` What can be missing?
14
views
1
replies
1
followers
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft