-
Notifications
You must be signed in to change notification settings - Fork 22
Instructions for building a debug configuration #108
Comments
@DiabloRusso I merged your PRs (#107 and mapnik/mapnik-gyp#30) into I also added patches for the boost Trying to replicate:
Unfortunately I still get this error ( Any ideas what I may have missed? Full error: Debug\obj\mapnik\..\..\src\/unicode.obj Debug\obj\mapnik\..\..\src\/value.obj Debug\obj\mapnik\..\..\src\/vertex_adapters.obj Debug\obj\mapnik\..\..\src\/vertex_cache.obj Debug\obj\mapnik\..\..\src\/warp.obj Debug\obj\mapnik\..\..\src\/webp_reader.obj Debug\obj\mapnik\..\..\src\/well_known_srs.obj Debug\obj\mapnik\..\..\src\/wkb.obj Debug\obj\mapnik\..\..\src\/xml_tree.obj Creating library c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\Debug\mapnik.lib and object c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\Debug\mapnik.exp Linker: LibDef Total time = 0.14959s PB: 1578319872 [c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\lib\mapnik.dll] 2>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\mapnik.vcxproj] 2>expression_node.obj : error LNK2019: unresolved external symbol "public: class std::vector > __cdecl boost::re_detail_106200::icu_regex_traits_implementation::do_transform(int const *,int const *,class icu_56::Collator const *)const " (?do_transform@icu_regex_traits_implementation@re_detail_106200@boost@@QEBA?AV?$vector@HV?$allocator@H@std@@@std@@PEBH0PEBVCollator@icu_56@@@Z) referenced in function "public: class std::vector > __cdecl boost::re_detail_106200::icu_regex_traits_implementation::transform(int const *,int const *)const " (?transform@icu_regex_traits_implementation@re_detail_106200@boost@@QEBA?AV?$vector@HV?$allocator@H@std@@@std@@PEBH0@Z) [c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\mapnik.vcxproj] 2>expression_node.obj : error LNK2019: unresolved external symbol "public: bool __cdecl boost::icu_regex_traits::isctype(int,unsigned __int64)const " (?isctype@icu_regex_traits@boost@@QEBA_NH_K@Z) referenced in function "class boost::u16_to_u32_iterator __cdecl boost::re_detail_106200::re_is_set_member,int,class boost::icu_regex_traits,unsigned __int64>(class boost::u16_to_u32_iterator,class boost::u16_to_u32_iterator,struct boost::re_detail_106200::re_set_long const *,struct boost::re_detail_106200::regex_data const &,bool)" (??$re_is_set_member@V?$u16_to_u32_iterator@PEB_WH@boost@@HVicu_regex_traits@2@_K@re_detail_106200@boost@@YA?AV?$u16_to_u32_iterator@PEB_WH@1@V21@0PEBU?$re_set_long@_K@01@AEBU?$regex_data@HVicu_regex_traits@boost@@@01@_N@Z) [c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\mapnik.vcxproj] 2>expression_node.obj : error LNK2019: unresolved external symbol "private: class boost::basic_regex & __cdecl boost::basic_regex::do_assign(int const *,int const *,unsigned int)" (?do_assign@?$basic_regex@HVicu_regex_traits@boost@@@boost@@AEAAAEAV12@PEBH0I@Z) referenced in function "public: class boost::basic_regex & __cdecl boost::basic_regex::assign(int const *,int const *,unsigned int)" (?assign@?$basic_regex@HVicu_regex_traits@boost@@@boost@@QEAAAEAV12@PEBH0I@Z) [c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\mapnik.vcxproj] 2>lib\mapnik.dll : fatal error LNK1120: 3 unresolved externals [c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\mapnik.vcxproj] Linker: Wait PDB close Total time = 0.00486s PB: 1585659904 [c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\lib\mapnik.dll] Linker: Wait type merge Total time = 0.17471s PB: 1584013312 [c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\lib\mapnik.dll] Linker: Final Total time = 14.40621s < 65469356643 - 65613418791 > PB: 214474752 [c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\lib\mapnik.dll] 2>Done Building Project "c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\mapnik.vcxproj" (default targets) -- FAILED. 1>Done Building Project "c:\mb\windows-builds-DEBUG\packages\mapnik-v3.0.x\mapnik-gyp\build\mapnik.sln" (mapnik;mapnik-json;mapnik-wkt;mapnik-render;shapeindex;mapnik-index;csv;gdal;geojson;ogr;pgraster;postgis;raster;shape;sqlite;topojson;test;test_visual_run;test_rendering;test_expression_parse;test_face_ptr_creation;test_font_registration;test_offset_converter;test_proj_transform1;test_quad_tree target(s)) -- FAILED. Build FAILED. |
@BergWerkGIS I also get this warning, but still I did not attach importance to it. |
@DiabloRusso |
@BergWerkGIS To build debug libtiff manually changed \packages\libtiff\nmake.opt and replace line 117 /MD to /MDd |
@DiabloRusso that's great. Would you be open to contribute those fixes to the Thinking about
Like the other patches that live here: https://github.com/mapbox/windows-builds/tree/Debug/patches |
@BergWerkGIS Ok, I'll try to do it! It will take some time... I am newbie in github)))) |
@BergWerkGIS I create PR |
Thanks @DiabloRusso - we'll find a way to make 5. (icu) work. I've done several full clean builds now, but I'm still getting the errors posted above when running tests. |
@BergWerkGIS These errors are I've seen, I had not set the goal to correct the tests, but I'll see))) |
Hi!
At the request of Wilhelm Berg in this issue I share my results on the build of mapnik debug configuration.
I create 2 Pull Requests: windows-builds and mapnik-gyp
Build v3.0.x(not master) Mapnik branch.
Instructions
Error:
LINK : fatal error LNK1104: cannot open file '..\..\masmx64\gvmat64.obj'
Replace packages\zlib\contrib\vstudio\vc11\zlibvc.vcxproj by this file.
Repeat start scripts\build.bat. Again the same error(((
Repeat start scripts\build.bat again! Build is going on!!!
Build Mapnik fails.
using std::swap;
(see here).true
(see here).---------- DONE windows-builds MAPNIK --------------
Build complete!
My configuration: Notebook i3, 4GB RAM, ~16GB free space, Win7, VS2015.3
Thanx!
The text was updated successfully, but these errors were encountered: