Click here to Skip to main content
11,494,174 members (61,347 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++/CLI
i was trying to wrap cimg header file in .net with c++/clr but hen i include cimg.h header and try to build it i get this link errors
 Error  20  error LNK2028: unresolved token (0A0002AC) "extern "C" int __stdcall DestroyWindow(struct HWND__ *)" (?DestroyWindow@@$$J14YGHPAUHWND__@@@Z) referenced in function "public: void __thiscall cimg_library::CImgDisplay::_desinit_fullscreen(void)" (?_desinit_fullscreen@CImgDisplay@cimg_library@@$$FQAEXXZ)   c:\Users\serakpc\documents\visual studio 2012\Projects\CimgWrapper\CimgWrapperCLI\Stdafx.obj    CimgWrapperCLI<pre lang="c++">
Posted 20-Dec-12 23:37pm
sir_shi309
Comments
Richard MacCutchan at 21-Dec-12 5:29am
   
You are missing a library in your linker properties. This is a linker error nothing to do with header files.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 448
1 OriginalGriff 275
2 Nakul Chaudhari 240
3 CHill60 185
4 CPallini 175
0 Sergey Alexandrovich Kryukov 10,277
1 OriginalGriff 8,805
2 Sascha Lefèvre 3,704
3 Maciej Los 3,392
4 Richard Deeming 2,500


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 21 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100