visual studio 2010 - Unresolved external between several projects in VS2010 C++ -


i have 2 c++ projects each form library referenced third project part of visual studio solution.

the 2 libraries written else provided own vs solution included project acts demo of library functions. have gotten these compile , run. trying develop windows application using windows forms make use of libraries. upon including 2 necessary headers,

#include "corelib.h" #include "corbit.h" 

and trying build code, receive 2 link errors:

sattrack_v0.1.obj : error lnk2028: unresolved token (0a000010) "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __clrcall zeptomoby::orbittools::cgeo::tostring(void)const " (?tostring@cgeo@orbittools@zeptomoby@@$$fubm?av?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@xz) referenced in function "void __clrcall `dynamic initializer 'const zeptomoby::orbittools::cgeo::`vftable'''(void)" (???__e??_7cgeo@orbittools@zeptomoby@@6b@@@ymxxz@?a0xc222cabd@@$$fymxxz)  sattrack_v0.1.obj : error lnk2019: unresolved external symbol "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __clrcall zeptomoby::orbittools::cgeo::tostring(void)const " (?tostring@cgeo@orbittools@zeptomoby@@$$fubm?av?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@xz) referenced in function "void __clrcall `dynamic initializerfor 'const zeptomoby::orbittools::cgeo::`vftable'''(void)" (???__e??_7cgeo@orbittools@zeptomoby@@6b@@@ymxxz@?a0xc222cabd@@$$fymxxz)  c:\users\satellite tracking\software\sattrack_v0.1\win32\(configuration)\sattrack_v0.1.exe : fatal error lnk1120: 2 unresolved externals 

i've read through what undefined reference/unresolved external symbol error , how fix it? , thought linked necessary libraries. i've gone project properties | framework , references , added libraries. i've added additional include directories under properties | configuration properties | c/c++ | general. also, under linker | general i've included proper location in additional library directories , think have proper additional dependencies under linker | input. in general, i've gone through many of project properties , tried match them property settings of working demo project, linker problem remains.

am still missing link somewhere or problem more complicated that? because have the demo solution compiling, there better way take link settings manually going through of them , trying match appropriate? i've been stuck on problem couple days , can't figure out i'm missing. should go here?


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -