Author Topic: CodeBlocks crashed when importing zlib's msvc solution  (Read 4394 times)

Offline gh_origin

  • Multiple posting newcomer
  • *
  • Posts: 48
CodeBlocks crashed when importing zlib's msvc solution
« 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.

Offline gh_origin

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: CodeBlocks crashed when importing zlib's msvc solution
« Reply #1 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.

Offline gh_origin

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: CodeBlocks crashed when importing zlib's msvc solution
« Reply #2 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.