libtom / libtommath

LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.
https://www.libtom.net
Other
645 stars 194 forks source link

Error compilation with makefile.msvc under VS 2017 #74

Closed koh-osug closed 6 years ago

koh-osug commented 7 years ago

When using the commandile nmake -f makefile.msvc to compile the library I get:

CFLAGS = /I. /Ox /DWIN32 /W3  /Fo$@

macro '$@' is illegal in the context of batch rule 'rule'

The quick fix is to remove /Fo$@.

karel-m commented 7 years ago

Are you trying develop branch? if not, please do.

EDIT: I am wrong (develop will fail as well), we have fixed MSVC builds in libtomcrypt but not in libtommath

koh-osug commented 7 years ago

The libtomcrypt build works. I was using the downloadable zip from the develop branch.