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

Compiling CLV on Mac #16

Open
LizEve opened this issue May 26, 2017 · 1 comment
Open

Compiling CLV on Mac #16

LizEve opened this issue May 26, 2017 · 1 comment

Comments

@LizEve
Copy link

LizEve commented May 26, 2017

I'm trying to compile CLV on my Mac. I get to step 6, typing 'make' in the TreeScaper folder and then I get errors.

The pre-compiled CLV for Mac works great, so I've been using that. I wanted to let you know about the errors when I try to compile it myself, in case they are important.

I've tried compiling from both the .zip source code found here https://github.com/whuang08/TreeScaper/releases, and from cloning https://github.com/whuang08/TreeScaper.git.

When I compile from the cloned folder I get this error:

g++ CLVmain.cpp -w randgen.cpp wstring.cpp warray.cpp wmapping.cpp wmix.cpp wfile.cpp wimport_form.cpp wDimEst.cpp wNLDR.cpp Trees.cpp TreeOPE.cpp Sparse_matrix.cpp greedy_louvain.cpp graph.cpp slicer.cpp label-map.cc community.cpp info.cpp hashfunc.cc hash.cc hungarian.c ClusterForest.cpp ClusterInstance.cpp Forest.cpp rspr.cpp SiblingPair.cpp SPRLCA.cpp SPRNode.cpp UndoMachine.cpp /Applications/MAC_TreeScaper_v1.0.0_Binary_2016-12-16/clapack-3.2.1-CMAKE/lapack_LINUX.a /Applications/MAC_TreeScaper_v1.0.0_Binary_2016-12-16/clapack-3.2.1-CMAKE/blas_LINUX.a /Applications/MAC_TreeScaper_v1.0.0_Binary_2016-12-16/clapack-3.2.1-CMAKE/F2CLIBS/libf2c.a -lm -I/Applications/MAC_TreeScaper_v1.0.0_Binary_2016-12-16/clapack-3.2.1-CMAKE/INCLUDE -DCOMMAND_LINE_VERSION -o CLVTreeScaper -DCOMMAND_LINE_VERSION
g++: error: /Applications/MAC_TreeScaper_v1.0.0_Binary_2016-12-16/clapack-3.2.1-CMAKE/lapack_LINUX.a: No such file or directory
g++: error: /Applications/MAC_TreeScaper_v1.0.0_Binary_2016-12-16/clapack-3.2.1-CMAKE/blas_LINUX.a: No such file or directory

When I compile from the .zip folder I get this error:

g++ CLVmain.cpp -w randgen.cpp wstring.cpp warray.cpp wmapping.cpp wmix.cpp wfile.cpp wimport_form.cpp wDimEst.cpp wNLDR.cpp Trees.cpp TreeOPE.cpp Sparse_matrix.cpp greedy_louvain.cpp graph.cpp slicer.cpp label-map.cc community.cpp info.cpp hashfunc.cc hash.cc hungarian.c ClusterForest.cpp ClusterInstance.cpp Forest.cpp rspr.cpp SiblingPair.cpp SPRLCA.cpp SPRNode.cpp UndoMachine.cpp D:\VTK\clapack\SRC\liblapack.a D:\VTK\clapack\BLAS\SRC\libblas.a D:\VTK\clapack\F2CLIBS\libf2c\libf2c.a -lm -ID:\VTK\clapack-3.2.1-CMAKE\INCLUDE -DCOMMAND_LINE_VERSION -o CLVTreeScaper
g++: error: D:VTKclapackSRCliblapack.a: No such file or directory
g++: error: D:VTKclapackBLASSRClibblas.a: No such file or directory
g++: error: D:VTKclapackF2CLIBSlibf2clibf2c.a: No such file or directory
@whuang08
Copy link
Owner

Hi,
It seems that the compiler didn't find BLAS and LAPACK libraries. Did you install BLAS and LAPACK before you compile TreeScaper. If not, you can read Section 3 in the User Manual.
Let me know if you can't fix the problem.
Best,
Wen

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