Hi. When i try to build mapnik2 I get error:

g++ -o src\color.o -c -DBOOST_PROPERTY_TREE_XML_PARSER_TINYXML -DTIXML_USE_STL -DHAVE_JPEG -ansi -Wall -pthread -ftemplate-depth-200 -DWINDOWS -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O3 -finline-functions -Wno-inline -DNDEBUG -Iagg\include -I. -Iinclude -Itinyxml "-IC:\Documents and Settings\IQ_baza\Pulpit\roel mapnik2\roel\thirdparty\lpng154" "-IC:\Documents and Settings\IQ_baza\Pulpit\jpeg\include" "-IC:\Documents and Settings\IQ_baza\Pulpit\roel mapnik2\roel\thirdparty\tiff-3.9.5\libtiff" "-IC:\Documents and Settings\IQ_baza\Pulpit\roel mapnik2\roel\thirdparty\proj-4.7.0\src" "-IC:\Documents and Settings\IQ_baza\Pulpit\MapnikDependencies\Script\thirdparty\icu\include" -IC:\usr\include -ID:\Mapnik_libraries\GnuWin32\psp\include\freetype2 src\color.cpp
g++: unrecognized option '-pthread'
scons: *** [src\color.o] Error 1
scons: building terminated because of errors.

As you can see there are no build error and there are no output file. But if i do this:

g++ src\color.cpp -Iinclude -Wall -c -o src\color.o

g++ create output file color.o. Any ideas?
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

In addition, if i change optimization flags to -O0:

g++ -o src\color.o -c -DBOOST_PROPERTY_TREE_XML_PARSER_TINYXML -DTIXML_USE_STL -DHAVE_JPEG -ansi -Wall -pthread -ftemplate-depth-200 -DWINDOWS -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O0 -finline-functions -Wno-inline -DNDEBUG -Iagg\include -I. -Iinclude -Itinyxml "-IC:\Documents and Settings\IQ_baza\Pulpit\roel mapnik2\roel\thirdparty\lpng154" "-IC:\Documents and Settings\IQ_baza\Pulpit\jpeg\include" "-IC:\Documents and Settings\IQ_baza\Pulpit\roel mapnik2\roel\thirdparty\tiff-3.9.5\libtiff" "-IC:\Documents and Settings\IQ_baza\Pulpit\roel mapnik2\roel\thirdparty\proj-4.7.0\src" "-IC:\Documents and Settings\IQ_baza\Pulpit\MapnikDependencies\Script\thirdparty\icu\include" -IC:\usr\include -ID:\Mapnik_libraries\GnuWin32\psp\include\freetype2 src\color.cpp

g++ also create output file. What's wrong?
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to