Skip to content

'loadv' is not member of 'lisp' #28

Open
@RoTob123

Description

so im compiling on pc but on resource_path.cpp file there's an error(s):

/home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp:1515:24: error: no declaration matches ‘Rc<ScratchBuffer, 100> Platform::make_scratch_buffer()’
 1515 | Rc<ScratchBuffer, 100> Platform::make_scratch_buffer()
      |                        ^~~~~~~~
In file included from /home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp:2:
/home/rewind/blind-jump-portable/build/../source/platform/platform.hpp:249:22: note: candidate is: ‘ScratchBufferPtr Platform::make_scratch_buffer()’
  249 |     ScratchBufferPtr make_scratch_buffer();
      |                      ^~~~~~~~~~~~~~~~~~~
/home/rewind/blind-jump-portable/build/../source/platform/platform.hpp:41:7: note: ‘class Platform’ defined here
   41 | class Platform {
      |       ^~~~~~~~
/home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp: In member function ‘void Platform::NetworkPeer::listen()’:
/home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp:1950:23: error: ‘loadv’ is not a member of ‘lisp’
 1950 |     auto port = lisp::loadv<lisp::Integer>("network-port").value_;
      |                       ^~~~~
/home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp:1950:42: error: expected primary-expression before ‘>’ token
 1950 |     auto port = lisp::loadv<lisp::Integer>("network-port").value_;
      |                                          ^
/home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp:1950:60: error: request for member ‘value_’ in ‘("network-port")’, which is of non-class type ‘const char [13]’
 1950 |     auto port = lisp::loadv<lisp::Integer>("network-port").value_;
      |                                                            ^~~~~~
/home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp: In member function ‘void Platform::NetworkPeer::connect(const char*)’:
/home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp:1970:23: error: ‘loadv’ is not a member of ‘lisp’
 1970 |     auto port = lisp::loadv<lisp::Integer>("network-port").value_;
      |                       ^~~~~
/home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp:1970:42: error: expected primary-expression before ‘>’ token
 1970 |     auto port = lisp::loadv<lisp::Integer>("network-port").value_;
      |                                          ^
/home/rewind/blind-jump-portable/source/platform/desktop/desktop_platform.cpp:1970:60: error: request for member ‘value_’ in ‘("network-port")’, which is of non-class type ‘const char [13]’
 1970 |     auto port = lisp::loadv<lisp::Integer>("network-port").value_;

what it is? i didnt change anything in code.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions