Jump to content
TrinityCore

Compile or cmake problems


Joy
 Share

Recommended Posts

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Paradox,

 

As much as I hear what you are saying, my intention was not to make them public for the hardwork that the people put into them. These do not compare to the great work of Trinity Core because these are custom scripts built for Trinity Core, not the actual engine itself. That being said, I sent the password to Jason. Please forgive me for not posting it publicly.

 

Best Regards,

Luminariah

Edited by Luminariah
Link to comment
Share on other sites

So, you are looking for help to fix your code and you don't wanna share the code?

Rules on this forum are clear:

You must post the full patch when requesting help for a custom patch. Any help request without full patch will be closed.

This means the patch must be public, not send by pm to devs/moderators.

  • Upvote 1
Link to comment
Share on other sites

Well I am not going to release it without the explicit permission of the person who made it, for hours of work went into it. This is not my decision but when I am entrusted with these files I dare not betray that trust, for all I have is my word.

 

If that is how it must be, I'll continue to look elsewhere for help, thanks for everything Jason.

Link to comment
Share on other sites

I'm going to close this post, i have given the User the information on how to properly " Debug his issue " rather than posting up the 100's of modifications in at once, do them one at a time with all the compiles then come back with the single modifcation that is causing the issue at which point he will have to release the source or go elsewhere for help thanks again. 

Link to comment
Share on other sites

  • 2 weeks later...

When i compile the server i found that error:

 

 

MSVC: Enabled large address awareness

MSVC: Enabled SSE2 support

MSVC: Overloaded standard names

MSVC: Disabled NON-SECURE warnings

MSVC: Disabled POSIX warnings

MSVC: Disabled generic compiletime warnings

Found OpenSSL: optimized;D:/3.3.5 local/Core/Clone/cmake/OpenSSL-Win32/lib/VC/ssleay32MD.lib;D:/3.3.5 local/Core/Clone/cmake/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;D:/3.3.5 local/Core/Clone/cmake/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;D:/3.3.5 local/Core/Clone/cmake/OpenSSL-Win32/lib/VC/libeay32MDd.lib

CMake Error at cmake/macros/FindGit.cmake:24 (message):

 

 

Git was NOT FOUND on your system - did you forget to install a recent version, or setting the path to it?

Observe that for revision hash/date to work you need at least version 1.7

Call Stack (most recent call first):

CMakeLists.txt:65 (find_package)

 

 

Configuring incomplete, errors occurred!

 

What can I do to solve it?

Edited by Xpain
Link to comment
Share on other sites

  • 2 weeks later...

Hi. I'm trying to compile a fresh core, but when I get to the CMake part it goes wrong. This is the error I'm getting:

 

 

The C compiler identification is MSVC 16.0.30319.1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
  10.0/VC/bin/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/build/CMakeFiles/CMakeTmp

  

  Run Build Command:C:WindowsMicrosoft.NETFrameworkv4.0.30319MSBuild.exe
  cmTryCompileExec2342221465.vcxproj /p:Configuration=Debug
  /p:VisualStudioVersion=10.0

  Microsoft ® Build Engine version 4.0.30319.17929

  [Microsoft .NET Framework, version 4.0.30319.17929]

  Copyright © Microsoft Corporation.  All rights reserved.

  

  Build started 2/23/2013 10:13:01 AM.

  Project "C:buildCMakeFilesCMakeTmpcmTryCompileExec2342221465.vcxproj"
  on node 1 (default targets).

  PrepareForBuild:

    Creating directory "cmTryCompileExec2342221465.dirDebug".
    Creating directory "C:buildCMakeFilesCMakeTmpDebug".

  InitializeBuildStatus:

    Creating "cmTryCompileExec2342221465.dirDebugcmTryCompileExec2342221465.unsuccessfulbuild" because "AlwaysCreate" was specified.

  ClCompile:

    C:Program Files (x86)Microsoft Visual Studio 10.0VCbinCL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2342221465.dirDebug" /Fd"C:/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2342221465.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c  /Zm1000 
    Microsoft ® 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
    Copyright © Microsoft Corporation.  All rights reserved.
    
    cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2342221465.dirDebug" /Fd"C:/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2342221465.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c  /Zm1000 
    
    testCCompiler.c

  ManifestResourceCompile:

    C:Program Files (x86)Microsoft SDKsWindowsv7.0Abinrc.exe /nologo /fo"cmTryCompileExec2342221465.dirDebugcmTryCompileExec2342221465.exe.embed.manifest.res" cmTryCompileExec2342221465.dirDebugcmTryCompileExec2342221465_manifest.rc 

  Link:

    C:Program Files (x86)Microsoft Visual Studio 10.0VCbinlink.exe /ERRORREPORT:QUEUE /OUT:"C:buildCMakeFilesCMakeTmpDebugcmTryCompileExec2342221465.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec2342221465.dirDebugcmTryCompileExec2342221465.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2342221465.pdb" /SUBSYSTEM:CONSOLE /STACK:"10000000" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2342221465.lib" /MACHINE:X86 cmTryCompileExec2342221465.dirDebugcmTryCompileExec2342221465.exe.embed.manifest.res
    cmTryCompileExec2342221465.dirDebugtestCCompiler.obj  /machine:X86 /debug 

  LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
  or corrupt
  [C:buildCMakeFilesCMakeTmpcmTryCompileExec2342221465.vcxproj]

  Done Building Project
  "C:buildCMakeFilesCMakeTmpcmTryCompileExec2342221465.vcxproj" (default
  targets) -- FAILED.

  

  Build FAILED.

  

  "C:buildCMakeFilesCMakeTmpcmTryCompileExec2342221465.vcxproj" (default
  target) (1) ->

  (Link target) -> 

    LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:buildCMakeFilesCMakeTmpcmTryCompileExec2342221465.vcxproj]

  

      0 Warning(s)
      1 Error(s)

  

  Time Elapsed 00:00:00.81

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:12 (project)

I've followed this guide http://collab.kpsn.org/display/tc/How-to_Win, and I've tried both with visual c++ 2008 & 2010. (Express versions, my OS is 64-bit, but I'm compiling it as 32-bit, and I'm not sure if that really matters in this case.)

Link to comment
Share on other sites

I just reinstalled the computer and installed a 32-bit OS. And it still doesn't work :/

 

The C compiler identification is MSVC 16.0.30319.1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "C:/Program Files/Microsoft Visual Studio
  10.0/VC/bin/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/build/CMakeFiles/CMakeTmp

  

  Run Build Command:C:WindowsMicrosoft.NETFrameworkv4.0.30319MSBuild.exe
  cmTryCompileExec935864489.vcxproj /p:Configuration=Debug
  /p:VisualStudioVersion=10.0

  Microsoft ® Build Engine version 4.0.30319.17929

  [Microsoft .NET Framework, version 4.0.30319.17929]

  Copyright © Microsoft Corporation.  All rights reserved.

  

  Build started 2/23/2013 3:49:47 PM.

  Project "C:buildCMakeFilesCMakeTmpcmTryCompileExec935864489.vcxproj" on
  node 1 (default targets).

  PrepareForBuild:

    Creating directory "cmTryCompileExec935864489.dirDebug".
    Creating directory "C:buildCMakeFilesCMakeTmpDebug".

  InitializeBuildStatus:

    Creating "cmTryCompileExec935864489.dirDebugcmTryCompileExec935864489.unsuccessfulbuild" because "AlwaysCreate" was specified.

  ClCompile:

    C:Program FilesMicrosoft Visual Studio 10.0VCbinCL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec935864489.dirDebug" /Fd"C:/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec935864489.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c  /Zm1000 
    Microsoft ® 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
    Copyright © Microsoft Corporation.  All rights reserved.
    
    cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec935864489.dirDebug" /Fd"C:/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec935864489.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c  /Zm1000 
    
    testCCompiler.c

  ManifestResourceCompile:

    C:Program FilesMicrosoft SDKsWindowsv7.0Abinrc.exe /nologo /fo"cmTryCompileExec935864489.dirDebugcmTryCompileExec935864489.exe.embed.manifest.res" cmTryCompileExec935864489.dirDebugcmTryCompileExec935864489_manifest.rc 

  Link:

    C:Program FilesMicrosoft Visual Studio 10.0VCbinlink.exe /ERRORREPORT:QUEUE /OUT:"C:buildCMakeFilesCMakeTmpDebugcmTryCompileExec935864489.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec935864489.dirDebugcmTryCompileExec935864489.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec935864489.pdb" /SUBSYSTEM:CONSOLE /STACK:"10000000" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec935864489.lib" /MACHINE:X86 cmTryCompileExec935864489.dirDebugcmTryCompileExec935864489.exe.embed.manifest.res
    cmTryCompileExec935864489.dirDebugtestCCompiler.obj  /machine:X86 /debug 

  LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
  or corrupt
  [C:buildCMakeFilesCMakeTmpcmTryCompileExec935864489.vcxproj]

  Done Building Project
  "C:buildCMakeFilesCMakeTmpcmTryCompileExec935864489.vcxproj" (default
  targets) -- FAILED.

  

  Build FAILED.

  

  "C:buildCMakeFilesCMakeTmpcmTryCompileExec935864489.vcxproj" (default
  target) (1) ->

  (Link target) -> 

    LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:buildCMakeFilesCMakeTmpcmTryCompileExec935864489.vcxproj]

  

      0 Warning(s)
      1 Error(s)

  

  Time Elapsed 00:00:07.96

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:12 (project)


Configuring incomplete, errors occurred!
Link to comment
Share on other sites

Don't listen to him, 32 bit works just fine on 64 bit, as long as you have all the dependencies (mysql, openssl, etc.) matching...

 

it's probably a rights issue.

 

and, don't tell me, "but, I'm logged in as administrator" if you are using Vista or above, it doesn't matter, you can still have permissions issues as admin on those...

Link to comment
Share on other sites

 

I honestly don't see how that would help. I'm not trying to compile the core, I'm trying to gather the build from the source using CMake. Either way, I tried that above and didn't change a thing.

 

This error is gone. However, now this error pops up: 

Microsoft Resource File To COFF Object Conversion Utility has stopped working. Edited by Reck
Link to comment
Share on other sites

  • Aokromes changed the title to Compile or cmake problems
  • Aokromes locked this topic
  • Carbenium unlocked this topic
  • Aokromes pinned and locked this topic
  • Aokromes featured and featured this topic
  • Aokromes pinned this topic
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...