Linker problem in Visual C++ 2005 Express Edition
Hi all,
I've a problem with building my native code in the free VC++ Express Edition.
The build process ends up with the line:
win32dirwatcher.obj : error LNK2001: Nicht aufgel鰏tes externes Symbol ""extern "C" long __stdcall JNI_GetCreatedJavaVMs(struct JavaVM_ * *,long,long *)" (?JNI_GetCreatedJavaVMs@@$$J212YGJPAPAUJavaVM_@@JPAJ@Z)".
Obviously the jvm.lib seems to be not well linked. However, I tried to configure the project the best I could, using the line "C:\Programme\Java\jdk1.5.0_06\lib\jvm.lib" in project preferences->configuration->linker->additional dependencies (sorry for probably not fitting caption titles, I use the german language pack).
When setting the linking process to be verbose, the jvm.lib is shown in console besides other statically linked libs.
Does anyone has a suggestion what I am doing wrong?
Thanks in advance,
Henrik

