DrFrankencopter Posted November 24, 2004 Report Posted November 24, 2004 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
Pete Dowson Posted November 24, 2004 Report Posted November 24, 2004 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
DrFrankencopter Posted November 24, 2004 Author Report Posted November 24, 2004 I hope so too...I usually program in C as well, but in Linux, QNX, and OS-9 (real time systems), but on my windows machine Visual C++ is all I have access to, and like you say the compiler settings do seem like black magic. I'll give it another try tomorrow morning... Cheers, Kris
Pete Dowson Posted November 24, 2004 Report Posted November 24, 2004 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
DrFrankencopter Posted November 24, 2004 Author Report Posted November 24, 2004 No problem....it's all resolved now. For some reason the compiler was set to look for pre-compiled headers. I dug through a bunch of windows and managed to turn that off, and it compiles and executes just fine. Cheers, kris
Pete Dowson Posted November 24, 2004 Report Posted November 24, 2004 No problem....it's all resolved now. For some reason the compiler was set to look for pre-compiled headers. I dug through a bunch of windows and managed to turn that off, and it compiles and executes just fine. Good, glad you resolved it. Regards, Pete
Jamie Fox Posted November 24, 2004 Report Posted November 24, 2004 I usually program in C as well, but in Linux, QNX, and OS-9 If you're familiar with GCC you might be happier using the MinGW or Cygwin ports of GCC for Windows, instead of the MS compiler.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now