bchavez / bchavez/BugTrap

VS2008 building in IDE

Open
#23 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
187
Forks
87
PR merge metrics
No merged PRs in 30d

Description

When building the VS2008 solution (and possibly others) a minimum of Windows SDK v7 is required. This manifests itself as failure to find VER_SUITE_WH_SERVER when building. In my case changing the VS2008 from v6 to v7 solved the problem

WTL seems to be a pre-requisite for building. I couldn't find this mentioned in the documentation, but maybe I missed it.

The project and/or solution files mention the $platform and $configuration macros, these should be $platformname and $configurationname otherwise the various build overwrite each other

When building for, say, DEBUG, the client code links against zlibSD.lib but the zlib build only produces zlib.lib. Changing the output name approriately for a given build solved this.

It could be that I'm being naive about the above issues, but it seems as though building using CI scripting doesn't guarantee that the IDE builds will work without tweaking. :-(

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the VS2008 solution and project files, then check the documented build prerequisites and the zlib build configuration. Verify the Windows SDK and WTL requirements, configuration macro names, and debug zlib output naming; done means the IDE builds the configurations without manual fixes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.