954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need Help Compiling A VC++ 6 Project In Dev C++ 4.9.9.2

Hi all,

I'm having trouble compiling a C++ project,which was originally written using the VC++, in Dev-C++. The problem is identifying the compiler errors that are incurred by the Min-Gw compiler(the default compiler that is shipped with Dev-C++)
I've currently have converted the project(which is an opensource example of JNI) to the Dev-C++ project standard using the Dev-C++ IDE. But now when I try to compile it gives me 11 compiler errors. The 1st of of them is :

C\...\jni_resource.h `_resource' undeclared (first use this function)

But the above variable '_resource' has already been declared in the header file : "jni_resource_base.h" and that file has been included in the file : "jni_resource.h".
I guess this will be clear if you could open the project I've attached here as a zip file(as a Dev-C++ 4.9.9.2 project) and try compiling. I've been trying for weeks but still couldn't get anywhere to solving this issue. Therefore It would be great if anyone of you could help me in this.

Thanks & Regards,
Shehan.

Attachments cuj_jni_code(dev-cpp).zip (27.58KB)
shen747
Newbie Poster
1 post since Sep 2009
Reputation Points: 10
Solved Threads: 0
 
Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: