Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. compile error?????helpppp meeee

compile error?????helpppp meeee

Scheduled Pinned Locked Moved Managed C++/CLI
helpcsharpc++visual-studiodebugging
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nthevu
    wrote on last edited by
    #1

    Hello, I'm have problem when i compile my thesis. When I try to build the debug version of the my program in VS.NET2003 (manage C++ project) (on windows XP,vc 7) I get: C2906: 'PClassObject' : explicit specialization requires 'template <>' //C:\Versant\vds605\h\cxxcls\template\pclass.h(87): error C2906: 'PClassObject' : explicit specialization requires 'template <>' but when i compile in VS.NET2002 the error is : TestDLL error LNK2001: unresolved external symbol "public: static struct PClass * __cdecl PClassObject::get_Pointer(void)" (?get_Pointer@?$PClassObject@VHello@@@@$$FSAPAUPClass@@XZ) ?????i don't know how it is???and i really don't know how to solve it?Please help me. Thanks so much, nthevu

    N 1 Reply Last reply
    0
    • N nthevu

      Hello, I'm have problem when i compile my thesis. When I try to build the debug version of the my program in VS.NET2003 (manage C++ project) (on windows XP,vc 7) I get: C2906: 'PClassObject' : explicit specialization requires 'template <>' //C:\Versant\vds605\h\cxxcls\template\pclass.h(87): error C2906: 'PClassObject' : explicit specialization requires 'template <>' but when i compile in VS.NET2002 the error is : TestDLL error LNK2001: unresolved external symbol "public: static struct PClass * __cdecl PClassObject::get_Pointer(void)" (?get_Pointer@?$PClassObject@VHello@@@@$$FSAPAUPClass@@XZ) ?????i don't know how it is???and i really don't know how to solve it?Please help me. Thanks so much, nthevu

      N Offline
      N Offline
      Ni m
      wrote on last edited by
      #2

      try to remove static before get_Pointer(void) or to use extern(but not static).

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups