edrosten / gvars Goto Github PK
View Code? Open in Web Editor NEWLightweight and simple configuration library for C++ programs.
License: Other
Lightweight and simple configuration library for C++ programs.
License: Other
Hey,
I am curious about the usage and mechanism of GUICommandCallBack.
If I define that method in a class. Will Gvars call it autonomously? How does that work?
Really need some guide about Gvars.
Best regards,
Tyler
When I try to compile gvar, I got the problem:
gvars/src/GUI_impl_readline.cc:43:34: Use of undeclared identifier 'history_list'
Hi, Edward Rosten:
When I tried to build gvars, I got the following error messages:
I actually just have your TooN and libcvd installed (from github, not from savannah ).
My Computer Environment:
Ubuntu 16.04.1
GCC/G++: 5.4.0
fltk: 1.3.3-7 from default repository
jiapei:gvars$ ./configure --disable-widgets
checking for gawk... gawk
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking if compiler flag -Wall works... yes
checking if compiler flag -Wextra works... yesChecking for options
checking for TooN... no
checking for TooN-2... no
checking if compiler flag -pthread works... yes
checking for rl_done in -lreadline... yesChecking for widget libraries (provides GUI_...)
checking for fltk2-config... no
checking FL/Fl.H usability... yes
checking FL/Fl.H presence... yes
checking for FL/Fl.H... yes
checking for main in -lfltk... yes
Options:
readline guiMissing options:
toon
GUI support:
fltk
It's OK that I built the code without GUI, but better with toon and fltk, right???
Cheers
Pei
It is currently not possible to build gvars against version 3 of TooN, because gvars is not build with C++14 enabled and none of the TooN headers can be important without compile errors.
To fix that for me it was as simple as adding the following to configure.ac
(and running autoconf again):
TEST_AND_SET_CXXFLAG(-std=c++14)
A clean upstream fix would probably entail a separate TooN 3 check instead of always compiling with C++14 enabled as long as the compiler supports it. I just thought I post my solution as well, in case somebody is looking for a quick fix.
Hello Sir
I keep getting this error which I have no clue on how to resolve can you help me
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.