Comments (9)
I'm also getting this error. Auburn doesn't explicitly say how to link the library using visual studio.
from fastnoise2.
Are you compiling the FastNoise 2 source your self or using the pre compiled binaries from one of the releases?
from fastnoise2.
Are you compiling the FastNoise 2 source your self or using the pre compiled binaries from one of the releases?
I've tried both and still get linker errors. If you want I can go into further detail on how I compiled FastNoise 2 and/or used the pre compiled binaries.
from fastnoise2.
You should be linking to FastNoise.lib in your visual studio project. Also make sure you are using the headers from the same FastNoise 2 version as the lib file was built using
from fastnoise2.
You should be linking to FastNoise.lib in your visual studio project. Also make sure you are using the headers from the same FastNoise 2 version as the lib file was built using
I'm using Unreal Engine 4 and following their examples on how to link third party libraries. After I have compiled FastNoise2 I linked FastNoise.lib to my project and have added include paths for the headers - the same version as the library. There must be something else?
from fastnoise2.
Added info on including the lib, https://github.com/Auburn/FastNoise2/wiki/Including-the-library-in-your-project.
from fastnoise2.
I was able to resolve this myself in this way:
// FastNoise_Config.h
-#define FASTNOISE_USE_SHARED_PTR false
+#define FASTNOISE_USE_SHARED_PTR true
// The only place I #include FastNoise
#define FASTNOISE_STATIC_LIB
#include <FastNoise/FastNoise.h>
I was using UnrealCMake to compile FastNoise from source.
from fastnoise2.
@connorjak was your link errors the same as above?
Its likely better to link as a static lib since the plugin for UE4 will already be a dll.
from fastnoise2.
Yes exactly the same errors
from fastnoise2.
Related Issues (20)
- GenUniformGrid2D only returning 0. HOT 3
- PositionOutput repeating on GenUniformGrid2D HOT 3
- OpenSimplex2 4th Dimension HOT 3
- View zoom in Node Editor HOT 3
- Where to put ImGui when building noisetool HOT 2
- CMake with MSVC setup for debug mode HOT 2
- Compile on macOS ARM doesn't produce binary HOT 2
- GenUniformGrid2D scaled xstart and ystart
- Issues Using on Windows HOT 10
- Is there C bindings? HOT 4
- Could there be a way to get both the value and the gradient? HOT 2
- What do I use the voxel tool for? HOT 1
- Could there or is there a way to get the maximum and minimum possible returned value for a node tree HOT 1
- Does library has 1D noise? HOT 1
- DistanceToPoint NaN at (0,0) HOT 2
- API Documentation / best place to search for in source code HOT 1
- [Question] What's the range of the example cave generation nodes tree? HOT 6
- FastNoise2 asserts without RTTI HOT 19
- FastNoise2 is taking more time to generate a 2D grid than FastNoiseLite HOT 2
- Crash when using c# bindings 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 fastnoise2.