njaldea / nil-vcpkg-ports

Collection of libraries
1 stars 0 forks source link

windows compilation support #3

Open njaldea opened 1 month ago

njaldea commented 1 month ago

Compiling in windows is broken. there are things needed to be considered.

  1. can i use clang compiler to have similar setup in linux?
  2. if i am using msvc, compiler options needs to be adjusted for everyting. 2.1 in clix, somehow it requires rtti to be on due to boost program options? 2.2 in service, it needs some flags like /MD /MT for runtime linkage? (works with /MT but there are some warnings) 2.3 only works by using x64-windows-static. the default one (dynamic) does not work due to dependency library installation errors (probably issue in vcpkg usage, portfile, or even in cmake usage)

current state:

Will be pushed back in a later date.

njaldea commented 1 month ago

another issue came up. clang compilation during reconfiguration fails even without changes in the configuration.