# C++: Unresolved external symbol

**URL:** <https://forum.kirupa.com/t/c-unresolved-external-symbol/280048>\
**Category:** programming\
**Created:** [January 22, 2009, 3:15am UTC](https://forum.kirupa.com/t/c-unresolved-external-symbol/280048 "2009-01-22T03:15:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wo1olf](https://avatars.discourse-cdn.com/v4/letter/w/278dde/32.png) [@wo1olf](https://forum.kirupa.com/u/wo1olf)\
**Post date:** [January 22, 2009, 3:15am UTC](https://forum.kirupa.com/t/c-unresolved-external-symbol/280048/1 "2009-01-22T03:15:47Z")

</div>

I got this error in visual studio when i try to compile my project

```auto
>main.obj : error LNK2019: unresolved external symbol "public: class std::vector<class enveloppexml::Element const ,class std::allocator<class enveloppexml::Element const > > __thiscall enveloppexml::Element::obtenirEnfants(void)const " (?obtenirEnfants@Element@enveloppexml@@QBE?AV?$vector *****CBVElement@enveloppexml@@V?$allocator***** CBVElement@enveloppexml@@@std@@@std@@XZ) referenced in function "void__cdecl traiteElement(class enveloppexml::Element const &,int)" (?traiteElement@@YAXABVElement@enveloppexml@@H@Z)

```

i have tried differents solutions i google but still not work. does any one know what it means.  
And i want to know, given a solution in visual studio is there a way to know if it is a win32 console app or just a win32 project?  
thnks
