Opened 3 years ago

Closed 3 years ago

Last modified 11 months ago

#7173 closed defect (fixed)

DEVTOOLS - Cannot build create_project with MSVC

Reported by: SF/quietust Owned by: sev-
Priority: normal Component: Tools
Keywords: Cc:


All attempts to build devtools/create_project with MSVC (tried both 2010 Express and 2015 Community) are failing due to an inresolved external "public: __thiscall CreateProjectTool::CMakeProvider::CMakeProvider(class std::list,class std::allocator >,class std::allocator,class std::allocator > > > &,class std::map,class std::allocator >,class std::list,class std::allocator >,class std::allocator,class std::allocator > > >,struct std::less,class std::allocator > >,class std::allocator,class std::allocator > const ,class std::list,class std::allocator >,class std::allocator,class std::allocator > > > > > > &,int)".

This problem was introduced with commit 6a3e07dca5de100afbb81c6b375b10dfd1865c69 ("DEVTOOLS: Add a CMake project generator to create_project") and is still present as of 2e4dd165e936dd0cce01df505993cbe49bb335d4.

Ticket imported from: bugs/7173.

Change History (7)

comment:1 by SF/quietust, 3 years ago

At first glance, create_project.vcxproj was missing the newly added "cmake.cpp", but upon adding that, I instead get 4 instances of "C3861: 'back_inserter': identifier not found" in cmake.cpp (lines 123, 138, 146, 168).

comment:2 by sev-, 3 years ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

comment:3 by sev-, 3 years ago

Thanks for looking into this. I just committed the fix. Could you please test it? I both fixed the project files and cmake.cpp

comment:4 by SF/quietust, 3 years ago

The committed fix was not sufficient - I got a chance to do some research, and it looks like the required fix is to add "#include " to cmake.cpp (and explicitly specifying "std::" on back_iterator wasn't actually necessary).

comment:5 by bgK, 3 years ago

I added the missing include in 15cc188

comment:6 by SF/quietust, 3 years ago

All builds successfully now.

comment:7 by digitall, 11 months ago

Component: Tools
Note: See TracTickets for help on using tickets.