Skip to content

How to migrate old project to VS 2022 #2

Description

@rtxa

How to migrate TPack to VS 2022

  • Add the GenesisSDK include files in the project folder which include common headers and .lib
    • Set .\GenesisSDK\include in C/C++ -> General -> Additional Include Directories
  • I mistakenly made the app as a Console application (That's what I want to migrate). It's a WinMain application.
    • To sort this out, set to /SUBSYSTEM:WINDOWS in Linker -> System.
  • Set Multi-Byte character set in Configuration properties -> Advanced -> Character set.
  • Set ComCtl32.lib in Linker -> Input -> Additional dependencies.
  • Added Genesis libraries easily with pragmas
#ifdef _DEBUG
#pragma comment (lib, "./GenesisSDK/lib/genesisd.lib")
#else
#pragma comment (lib, "./GenesisSDK/lib/genesis.lib")
#endif

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions