error when executing make all
Opened this issue · 12 comments
i get the following error as attached, when i am trying to execute "make all". can you help me?
error.txt
Hi
- could you post the output of "make clean" followed by "make all"?
- is the file libtasmaniansparsegrid.so present in the directory where you are running make all?
hello rncarpio,
Thanks for answering my query.
- please find the attached output of make clean and make all
http://prntscr.com/he5sxh
http://prntscr.com/he5t3s - yes the file libtasmaniansparsegrid.so is present when "make all" command is issued.
could you post the output of "g++ -v -L. -ltasmaniansparsegrid build/example.obj -o build/example"? thanks.
Hi
The output of the command "g++ -v -L. -ltasmaniansparsegrid build/example.obj -o build/example" is attached.
build-example.txt
OK, it seems the problem is "-L." is not recognized properly. Could you try
"g++ -v -L/home/ravi/rncarpio-py_tsg-ccf723e -ltasmaniansparsegrid build/example.obj -o build/example"?
hi
looks like its the same error as before...
out put attached.
build-example.txt
Please try moving the -L, -l to the end:
"g++ -v build/example.obj -o build/example -L/home/ravi/rncarpio-py_tsg-ccf723e -ltasmaniansparsegrid"
ok, i have tried the above command.. no errors seems to occur.. The output is attached.. what is to be done next to get the _py_tsg.so or _py_tsg.pyd
build-example.txt
Hi, please try this new Makefile. I've moved the .so files into the build directory and put the -L at the end of the link commands. Please try "make clean; make all" and let me know if there are any problems.
Hi,
i have used the makefile given by you, updated the paths accordingly. The error now is related to some unmatched function. kindly check the attached message. Thank you very much for your continued support.
make-all-error.txt
Please try replacing tsg_python.cpp with this file. Note that you need to install pyublas into your python distribution in order to run py_tsg.
tsg_python.txt
hi
After replacing the tsg_python.cpp file with the above, i was able to generate the _py_tsg.so and import it as well. Thank you for solving the issue.