Compiling boost under gcc 2.95.3/solaris
Hi! I'm running into the brickwall now while trying to port "boost" containing codes from VC7 to gcc. Anyone has a pointer to a makefile for this combination. The codes works flawlessly inside Microsoft .NET IDE. I've tried ./configure script, manually edit the "user.hpp" and many fruitless hours to no aval. The "bjam" build of the library seems to be at least partially sucesful. Please help before I had to abandon the ship. Thanks! Wen
Hi! I'm running into the brickwall now while trying to port "boost" containing codes from VC7 to gcc. Anyone has a pointer to a makefile for this combination. The codes works flawlessly inside Microsoft .NET IDE.
I've tried ./configure script, manually edit the "user.hpp" and many fruitless hours to no aval. The "bjam" build of the library seems to be at least partially sucesful.
Please help before I had to abandon the ship.
Boost is regularly tested with various versions of gcc, you shouldn't actually need to reconfigure anything - and if you do it's a bug and should be reported. Can you please be more specific on the issues you have come up against (and the gcc version you are using). John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
make -f dexter.solaris gcc -ansi -Wall -O2 -g -ffor-scope -fhonor-std -frepo -w -ftemplate-depth-30 -I/home/wenyu/appls/sources/ -I/home/wenyu/appls/includes/ -I/home/wenyu/a
Here is the message I got:
ppls/boost_1_28_0/ -c /home/wenyu/appls/sources/dexter.cpp dexter.o
gcc: dexter.o: No such file or directory
In file included from
/home/wenyu/appls/boost_1_28_0/boost/iterator_adaptors.hpp:120,
from
/home/wenyu/appls/boost_1_28_0/boost/token_iterator.hpp:15,
from /home/wenyu/appls/boost_1_28_0/boost/tokenizer.hpp:21,
from /home/wenyu/appls/includes/utilities.h:5,
from /home/wenyu/appls/includes/tools.h:4,
from /home/wenyu/appls/includes/application.h:4,
from /home/wenyu/appls/includes/protein_identification.h:4,
from /home/wenyu/appls/sources/dexter.cpp:1:
/home/wenyu/appls/boost_1_28_0/boost/iterator.hpp:26: parse error before `,'
/home/wenyu/appls/boost_1_28_0/boost/iterator.hpp:31: syntax error before
`;'
/home/wenyu/appls/boost_1_28_0/boost/iterator.hpp:32: syntax error before
`;'
/home/wenyu/appls/boost_1_28_0/boost/iterator.hpp:33: syntax error before
`;'
/home/wenyu/appls/boost_1_28_0/boost/iterator.hpp:34: confused by earlier
errors, bailing out
make: *** [dexter.o] Error 1
I'm using gcc 2.95.3 and boost 1.28.0 on a Solaris 2.8 machine.
Thanks!
Wen
"John Maddock"
Hi! I'm running into the brickwall now while trying to port "boost" containing codes from VC7 to gcc. Anyone has a pointer to a makefile for this combination. The codes works flawlessly inside Microsoft .NET IDE.
I've tried ./configure script, manually edit the "user.hpp" and many fruitless hours to no aval. The "bjam" build of the library seems to be at least partially sucesful.
Please help before I had to abandon the ship.
Boost is regularly tested with various versions of gcc, you shouldn't actually need to reconfigure anything - and if you do it's a bug and should be reported. Can you please be more specific on the issues you have come up against (and the gcc version you are using).
John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
participants (2)
-
John Maddock
-
Wen Yu