UBBFriend: Email This Page to Someone! |
uCalc Message Forums
uCalc Fast Math Parser running on visual studio 2005 c++ compiler
|
next newest topic | next oldest topic |
Author | Topic: running on visual studio 2005 c++ compiler |
jet Member |
posted 06-11-2007 05:35 PM
I will admit I am new to programming so I may have missed something obvious. I am trying to use uCalc with Visual Studio 2005 in C++. When I get the free download, I do not see a uCalcFMP.dll file to put in my application directory. I do have uCalcE29.dll and uCalcF29.dll files but I those don't seem to work when I put them in my application directory. I tried to build a .dll file with the uCalcCPP.cpp and uCalcCPP.h files but that didn't work either. What do I need to do to get the uCalcFMP.dll file? Thanks IP: Logged |
Daniel Corbier Administrator |
posted 06-12-2007 04:24 PM
You’re right, there is no file called uCalcFMP.dll. That’s a mistake in the help file. As you noticed, the files you need to copy over are uCalcE29.DLL and uCalcF29.DLL. Let me unzip the download and run over the steps you’d need to take in order to run the Visual C++ demo. 1. Copy all DLL files (that’s uCalcE29.DLL and uCalcF29.DLL) from the ucFMP29 directory to the DemoVC subdirectory. At this point you can open the DemoVC Workspace, and simply execute it. If you were starting your own new Workspace project from scratch, at this point, you’d first need to add the following line: #include "uCalcCPP.cpp" Then you’d be ready to go. Let me know if you get it to work.
[This message has been edited by Daniel Corbier (edited 06-12-2007).] IP: Logged |
jet Member |
posted 06-13-2007 08:15 AM
I still cannot get it to build with my own project. I have the uCalcE29.dll and uCalcF29.dll files in my application directory along with the DemoDefs and DemoExpr txt files. I inlucde the "#include uCalcCPP.cpp" line at the top of my code. I still get a bunch of errors (over 100) related to uCalc.cpp file. Here are the first few erros I get. Error 1 error C2146: syntax error : missing ';' before identifier 'ucSTRING' Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int IP: Logged |
Rene1983 Member |
posted 06-13-2007 02:27 PM
Jet, If you could either post or email me a snippet of the code giving you a problem, I'd be happy to take a look at it. My email is rlaviolette@gmail.com IP: Logged |
All times are Eastern Time (US) | next newest topic | next oldest topic |
Copyright © 2000-2007 by Daniel Corbier
Powered by: Ultimate Bulletin Board, Version 5.42a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.