Skip to content

Can't run examples after built #52

@lzt007

Description

@lzt007

I have ran "install-deps.sh" in /ci (I delete the --config in install-deps.sh )
Then I build spix with cmake-3.23.0-rc2,using the following command:

export CMAKE_PREFIX_PATH=/my/qt/path
mkdir build && cd build
cmake ..
cmake --build . --target install

After that, I open the RemoteCtrl in qtcreator and try to debug it
Then I got a serious errors:

👎 error: /usr/local/lib/x86_64-linux-gnu/libSpix.a(AnyRpcServer.cpp.o): in function std::__cxx11::basic_string<char, >std::char_traits<char>, std::allocator<char> > spix::utils::unpackAnyRpcParam<std::__cxx11::basic_string<char, >std::char_traits<char>, std::allocator<char> > >(anyrpc::Value&)': AnyRpcServer.cpp:-1: error: undefined reference to anyrpc::Value::GetString() const'
...
...


and many other errors like that says cannot find xxx.cpp in some other qt modules
I have installed both QT and AnyRpc,but it looks like I didn't confirm them well.
Is there a more more detailed description for the installation such as how to set the parameters,which ubuntu/qt/cmake version should I use?

And,as you can see, i'm a noob both in coding and English
I hope my question doesn't offend you

Metadata

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