Comments (5)
I fixed everything on VS2019. I had to:
- Add the plugin project together with the skse solution.
- Right click the plugin on the solution explorer-> properties -> general->configuration type: dll
- Right click skse64 on the solution explorer -> properties -> general -> configuraton type: Static library.
- On everything, properties -> C/C++ -> Language: C++17
- On everything, properties -> Build Events -> Post-Build Event -> Use in Build: No
- Plugin->Properties->General->Additional Include Directories:
fullpath\skse64_2_00_19\src; fp\skse64_2_00_19\src\skse64;
#include <stdio.h>
tocommon\IDebugLog.h
;#include <windows.h>
toskse64\GameTypes.h
andskse64\GameForms.h
;
#include <string>
toskse64_common\Utilities.h
- On everything, go to Project Properties->Configuration Properties->C/C++->Code Generation->Runtime library->Multi-threaded DLL (/MD).
- Expand the plugin on the Solution Explorer, expand references and add
common_vc14
andskse64
- Add a definition file,
nameofproject.def
on the root of the plugin folder with the following code:
LIBRARY dllnameWithoutDllextension
EXPORTS
SKSEPlugin_Query
SKSEPlugin_Load
and also right click the plugin on the solution explorer-> properties-> linker->input->Module Definition File:nameofproject.def
from commonlibsse.
I am able to build the skse project without errors and generate the .lib. The problem is when I try to build my plugin project, then suddently all sorts of errors pop up on skse. Which is confusing because building skse alone doesn't cause any issues.
from commonlibsse.
@Ryan-rsm-McKenzie I also tried with visual studio 2015, same result. Please help man, it's probably something very stupid but I can't figure it out. It's like, yeah, I can build skse, generate the .lib. Then I make my plugin that import the skse headers, and all these errors pop up. Not on my .cpp file, mind you. They pop up on skse. How can I build skse just fine but when I try to use it by importing the headers it blows up?
from commonlibsse.
You basically did everything wrong and missed steps in the tutorial.
And, by the way, "crap load of errors" is not an appropriate issue title.
from commonlibsse.
Hmm...I see, it's because I don't use CommonLibSSE, but I was redirected to the Ryan's tutorial for the part of building a skse plugin. So I followed all until
and didn't follow the CommonLibSSE part because I thought it was specific to CommonLibSSE only, not general skse plugins.
That makes sense I guess, thanks. I got it working without CommonLibSSE anyways.
from commonlibsse.
Related Issues (20)
- Compiler errors while following the CommonLibSSE section of the Getting Start guide HOT 2
- RE::TESObjectCELL::ForEachReferenceInRange HOT 1
- Problems getting started HOT 1
- q re Skyrim AE support HOT 4
- linux guide HOT 7
- cmake support
- Building error with Logger (or maybe fmt) HOT 4
- Incorrect Type for Stagger
- Backwardscomparibility with Older SkyrimSE Versions HOT 1
- Unable to Compile Example Project HOT 1
- How to call papyrus methods/functions inside c++ plugin? HOT 3
- Binary-io HOT 1
- MapMarkerData(ExtraMapMarker.h) The "type" field is at incorrect offset.
- incompatible with 1.6.640 ?
- How to remove SetPosition fade effect? When you try move object, it gets a fading effect.
- How to Enable object? HOT 1
- "SprintStart" Event doesn't work on the spawned object
- Setup Problem HOT 2
- vcpkg port HOT 6
- Is there a way to mimic Game.IsObjectFavorited? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commonlibsse.