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

Error copying file "SPTAG/Wrappers/inc/SPTAGClient.py" to "SPTAG/Release/". #21

Closed
ojmakhura opened this issue May 16, 2019 · 2 comments

Comments

@ojmakhura
Copy link

DescriptionI get an error when compiling. The error seems related to copying of files from the Wrappers/inc folder to the Release folder. When I compile I get the following error.

Error copying file "/home/junior/programming/builds/SPTAG/Wrappers/inc/SPTAGClient.py" to "/home/junior/programming/builds/SPTAG/Release/". make[2]: *** [Wrappers/CMakeFiles/_SPTAGClient.dir/build.make:246: ../Release/_SPTAGClient.so] Error 1 make[2]: *** Deleting file '../Release/_SPTAGClient.so' make[1]: *** [CMakeFiles/Makefile2:386: Wrappers/CMakeFiles/_SPTAGClient.dir/all] Error 2 make: *** [Makefile:130: all] Error 2

To Reproduce
Steps to reproduce the behavior:

  1. git clone
  2. cd SPTAG
  3. mkdir build
  4. cd ubild && cmake .. && make

Desktop (please complete the following information):

  • OS: Fedora 30
  • Python 2.7
@dugarsumit
Copy link

Make sure that swig >= 3.0 is installed. It is needed for generating python wrappers, without this *.py files are not generated and hence you get the above errors.

@ojmakhura
Copy link
Author

Thanks. Worked like a charm.

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