Jump to content
The simFlight Network Forums

Help compiling UIPCHello.c...on Visual C++ 6.0?


Recommended Posts

Forgive me for asking such a ridiculously simple question, but I'm trying to get the UIPCHello program to build into an exe in MS Visual C++ (which is brand new to me). I've got the header files included in the project, but am having a hard time getting the compiler/liker to recognize the FSUIPC_User.lib library, and I get an error at compile time with it complaining about the precompiled library (I forget the error msg right now, but basically it's not finding the library).

Can anyone help me out on this...? Maybe send me a .dsw file, or tell me how to get the project to properly refer to the library.

Thanks,

kris

Link to comment
Share on other sites

Can anyone help me out on this...? Maybe send me a .dsw file, or tell me how to get the project to properly refer to the library.

I only use C. Possibly you need to put some sort of C wrapper around the declarations so that it doesn't mangle C names like I think it does with C++?

I'm afraid all those Microsoft C/C+ compiler settings are a rather an obscure black magic art to me. I just do the simplest things, like add the library to the list of libraries it says it wants, and to make sure the LIB file is in my project folder where it can find it.

Surprisingly, I've not had this sort of question in all 5 years since I supplied this stuff, so there must be a lot of folks who know what to do, precisely, for C++. I hope one of them can jump in and help.

Regards,

Pete

Link to comment
Share on other sites

my windows machine Visual C++ is all I have access to, and like you say the compiler settings do seem like black magic.

Sorry, you misunderstood me. I currently use is Visual Studio .NET 2003, but of all the stuff they forced me to pay for, all I use is C and the excellent debugger (the latter being the main reason I moved up from Version 6). The Visual C++ system handles C or C++. It's one of the arcane ritualistic properties, somewhere deep in the menus.

If you find your compiler and linker properties and show me them I'll compare them to mine and tell you what's different, if you like.

Regards,

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.