Skip to content

Build issue in 2.0-develop - (JSON parser) #39

@hoche

Description

@hoche

2.0-alpha doesn't build - it looks like there's a commandline parsing routine that was expected to set the "args" variable, but it got commented out. If that parser isn't stable we should leave it and everything that depends on it out.

~/src/splat/build$ make
[  2%] Building CXX object src/CMakeFiles/splat.dir/main.cpp.o
/home/hoche/src/splat/src/main.cpp: In function ‘int main(int, const char**)’:
/home/hoche/src/splat/src/main.cpp:1204:24: error: ‘args’ was not declared in this scope; did you mean ‘argc’?
 1204 |         json.WriteJSON(args, tx_site[0], lrp, mapfile);
      |                        ^~~~
      |                        argc
make[2]: *** [src/CMakeFiles/splat.dir/build.make:225: src/CMakeFiles/splat.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:216: src/CMakeFiles/splat.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions