Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'runtime_error': is not a member of 'std' #52

Closed
gomgomi opened this issue Mar 29, 2021 · 2 comments
Closed

'runtime_error': is not a member of 'std' #52

gomgomi opened this issue Mar 29, 2021 · 2 comments
Assignees
Labels

Comments

@gomgomi
Copy link

gomgomi commented Mar 29, 2021

Build environments is

  • JKQtPlotter: v2019.11.3
  • CMake 3.17.5
  • Generator: Visual Studio 16 2019

I got error during build the JKQTCommonSharedLib project with Debug(x64) configuration.
It seems like missing #include <stdexcept> header.
When I include stdexcept header in jkqtpdebuggingtools.h, build is success.

The following are build log.

1>------ Build started: Project: JKQTCommonSharedLib, Configuration: Debug x64 ------
1>Automatic MOC and UIC for target JKQTCommonSharedLib
1>jkqtpdebuggingtools.cpp
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(84,20): error C2039: 'runtime_error': is not a member of 'std'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include\iterator(21): message : see declaration of 'std'
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(84,33): error C3861: 'runtime_error': identifier not found
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(103,20): error C2039: 'runtime_error': is not a member of 'std'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include\iterator(21): message : see declaration of 'std'
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(103,33): error C3861: 'runtime_error': identifier not found
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(121,20): error C2039: 'runtime_error': is not a member of 'std'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include\iterator(21): message : see declaration of 'std'
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(121,33): error C3861: 'runtime_error': identifier not found
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(138,20): error C2039: 'runtime_error': is not a member of 'std'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include\iterator(21): message : see declaration of 'std'
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(138,33): error C3861: 'runtime_error': identifier not found
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(153,20): error C2039: 'runtime_error': is not a member of 'std'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include\iterator(21): message : see declaration of 'std'
1>E:\devel\JKQtPlotter\lib\jkqtcommon/jkqtpdebuggingtools.h(153,33): error C3861: 'runtime_error': identifier not found
1>jkqtpstatpoly.cpp
1>Generating Code...
1>Done building project "JKQTCommonSharedLib.vcxproj" -- FAILED.
@jkriege2
Copy link
Owner

Hi!

thanks for notig ... could you provide a Pull-Request with a fix? Then I can merge it into the master.

Thanks,
JAN

@jkriege2 jkriege2 added the bug label Mar 29, 2021
@jkriege2 jkriege2 self-assigned this Mar 29, 2021
@gomgomi
Copy link
Author

gomgomi commented Mar 30, 2021

Hi @jkriege2
I checked it out in master branch and found this issue already resolved.
I'm sorry I confused you.
Could you tell me when you will tag the next version?

@gomgomi gomgomi closed this as completed Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants