Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scott@scott-stallion:~/footnote/build$ cmake ..
- -- The C compiler identification is GNU
- -- The CXX compiler identification is GNU
- -- Check for working C compiler: /usr/bin/gcc
- -- Check for working C compiler: /usr/bin/gcc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++
- -- Check for working CXX compiler: /usr/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- checking for modules 'gtk+-3.0;granite;sqlheavy-0.1;gthread-2.0;gee-1.0'
- -- found gtk+-3.0, version 3.2.0
- -- found granite, version 0.1.4
- -- found sqlheavy-0.1, version 0.0.1
- -- found gthread-2.0, version 2.30.0
- -- found gee-1.0, version 0.6.2.1
- -- Found Vala: /usr/bin/valac
- -- checking for a minimum Vala version of 0.14.0
- -- found Vala, version 0.14.0
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/scott/footnote/build
- scott@scott-stallion:~/footnote/build$ make
- [ 14%] Generating src/Widgets/Category.c, src/Widgets/Note.c, src/Widgets/TaggingArea.c, build/src/Config.c, src/Footnote.c
- /home/scott/footnote/src/Footnote.vala:72.19-72.65: error: invocation of void method not allowed as expression
- for (var res=db.execute ("SELECT name,id FROM 'categories'");!res.finished;res.next ()){
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- /home/scott/footnote/src/Footnote.vala:72.15-72.65: error: var declaration not allowed with non-typed initializer
- for (var res=db.execute ("SELECT name,id FROM 'categories'");!res.finished;res.next ()){
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- /home/scott/footnote/src/Footnote.vala:72.81-72.83: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
- for (var res=db.execute ("SELECT name,id FROM 'categories'");!res.finished;res.next ()){
- ^^^
- /home/scott/footnote/src/Footnote.vala:72.68-72.70: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
- for (var res=db.execute ("SELECT name,id FROM 'categories'");!res.finished;res.next ()){
- ^^^
- /home/scott/footnote/src/Footnote.vala:73.41-73.43: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
- new Category.from_existing (this, res.fetch_string (0), res.fetch_int (1));
- ^^^
- /home/scott/footnote/src/Footnote.vala:73.63-73.65: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
- new Category.from_existing (this, res.fetch_string (0), res.fetch_int (1));
- ^^^
- Compilation failed: 6 error(s), 0 warning(s)
- make[2]: *** [src/Widgets/Category.c] Error 1
- make[1]: *** [CMakeFiles/footnote.dir/all] Error 2
- make: *** [all] Error 2
- scott@scott-stallion:~/footnote/build$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement