patrickcjk/imgui-notify

Do you know if it requires C++17?

moebiussurfing opened this issue · 0 comments

Hey @patrickcjk , thanks for sharing this.

I am trying to use it in an openFrameworks project without success...
I am on VS 2017, and OF is bundled with C++ 11/14.

After getting these errors:

Severity	Code	Description	Project	File	Line	Suppression State
Error	C7525	inline variables require at least '/std:c++17' (compiling source file src\main.cpp)	1_7_Notify	f:\openframeworks\addons\ofxsurfingimgui\1_widgets\1_7_notify\src\imgui_notify.h	220	

I "forced" the VS project to C++17. But I am getting OF related errors like:

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2757	'filesystem': a symbol with this name already exists and therefore this name cannot be used as a namespace name (compiling source file src\main.cpp)	1_7_Notify	c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\fstream	24	

Any idea?

https://github.com/moebiussurfing/ofxSurfingImGui/tree/master/1_Widgets/1_7_Notify/src