Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling example plugin #33

Closed
thallada opened this issue Aug 22, 2020 · 2 comments
Closed

Error compiling example plugin #33

thallada opened this issue Aug 22, 2020 · 2 comments

Comments

@thallada
Copy link

I tried following the Getting Started instructions from scratch, but I'm getting this error when I try to compile the MyFirstPlugin example:

Error	C2398	Element '2': conversion from 'size_t' to 'nonstd::span_lite::span<REL::IDDatabase::mapping_t,-1>::index_type' requires a narrowing conversion	MyFirstPlugin	E:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\src3\CommonLibSSE\include\REL\Relocation.h	735	

I git cloned this repo the HEAD was at 66e1e3c

As far as I can tell, span-lite is up to date:

.\vcpkg upgrade span-lite:x64-windows-custom
The following packages are up-to-date:
    span-lite:x64-windows-custom

I was able to compile an older version of the example plugin and CommonLibSSE (around 6/28).

@Ryan-rsm-McKenzie
Copy link
Owner

update vcpkg

@thallada
Copy link
Author

That was it 🤦‍♂️ sorry for the noise. I didn't know about vcpkg update.

alandtse referenced this issue in alandtse/CommonLibVR Nov 7, 2022
RE CallType, StackType. Confirm missing VTABLEs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants