RE: [Ffts-develop] installation problems
Status: Planning
Brought to you by:
mghiggins
|
From: Haifa T. <Ha...@he...> - 2001-09-18 17:37:35
|
Thanks a lot for your reply, Exactly, your hypothesis is correct, When I've compiled the test code I received: "Error string not found" and after adding "using namespaces std;" the error goes away. So I will install gcc. Hoping this will solve the problem. Thanks. Haifa. -----Message d'origine----- De : Anis Benbrahim=20 Envoy=E9 : Tuesday, September 18, 2001 5:07 PM =C0 : Haifa Touati Objet : TR: [Ffts-develop] installation problems -----Message d'origine----- De : Mark Higgins [mailto:mgh...@ya...] Envoye : mardi, 18. septembre 2001 16:20 A : Haifa Touati Objet : Re: [Ffts-develop] installation problems Thanks for the note! I haven't heard of anyone trying to install it on a sun box yet, so this is new territory. :) To start with, I'd grab the most recent version from the CVS repository... follow the instructions at http://sourceforge.net/cvs/?group_id=3D9699 to pull it all down. The advantage here is that I've generalised MakeVars a bit, and that might help us out in resolving this. My first guess is that the problem arises because of namespaces... versions of gcc before 3.0 don't require you to explicitly state the namespaces you're using, like std:: which contains string. Try compiling this bit of code and let me know if it gives you the same error: #include <iostream> #include <string> int main( void ) { string s( "hello" ); cout << s << "\n"; return 0; } If my hypothesis is correct, this code will give you the same error message, but adding the line using namespace std; before int main( void ) will make the error go away. If that's the case, it'll require a fair bit of work to solve your problem, since a tonne of source code files will need to be edited. Your best bet for getting the FFTS to work, then, would be to download gcc and install it on your sun box - I'm pretty sure it's available and know it's free. The best version of gcc to get is probably 2.96. --- Haifa Touati <Ha...@he...> wrote: > Hi, > I'm installing FFTS v 0.5 on a Sun 2.8 station. > I have installed Qt, PostgreSQL and LibCurl as mentionned in > the > installation guide. > I have changed the Makefile to use CC sparc compiler instead > of the g++ one > (because this latter isn't very well installed on my station). > when I lunch the MakeAll, I receive errors like : > type name expected instead of string. > So I added in the MakeVars file the stl lib "string.h" > but errors persist. > How can I resolve this? > Does FFTS installation requires g++? > Thanks in advance. > Haifa.=20 >=20 >=20 > _______________________________________________ > ffts-develop mailing list > fft...@li... > https://lists.sourceforge.net/lists/listinfo/ffts-develop =3D=3D=3D=3D=3D ------------------------------------------------------- Mark Higgins, mgh...@ya... http://www.molala.net Opinions expressed herein do not reflect my own views; I haven't had free will since last year when aliens ate my brain. __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ |