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

tf1 compiling error #17

Closed
MicheleCannizzaro opened this issue Dec 13, 2021 · 1 comment
Closed

tf1 compiling error #17

MicheleCannizzaro opened this issue Dec 13, 2021 · 1 comment

Comments

@MicheleCannizzaro
Copy link

Hi, my name is Michele,
thanks for your open-source code. I was looking for a solution for a project and the tf1 library seems to be a great one. Unfortunately, I encountered some problems compiling the library:

  • I had to change std=c++11 to std=c++14 in these two lines in the Makefile:
axmult.o: axmult.cc
	g++ -std=c++14 $^ -c -o $@

axqconv.so: axqconv.cc axmult.cc axmult.h approximate_selector.h
	g++ -std=c++14 -Wno-ignored-attributes -Wno-deprecated-declarations  -shared $(filter-out %.h, $^) -o $@ -fPIC ${TF_CFLAGS} ${TF_LFLAGS} -O2

Could you help me? :)

@MicheleCannizzaro
Copy link
Author

Forcing to use Tensorflow 1.14 solved the problem.

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

1 participant