2.
To prevent the error:
e:\progs\c\vanitygen-master\winglue.h(47) : error C2062: type 'char' unexpected
e:\progs\c\vanitygen-master\winglue.h(47) : error C2143: syntax error : missing ';' before '{'
e:\progs\c\vanitygen-master\winglue.h(47) : error C2447: '{' : missing function header (old-style formal list?)
I set in winglue.h:
I compiled only vanitygen without ocl...
1.[Makefile.Win32] CC = cl OPENSSL_DIR = "E:\MyProjects\BitcoinDeps\openssl-1.0.1e" PTHREADS_DIR = "c:\vanitygen-litecoin-0.21\pthreads.2" PCRE_DIR = "c:\vanitygen-litecoin-0.21\pcre-7.9-src" CFLAGS_BASE = /D_WIN32 /DPTW32_STATIC_LIB /DPCRE_STATIC /I$(OPENSSL_DIR)\inc32 /I$(PTHREADS_DIR) /I$(PCRE_DIR) /Ox /Zi CFLAGS = $(CFLAGS_BASE) /GL LIBS = $(OPENSSL_DIR)\out32\libeay32.lib $(PTHREADS_DIR)\pthreadVC2.lib $(PCRE_DIR)\pcre.lib ws2_32.lib user32.lib advapi32.lib gdi32.lib /LTCG /DEBUG OBJS = vanitygen.obj keyconv.obj pattern.obj util.obj winglue.obj all: vanitygen.exe keyconv.exe vanitygen.exe: vanitygen.obj pattern.obj util.obj winglue.obj link /nologo /out:$@ $ $(LIBS) keyconv.exe: keyconv.obj util.obj winglue.obj link /nologo /out:$@ $ $(LIBS) .c.obj: @$(CC) /nologo $(CFLAGS) /c /Tp$< /Fo$@ clean: del vanitygen.exe keyconv.exe $(OBJS)
2. To prevent the error: e:\progs\c\vanitygen-master\winglue.h(47) : error C2062: type 'char' unexpected e:\progs\c\vanitygen-master\winglue.h(47) : error C2143: syntax error : missing ';' before '{' e:\progs\c\vanitygen-master\winglue.h(47) : error C2447: '{' : missing function header (old-style formal list?) I set in winglue.h:
ifdef linux
static inline char strtok_r(char strToken, const char *strDelimit, char **context) { return strtok_s(strToken, strDelimit, context); }
endif
3. call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat"
4. nmake /f Makefile.Win32 vanitygen.exe
5. The start produce empty result?