Comments (3)
I fixed it by adding a NOMINMAX definition to the compiler (-DNOMINMAX). Seems this happens a lot on windows?
from imgui-addons.
I fixed it by adding a NOMINMAX definition to the compiler (-DNOMINMAX). Seems this happens a lot on windows?
Don't really understand why you had to define it in compiler since I've already defined in the file. Yeah this happens on windows just because stupid Microsoft had to define the macros in windef.h
. The solution is to define the macro as I've done but it seems to be failing, dunno why. The other solutions are as you said to explicitly define the type using <float>
, wrap the function in paranthesis, or avoid using std::min/max
altogether.
from imgui-addons.
I don't either. But it works for me. I didn't want to dive into what windows includes are messing this up since I don't work on Windows π
from imgui-addons.
Related Issues (20)
- SELECT folder option HOT 2
- Invalid new path if clicking on folder that has same name as a parent or contains part of a parent's name HOT 2
- Is there a way to only display a browser for a single directory? HOT 6
- Automatic "All supported extensions" option HOT 2
- Ability to paste in directory paths for easier navigation
- ImGui::GetFocusedFocusScope out of date HOT 4
- Unable to specify folder⦠HOT 1
- Problem compiling in Windows HOT 1
- Cannot pop up file dialog with ImGui 1.84.2 HOT 1
- Change Style HOT 1
- Please don't force imgui into a subdirectory HOT 7
- If you don't provide a valid_types argument no files are shown
- Other imgui items not working when selecting path HOT 2
- Remember the last opened path HOT 2
- Option (or function) to select All valid files when open file HOT 3
- errors when compiling
- Incorrect child window height in "Invalid File!" popup HOT 4
- Allowing any files on subsequent file dialogs after using "All valid files" HOT 2
- Remember Last Directory on Windows HOT 2
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 imgui-addons.