Page 1 of 1

Dear all, how compile v1.6.0 with git files, thanks

Posted: Sat Apr 20, 2019 1:45 am
by szmzsm
dear all, i want build tome v1.6.0 more than three weeks , but couldn't success。
My system is windows 10 and clone newest tome version with link "git.net-core.org/tome/t-engine4.git"
first:
I try compile with guide "Guide to compiling Tome 4 on Windows 10"(http://forums.te4.org/viewtopic.php?f=3 ... ke#p229734) step by step, but can't success.
In win32 show error:
/mingw32/i686-w64-mingw32/include/_mingw.h:269:2: error: Only Win32 target is supported!
#error Only Win32 target is supported!
and
/mingw32/i686-w64-mingw32/include/sec_api/stdio_s.h:491:3: error: unknown type name '__declspec'
_SECIMP int __cdecl vsprintf_s(char *_DstBuf,size_t _Size,const char *_Format,va_list _ArgList);
^
/mingw32/i686-w64-mingw32/include/sec_api/stdio_s.h:16:17: note: expanded from macro '_SECIMP'
#define _SECIMP __declspec(dllimport)
In win64, can't success again.

second:
I compile with Clion 2019.1, but failed again.

third(now):
I want compile with Visual Studio 2017, but i don't know i can success or not.

who can tell me compile v1.6.0 in window 10, i should use which develope tools and steps?
I very like tome, please help. Thank very much.

My english is not good, thank you for reading my question.

Re: Dear all, how compile v1.6.0 with git files, thanks

Posted: Tue Apr 23, 2019 12:24 pm
by HousePet
Why are you trying to do this?
Unless something super low level has changed, new versions only require an updated module file. Those aren't compiled. You should be able to run them from a folder.

Re: Dear all, how compile v1.6.0 with git files, thanks

Posted: Tue Apr 23, 2019 2:09 pm
by szmzsm
HousePet wrote:Why are you trying to do this?
Unless something super low level has changed, new versions only require an updated module file. Those aren't compiled. You should be able to run them from a folder.
Thank you for your reply.
Because i don't get exe file from git and src folder was updated one month ago, so i want to compile.

Re: Dear all, how compile v1.6.0 with git files, thanks

Posted: Wed Apr 24, 2019 12:51 am
by HousePet
Just use the files from the currently available version.

Re: Dear all, how compile v1.6.0 with git files, thanks

Posted: Wed Apr 24, 2019 3:10 pm
by szmzsm
HousePet wrote:Just use the files from the currently available version.
HousePet, thanks.