Comments (5)
@TommInfinite The release .lib file I got was actually over 50 MB before I added the /Zc:inline compiler flag for MSVC, which I just did with e55035b
I think the 18 MB size is normal for now, it won't be that large when linking it into your final executable or library because the unused parts of the lib will be removed. Still it's worth investigating, as 18 MB is still not on the smaller side.
from nifly.
So in the end I:
1)Used CMake to build "nifly.lib".
2)Added it to my Project folder and added the folder to "Additional Library Directories" in "Properties"
3) Added "nifly.lib" to "Additional dependencies" to "Input"
So when I try to write code, Visual Studio is behaving like library doesn't exists. (Identifier "NifFile" is undefined and etc.)
Have I missed a something?
from nifly.
So in the end I:
1)Used CMake to build "nifly.lib".
2)Added it to my Project folder and added the folder to "Additional Library Directories" in "Properties"
3) Added "nifly.lib" to "Additional dependencies" to "Input"
So when I try to write code, Visual Studio is behaving like library doesn't exists. (Identifier "NifFile" is undefined and etc.)
Have I missed a something?
You need to include the headers as well.
from nifly.
I tried to and failed as well.
Not #include "NifFile.hpp" nor "#include "include\NifFile.hpp"" work.
from nifly.
You might have to find a tutorial on how to link and include libraries with C++ online, nifly is nothing special here. Closing this as it has nothing directly to do with nifly any longer.
from nifly.
Related Issues (15)
- request for reuse HOT 2
- Copy particleNorms before resizing? HOT 1
- bulk convert nif static meshes to fbx? HOT 1
- Issue handling trailing empty segments HOT 7
- how to read other game's nif file? HOT 3
- NifFile::SetVertsForShape resets shape's flags under certain conditions HOT 1
- Minor inconsistency of parameters in "Get/Set...ForShape" methods of NifFile class HOT 4
- Auto-correct env map and external emittance flags in optimization HOT 3
- FO76 - NifFile::GetTextureSlot returning empty strings HOT 3
- Nifly doesn't read NIFs with skinned meshes without Vertex Weights in NiSkinData properly HOT 1
- NifFile::Save removing/reordering strings in the header HOT 6
- nifly handling of invalid targets in NIF files HOT 3
- FO4/76 official file problems HOT 5
- List of unsupported blocks
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 nifly.