Comments (7)
Hi,
I decided to make a different set of changes. Can you check if you can compile the latest version out of the box?
Thanks,
Wenzel
from nanogui.
Hi,
Your last changes have the benefit of creating the library and the both examples out of the box without tweaking the CMakelists.txt.
But unfortunately the executables are not working anymore:
During the link phase i saw something new about LTO items
Indeed if I comment out the line
set_property(TARGET nanogui APPEND_STRING PROPERTY COMPILE_FLAGS "-flto ")
Everything is fine again. So the message is clear TDM-GCC unlike standard GCC doesn't like LTO.
Best regards
from nanogui.
I was able to suppress the linker warnings by applying what is included here :
http://stackoverflow.com/questions/32221221/mingw-x64-windows-plugin-needed-to-handle-lto-object
But the executables are still not working
So the only thing working for me currently is removing the -flto option altogether.
from nanogui.
ok, another attempt. I tried to add some code that tries to autodetect if -flto is supported in the first place.
Can you check if you're able to compile the latest nanogui out of the box?
from nanogui.
I committed this in cee7e03 -- please check that version.
from nanogui.
It works perfectly now out of the box.
Thanks for supporting a now even larger set of the platforms out there.
from nanogui.
Great, thanks. I am closing this ticket then.
from nanogui.
Related Issues (20)
- about the relationship between objects HOT 1
- std::cerr confusion
- Custom Font Problem (and possibly outdated documentation)
- Can't find nanogui_resources.h HOT 1
- msvc and vcpkg static build compiles, but runtime fails without nanogui.dll
- I want to draw some points in GLCanvas
- Identifier 'gluniform1i' is not defined HOT 2
- cmake error in clion HOT 1
- colorwheel.cpp.obj: too many sections (32966) or colorwheel.cpp.obj: File too big
- Hi! I'm looking for examples of 'stretchy' gui design!?
- How to avoid using 3rdparty libraries under ext, but using system installed libraries?
- TextBox - box is not wide enough for the string value argument HOT 1
- How to include Custom Fonts? HOT 2
- Multiple nanogui::screen HOT 2
- On the issue of window size. HOT 1
- Failed to build on MSYS2 MINGW64 HOT 1
- Preventing blocking during shell interactions
- May I know how to make the textbox support Chinese input? HOT 1
- How to complie with emscripten
- Input in multiple screens
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 nanogui.