charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: 倪安宁 <nianning1981 AT 163.com>
- To: <gzheng AT illinois.edu>
- Cc: charm AT cs.uiuc.edu
- Subject: [charm] Can you help me with the link error with Charm++ in VS2005?
- Date: Wed, 24 Feb 2010 21:50:57 +0800
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
Hi : I have added the libraries (i.e. libldb-none.o libck.a libmemory-default.o libconv-cplus-y.a libconv-core.a libconv-util.a libthreads-default.o ws2_32.lib kernel32.lib user32.lib psapi.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib) to my charm++ project(called “mytest”) developed with VS2005. Then I builded the project, it can be compiled successfully, but when linking, the following errors occurred.
------ Build started: Project: mytest, Configuration: Debug Win32 ------ Linking... LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library libmemory-default.o : error LNK2019: unresolved external symbol _GetProcessMemoryInfo@12 referenced in function _MemusageWindows libck.a(trace-common.o) : error LNK2019: unresolved external symbol "void __cdecl _createTraces(char * *)" (?_createTraces@@YAXPAPAD@Z) referenced in function "void __cdecl _traceInit(char * *)" (?_traceInit@@YAXPAPAD@Z) libck.a(init.o) : error LNK2019: unresolved external symbol "void __cdecl _registerExternalModules(char * *)" (?_registerExternalModules@@YAXPAPAD@Z) referenced in function "void __cdecl _initCharm(int,char * *)" (?_initCharm@@YAXHPAPAD@Z) .\Debug/mytest.exe : fatal error LNK1120: 3 unresolved externals Project : warning PRJ0018 : The following environment variables were not found: $(INC) Build log was saved at "file://f:\charm++\mytest\Debug\BuildLog.htm" mytest - 4 error(s), 1 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Should I add any additional libraries to my project?
Thanks
Anning
|
- [charm] Can I compile and link charm++ program in VC++6.0 or VS2005?, 倪安宁, 02/21/2010
- <Possible follow-up(s)>
- [charm] Can I compile and link charm++ program in VC++6.0 or VS2005?, 倪安宁, 02/21/2010
- Re: [charm] Can I compile and link charm++ program in VC++6.0 or VS2005?, Gengbin Zheng, 02/22/2010
- Re: [charm] Can I compile and link charm++ program in VC++6.0 or VS2005?, 倪安宁, 02/22/2010
- [charm] Can you help me with the link error with Charm++ in VS2005?, 倪安宁, 02/24/2010
- Re: [charm] Can you help me with the link error with Charm++ in VS2005?, Gengbin Zheng, 02/24/2010
- Re: [charm] Can I compile and link charm++ program in VC++6.0 or VS2005?, Gengbin Zheng, 02/22/2010
Archive powered by MHonArc 2.6.16.