Member Site › Forums › Rosetta++ › Rosetta++ – Build/Install › installation using scons on cygwin
- This topic has 1 reply, 2 voices, and was last updated 13 years, 6 months ago by Anonymous.
-
AuthorPosts
-
-
May 31, 2011 at 6:50 pm #924Anonymous
Hi
I have been trying to install rosetta v2.3 on my laptop which has the windows xp operating system. I have installed cygwin as well as scons. When I type scons mode=release in the rosetta++ directory I get the following error:scons: Reading SConscript files …
scons: warning: The Options class is deprecated; use the Variables class instead.
File “/usr/local/rosetta/rosetta++/tools/build/setup.py”, line 32, in setup_build_optionsscons: warning: The EnumOption() function is deprecated; use the EnumVariable() function instead.
File “/usr/local/rosetta/rosetta++/tools/build/setup.py”, line 40, in setup_build_optionsscons: warning: The ListOption() function is deprecated; use the ListVariable() function instead.
File “/usr/local/rosetta/rosetta++/tools/build/setup.py”, line 48, in setup_build_optionsscons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File “/usr/local/rosetta/rosetta++/src/SConscript.src”, line 86, in
scons: done reading SConscript files.
scons: Building targets …
scons: `numeric’ is up to date.
g++ -o build/src/release/cygwin/1.7/32/x86/gcc/utility/file/FileName.o -c -std=c++98 -pipe -ffor-scope -W -Wall -pedantic -fno-exceptions -malign-double -march=pentium4 -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -std=c99 -pipe -ffor-scope -W -Wall -pedantic -fno-exceptions -malign-double -march=pentium4 -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/cygwin/1.7/32/x86/gcc -Isrc/platform/cygwin/1.7/32/x86 -Isrc/platform/cygwin/1.7/32 -Isrc/platform/cygwin/1.7 -Isrc/platform/cygwin -I/usr/local/include -I/usr/include src/utility/file/FileName.cc
cc1plus: warning: command line option “-std=c99” is valid for C/ObjC but not for C++
src/utility/file/FileName.cc:22:29: fatal error: platform/types.hh: No such file or directory
compilation terminated.
scons: *** [build/src/release/cygwin/1.7/32/x86/gcc/utility/file/FileName.o] Error 1
scons: building terminated because of errors.I need to use rosetta-nmr for some of my calculations. I know that the windows installation is not well documented, but any help will be appreciated.
Thanks in advance,
Ishita Sengupta -
May 31, 2011 at 8:46 pm #5674Anonymous
We’re way out into wild-guess territory here.
It’s complaining that platform/types.hh is missing. If you look in that folder, you’ll probably find it doesn’t exist. The folder will contain many OS-specific choices for the file platform/types.hh. I have a vague feeling that SCons is supposed to copy the right version for you, since it is supposed to identify the platform as part of its normal compiling job.
You may be able to manually copy the correct platform/??/???/??/types.hh to platform/types.hh and have it work. You may also, or instead, have an underlying problem with SCons misidentifying your computer and wandering off in the wrong direction.
-
-
AuthorPosts
- You must be logged in to reply to this topic.