Comments (3)
Just to write it down what I got this far:
- Clone the love-nuklear repo
- Install TDM-GCC-64 (used in this guide) or MinGW
- Download and Install the Visual Studio C++ Build Tools
- Download LuaJit 2.0.4 as well
- Open the "Visual C++ 2015 x64 Native Build Tools Command Prompt" (may vary) and cd into your LuaJIT folder
- Run the msvcbuild.bat, which should build LuaJIT
- Modify the CMakeLists.txt (should be doabl with env vars as well, but didn't work in my case). Add the following lines at the top:
SET(CMAKE_C_COMPILER "C:/TDM-GCC-64/bin/gcc.exe")
SET(LUA_LIBRARIES "C:/Users/janwe/dev/luajit-2.0/src/lua51.dll")
SET(LUA_INCLUDE_DIR "C:/Users/janwe/dev/luajit-2.0/src")
This may vary depending on your paths.
After that open the cmd.exe
- Run
cmake .
when you are in the path
Expected result:
-- Building for: NMake Makefiles
-- The C compiler identification is GNU 5.1.0
-- Check for working C compiler: C:/TDM-GCC-64/bin/gcc.exe
-- Check for working C compiler: C:/TDM-GCC-64/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found LuaJIT: C:/Users/janwe/dev/luajit-2.0/src/lua51.lib (found version "2.0.4")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/janwe/dev/love-nuklear
- Run
cmake --build . --config Release
while still being in the same path
Expected result:
[ 50%] Linking C shared module nuklear.dll
[100%] Built target nuklear
This spits out a nuklear.dll in the nuklear folder, which you can copy into your path or your Lรถve folder, which works on your Windows Platform.
from love-nuklear.
So I got this to work and I would like to leave it here for the future. I updated my original comment
from love-nuklear.
I hope the current build instructions are to your satisfaction.
from love-nuklear.
Related Issues (20)
- Updated binaries? HOT 3
- What is the correct way to create a closable window? HOT 4
- tooltip controls HOT 2
- Segfault when calling layoutTemplatePush twice in a row HOT 3
- Error when pushing style: 'attempt to index a nil value' HOT 3
- iOS build instructions HOT 1
- Text Input on Android and iOS
- Specified procedure could not be found. HOT 2
- Clipboard HOT 1
- Direct number passed to property doesn't update HOT 3
- nuklear.h CMake Build Error HOT 2
- Should export then nk_clear HOT 1
- Lost click events at low frame rates HOT 2
- MSVC Support HOT 2
- Error: error loading module 'nuklear-32' from file '.\nuklear-32.dll': %1 is not a valid Win32 application. HOT 2
- Cannot set button text background. HOT 5
- nk_love_draw is quite slow
- Question : install in windows10 mingw64 HOT 1
- Help : draw text HOT 1
- UI functions don't seem to work from a coroutine HOT 3
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 love-nuklear.