Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install WASP #67

Open
MXGLIGHT opened this issue Oct 7, 2023 · 1 comment
Open

How to install WASP #67

MXGLIGHT opened this issue Oct 7, 2023 · 1 comment

Comments

@MXGLIGHT
Copy link

MXGLIGHT commented Oct 7, 2023

Hello,
I'm new to webassembly and wasp. As part of my project im trying to get to use wasp, currently I do have wabt installed, I runned test through it. Now I want to create call graph, data flow graph using wasp, put I cant install it and I dont know what should do.
Please help

@jannikbmc
Copy link

Hi,

if you are getting something like this after cmake ..:

-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at third_party/CMakeLists.txt:17 (add_subdirectory):
  The source directory

    /home/yourname/wasp/third_party/abseil

  does not contain a CMakeLists.txt file.


CMake Error at third_party/CMakeLists.txt:22 (add_subdirectory):
  The source directory

    /home/yourname/wasp/third_party/gtest

  does not contain a CMakeLists.txt file.


-- Performing Test HAS_FILESYSTEM_NO_FLAGS
-- Performing Test HAS_FILESYSTEM_NO_FLAGS - Success
-- Configuring incomplete, errors occurred!

Then first cd into ~/wasp/third_party and call git submodule update --init.

Then i also had a gtest error with variable int dummy uninitialized: wasp/third_party/gtest/googletest/src/gtest-death-test.cc:1301:24: error: ‘dummy’ may be used uninitialized -> go to file wasp/third_party/gtest/googletest/src/gtest-death-test.cc/ search for all int dummy; declarations and change them to int dummy = 0;
After this i could run the cmake instructions without any error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants