About Store Forum Documentation Contact



Post Reply 
lzham problem
Author Message
Prodigy Offline
Member

Post: #1
lzham problem
When trying to compile x64 editor, visual studio give an error :
Code:
1>EsenthelEngine64.lib(lzham_win32_threading.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
1>EsenthelEngine64DX10+.lib(lzham_win32_threading.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

These happens on all x64 target (Debug, Release, Release DX10+)
Double checked on linker, it's already targeted as x64 and using 64 bit libraries.
(This post was last modified: 01-09-2015 03:20 PM by Prodigy.)
01-09-2015 03:12 PM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #2
RE: lzham problem
http://www.esenthel.com/community/showth...p?tid=8280


Not the same error, but seems to be in the same category. You can see if the next update will fix it.
(This post was last modified: 01-09-2015 03:13 PM by Tottel.)
01-09-2015 03:13 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: lzham problem
Under visual studio there is a weird issue that sometimes if I set "excluded from build" on a file in VS project that information doesn't get saved.
I've worked around this by manually editing the VS project in a text editor.
Rebuilt the engine, and now it works.

Fix is available in the source.
Binaries will be uploaded in a second.
01-10-2015 01:04 AM
Find all posts by this user Quote this message in a reply
Prodigy Offline
Member

Post: #4
RE: lzham problem
Thank you for the fix, it means lzham compression only available for 32 bit?
01-10-2015 06:46 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: lzham problem
No, it's available on both 32/64.
The issue was because VS tried to link 32bit library on 64bit platform, and vice versa.
01-10-2015 06:54 AM
Find all posts by this user Quote this message in a reply
Prodigy Offline
Member

Post: #6
RE: lzham problem
Thanks again
01-10-2015 10:55 AM
Find all posts by this user Quote this message in a reply
Post Reply