You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/taku910/crfpp.git
cd crfpp
./configure
sed -i '/#include "winmain.h"/d' crf_test.cpp
sed -i '/#include "winmain.h"/d' crf_learn.cpp
sudo make install
ubgpu@ubgpu:
/github/crfpp$ make -j/github/crfpp$make all-am
make[1]: Entering directory
/home/ubgpu/github/crfpp' /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o libcrfpp.lo libcrfpp.cpp /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o lbfgs.lo lbfgs.cpp /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o param.lo param.cpp /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o encoder.lo encoder.cpp /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o feature.lo feature.cpp /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o feature_cache.lo feature_cache.cpp /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o feature_index.lo feature_index.cpp /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o node.lo node.cpp /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o path.lo path.cpp /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o tagger.lo tagger.cpp g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o crf_learn.o crf_learn.cpp g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c -o crf_test.o crf_test.cpp crf_learn.cpp:9:21: fatal error: winmain.h: No such file or directory #include "winmain.h" ^ compilation terminated. crf_test.cpp:9:21: fatal error: winmain.h: No such file or directory #include "winmain.h" ^ compilation terminated. libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c param.cpp -fPIC -DPIC -o .libs/param.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c node.cpp -fPIC -DPIC -o .libs/node.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c tagger.cpp -fPIC -DPIC -o .libs/tagger.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c feature_index.cpp -fPIC -DPIC -o .libs/feature_index.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c feature.cpp -fPIC -DPIC -o .libs/feature.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c lbfgs.cpp -fPIC -DPIC -o .libs/lbfgs.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c feature_cache.cpp -fPIC -DPIC -o .libs/feature_cache.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c encoder.cpp -fPIC -DPIC -o .libs/encoder.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c libcrfpp.cpp -fPIC -DPIC -o .libs/libcrfpp.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c path.cpp -fPIC -DPIC -o .libs/path.o make[1]: *** [crf_test.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [crf_learn.o] Error 1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c feature_cache.cpp -o feature_cache.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c libcrfpp.cpp -o libcrfpp.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c path.cpp -o path.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c node.cpp -o node.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c feature.cpp -o feature.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c lbfgs.cpp -o lbfgs.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c param.cpp -o param.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c encoder.cpp -o encoder.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c feature_index.cpp -o feature_index.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c tagger.cpp -o tagger.o >/dev/null 2>&1 make[1]: Leaving directory
/home/ubgpu/github/crfpp'make: *** [all] Error 2
ubgpu@ubgpu:
The text was updated successfully, but these errors were encountered: