Modcraft - The community dedicated to quality WoW modding!

Featured => Noggit => Topic started by: elireth123 on July 17, 2016, 04:01:14 am

Title: Failed to compile LNK 112
Post by: elireth123 on July 17, 2016, 04:01:14 am
When I try to compile the noggit I have an error: LNK 112

LNK1112: module machine type 'x86' conflicts With target machine type 'X64'

My system is 64 bit.

What I can do?
Title: Re: Failed to compile LNK 112
Post by: schlumpf on July 17, 2016, 11:39:05 am
Can you please post the CMakeError.log and CMakeOutput.log? It seems like cmake determined that you have a 32bit system due to some semi-silent error.
Title: Re: Failed to compile LNK 112
Post by: elireth123 on July 17, 2016, 07:03:17 pm
Quote from: "schlumpf"
Can you please post the CMakeError.log and CMakeOutput.log? It seems like cmake determined that you have a 32bit system due to some semi-silent error.

https://mega.nz/#!4sABRQ4J!BABCWKgQ2omM ... wb4GGk3vEQ (https://mega.nz/#!4sABRQ4J!BABCWKgQ2omMT-ZxjyV1z27GzcYsGTE-ywb4GGk3vEQ" onclick="window.open(this.href);return false;)

Here I am, now I have a different error:
GWL HINSTANCE: Undeclared definer

But I have not changed anything, so maybe it has nothing to do with it.

Note: I am trying to compile the tag: tip

I need to edit ADT in bigalpha

Thanks for the help
Title: Re: Failed to compile LNK 112
Post by: schlumpf on July 17, 2016, 07:12:32 pm
That does not sound like the full error.
Title: Re: Failed to compile LNK 112
Post by: elireth123 on July 17, 2016, 07:20:34 pm
Quote from: "schlumpf"
That does not sound like the full error.

In the link are all logs.

The new error is C2065 :: "GWL_HINSTANCE: Undeclared defined | noggit.cpp | line: 131 | column: 1 | project: noggit

If you need anything else tell me.
Title: Re: Failed to compile LNK 112
Post by: schlumpf on July 17, 2016, 07:54:40 pm
http://krids.tistory.com/186 (http://krids.tistory.com/186" onclick="window.open(this.href);return false;)
Title: Re: Failed to compile LNK 112
Post by: elireth123 on July 17, 2016, 09:52:08 pm
Ok, the C2065 error was solved, but now i have the other error:

(https://i.imgur.com/hiSwbrL.jpg)

Here are the link of CMAKE log's:
https://mega.nz/#!c0pHlRDB!ECuU51rVeAQW ... 9nlPcKc7vU (https://mega.nz/#!c0pHlRDB!ECuU51rVeAQWttQ9fRRJ8AqxPTz1pzJHn9nlPcKc7vU" onclick="window.open(this.href);return false;)

Thanks for the help
Title: Re: Failed to compile LNK 112
Post by: schlumpf on July 17, 2016, 10:36:37 pm
Where did you get the binaries from? If it was  https://sourceforge.net/projects/boost/ ... es/1.61.0/ (https://sourceforge.net/projects/boost/files/boost-binaries/1.61.0/" onclick="window.open(this.href);return false;) be sure to use the correct version (note the suffix)
Title: Re: Failed to compile LNK 112
Post by: elireth123 on July 17, 2016, 11:10:47 pm
I've updated the boost to the latest version.

I am using visual studio 2013 rev 5 so I have placed the boost_1_61_0-msvc-12.0-64

The error continues.

Mmm...
Title: Re: Failed to compile LNK 112
Post by: schlumpf on July 18, 2016, 09:19:30 am
You need to rerun cmake and make sure it found the new version, not the old.