Opened 12 years ago
Closed 12 years ago
#550 closed defect (fixed)
cmake build under Windows VS2010 x86 does not compile
Reported by: | dch | Owned by: | mloskot |
---|---|---|---|
Priority: | major | Milestone: | 3.3.4 |
Component: | Build/Install (cmake) | Version: | main |
Severity: | Critical | Keywords: | cmake, windows |
Cc: |
Description
CMake generation runs very well - nice work! Full compiler output is attached to ticket for reference.
Build FAILED. "z:\source\geos\cmake\build\geos.sln" (default target) (1) -> "z:\source\geos\cmake\build\ALL_BUILD.vcxproj.metaproj" (default target) (2) -> "z:\source\geos\cmake\build\capi\geos_c.vcxproj.metaproj" (default target) (7) -> "z:\source\geos\cmake\build\capi\geos_c.vcxproj" (default target) (14) -> (Link target) -> libgeos.lib(CustomAllocators.obj) : error LNK2005: "void * __cdecl operator new(unsigned int,struct std::nothrow_t const &)" (??2@YAPAXIABUnothrow_t@std@@@Z) already defined in geos_ts_c.obj [z:\source\geos\cmake\build\capi\geos_c.vcxproj] libgeos.lib(CustomAllocators.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in geos_ts_c.obj [z:\source\geos\cmake\build\capi\geos_c.vcxproj] Z:\source\geos\cmake\build\bin\Release\geos_c.dll : fatal error LNK1169: one or more multiply defined symbols found [z:\source\geos\cmake\build\capi\geos_c.vcxproj] 0 Warning(s) 3 Error(s)
I have successfully built 3.3.3 from release bundle using nmake and copying additional headers from http://code.google.com/p/msinttypes/.
I'm happy to assist further but am not subscribed to the list.
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | windows_vs2010_x86_build_fail.log added |
---|
comment:1 by , 12 years ago
Built against svn 3632 from git mirror at https://github.com/strk/geos
http://svn.osgeo.org/geos/trunk@3632 sha: 5242fede-7e19-0410-aef8-94bd7d2200fb
comment:2 by , 12 years ago
Status: | new → assigned |
---|
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Version: | 3.3.3 → svn-trunk |
Fixed since r3640
Note:
See TracTickets
for help on using tickets.
full MSBuild log + failure