This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Failed to compile LNK 112  (Read 1567 times)

elireth123

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Failed to compile LNK 112
« 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Failed to compile LNK 112
« Reply #1 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

elireth123

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: Failed to compile LNK 112
« Reply #2 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

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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Failed to compile LNK 112
« Reply #3 on: July 17, 2016, 07:12:32 pm »
That does not sound like the full error.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

elireth123

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: Failed to compile LNK 112
« Reply #4 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Failed to compile LNK 112
« Reply #5 on: July 17, 2016, 07:54:40 pm »
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

elireth123

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: Failed to compile LNK 112
« Reply #6 on: July 17, 2016, 09:52:08 pm »
Ok, the C2065 error was solved, but now i have the other error:



Here are the link of CMAKE log's:
https://mega.nz/#!c0pHlRDB!ECuU51rVeAQW ... 9nlPcKc7vU

Thanks for the help
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Failed to compile LNK 112
« Reply #7 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/ be sure to use the correct version (note the suffix)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

elireth123

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: Failed to compile LNK 112
« Reply #8 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...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Failed to compile LNK 112
« Reply #9 on: July 18, 2016, 09:19:30 am »
You need to rerun cmake and make sure it found the new version, not the old.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »