Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: gh_origin on December 04, 2020, 08:44:51 am

Title: CodeBlocks crashed when importing zlib's msvc solution
Post by: gh_origin on December 04, 2020, 08:44:51 am
The latest zlib source here: https://www.zlib.net/

On zlib-1.2.11\contrib\vstudio\vc10, importing of zlibvc.sln crashed the IDE.

Screenshot attached.
Title: Re: CodeBlocks crashed when importing zlib's msvc solution
Post by: gh_origin on December 04, 2020, 08:55:56 am
It seemed CodeBlocks can't import .vcxproj as it only saw .vcproj. So I tried to import the vc9 .sln solution. Still failed with the same problem. I tried to import the .vcproj and it successfully imported the project but failed to build, due to some missing files or directories. The final conclusion of me is I would rather import the msvc project by hand: creating a CodeBlocks project from scratch. It's the safest anyway.
Title: Re: CodeBlocks crashed when importing zlib's msvc solution
Post by: gh_origin on December 04, 2020, 09:26:27 am
Importing by hand is indeed the fastest. I already have a DLL now.

BTW, the contrib msvc projects themselves have problems. They included non-existent source files and included wrong version of resource files, too. I have an impression that they are unmaintained. So I can't know for sure that it's CodeBlocks project importer or the msvc projects that is really problematic.