Jump to content
TrinityCore

Recommended Posts

Hi ,

 

In windows 7 x64 you may need to unhide hidden files and folders and manually delete left over files from VS as just uninstalling the program does not always remove all associated files .

Share this post


Link to post
Share on other sites

CMake doesn't have a problem of source on one drive and project/compile on another. That's my exact situation. My C: drive has the build directory, but my source is on an aptly named S: drive. I don't think the multiple directories was a factor at all, but leftover files is certainly a possibility (especially with MicroSloth in the works).

Share this post


Link to post
Share on other sites

Hi ,

 

I suspect from the error that the source directory was not set correctly in Cmake or Cmake was installed to D: along with the source files , If this is the case in windows you must set the flags in Cmake not just the directory .

 

If Cmake and source are installed to C: then Cmake by default looks for the source in that directory .

 

This may be the pitfalls of a windows install .

 

But after suggesting that the OP used only C: ,They have successfully compiled it in windows xp as I understand  , So I was correct about Cmake and the directories in windows .

Share this post


Link to post
Share on other sites

I gave up with win7 64bit for the moment. in wxp 32bit everything worked fine compiling with VS2010 as I used to do in the past.

maybe this time something went wrong with the installation of some program, but after uninstall and install them back everything went fine. I noticed also that .NET 3.5 was not installed.

after cleaning win7 and reinstalling everything, errors are the same, so at the moment I'm not going to investigate the reasons... windows is still windows!

thank you to everyone!

problem partially solved!

Share this post


Link to post
Share on other sites

The suggestion to only use C: also resulted in a completely fresh setup that would have cleared other problems, too (leftover files, corrupt settings, etc). If the PATH still had directories in it that existed but were mostly empty, CMake likely assumed the contents were all there. As I pointed out, CMake, compiler, and source are not required to be on the same drive for proper operation. If they can be separate, claiming that they mess up if not installed to the same drive is simply not going to be true.

 

Additionally, since there had been successful compilations in the past, it is easily seen that a simple configuration of where the source and build directories are was not the problem. I'm still thinking that the problem may have been tied to 32-bit Visual Studio being used on a 64-bit Windows. CMake might have seen a 64-bit OS and made the assumption that 64-bit compilers were available, thus it had errors. When a 32-bit Windows was used, suddenly it all worked like it used to.

Share this post


Link to post
Share on other sites

actually, I tried compiling also in 64bit, but CMake refused to even start working, assuming that no 64bit were installed!

maybe can be, as said, a conflict between a 64bit OS and a 32bit program.

after everything went fine, I copied all the trinity folder to the 64bit OS and run from there, and it was (not so obviously, talking about windows... LOL) working!

anyway, I have always thought that xp was an "enough good system" and never wanted to move to win7 or win8, until recently when I had to reformat one pc and went on the win7 road.

and what happened now, confirm me that I was somehow right.

Share this post


Link to post
Share on other sites

Totaly unrelated to windows 7, if you had used windows xp x64 you had the same problem.

maybe, but cannot be sure!

I have always been an apple user, since the first mac 128k, but moved to win for "some" reasons and never liked the win os, but among them I think (my 2 cents) that xp has been the most "stable", either 32 or 64.

Share this post


Link to post
Share on other sites

maybe, but cannot be sure!

I have always been an apple user, since the first mac 128k, but moved to win for "some" reasons and never liked the win os, but among them I think (my 2 cents) that xp has been the most "stable", either 32 or 64.

 

Sorry to hear of your (forced?) downgrade. You would have been better off if you had done Linux.

  • Upvote 1

Share this post


Link to post
Share on other sites

Sorry to hear of your (forced?) downgrade. You would have been better off if you had done Linux.

 

sort of forced, but also my "fault"! anyway, now that I have much more free time, and some spare pc, I'll may give linux a try!

Share this post


Link to post
Share on other sites

sort of forced, but also my "fault"! anyway, now that I have much more free time, and some spare pc, I'll may give linux a try!

 

If you're familiar with the Terminal app on OSX, you're familiar with BSD (a flavor of unix). Linux may not be BSD, or even BSD-based, but it is very BSD-like. There's a lot of code that will compile for OSX and Linux with essentially no changes.

 

 

For a first time Linux user, I would suggest the Ubuntu distribution. That version has been worked on in an attempt to bring all the conveniences of Windows/OSX to a Linux installation. As with all things, there will be variances, but I think you'll find it to be a much more stable and powerful platform.

  • Upvote 1

Share this post


Link to post
Share on other sites

Hey guys

 

I've tried to make CMake do as it should for the past 2 hours.

 

It's been an infuriating process and I haven't gotten any further from when I started.

 

  • I downloaded the Source from GIT.
  • I set up CMake so that Source Code points to F:/Trinity (where the repository was cloned to)
  • I set up CMake so that Build points to F:/Trinity/Build
  • I choose Visual Studio 10 and press Finish

I get the following errors:http://pastebin.com/QZLAjTZ8

 

I also tried directly pointing to cl.exe in the F:/Microsoft Visual Studio 10.0/VC/bin/cl.exe folder. Both for C and C++ and just C++ alone.

 

It gives me the following error http://pastebin.com/2DYGsG3X

 

Now here is what I have installed:

  • GitExtensions
  • Microsoft Visual Studio C++ 2010
  • CMake 2.8.12.1 32-bit
  • OpenSSL 1.0.1e 32-bit
  • Microsoft Visual C++ 2010 Redistributable Package x86 (it was either that or x64)
  • Microsoft Visual Studio SP 1

I have rebooted my computer several times.

I use Windows 7 64-bit Home Edition.

 

If there is anything else you need please let m know.

Share this post


Link to post
Share on other sites

Hi ,

 

Use the search function next time on this forum , or read the wiki .........

 

And because you have 64bit makes no difference to this project .

 

Many others can compile this in all operating systems i.e x86 or x64,  Linux or Windows

Share this post


Link to post
Share on other sites

Hi ,

 

Use the search function next time on this forum , or read the wiki .........

 

The wiki is outdated and the search function kept giving me "no results"

Thanks for no help though ._.

Share this post


Link to post
Share on other sites

Hi ,

 

That is not  true what you have just stated in your post .

 

I appreciate that you posted. But you are not helping me at all right now.

Just sending me away. Not a very good first impression of the community in general :/

 

I'd appreciate if someone could try and help me instead as I've tried to make CMake work the past 2 hours without any luck.

Edited by Vipar

Share this post


Link to post
Share on other sites

Hi ,

 

How would you like me to help ?

 

Silver Spoon ?

 

 

You need to read the Wiki , Believe me its not that hard ..

 

And I can compile this in all OS wither it Linux x32 or x64 or Windows x32 or x64

 

or and I hate this "MAC"

 

So your problem is ?

 

With out error logs from Cmake or VS , We can not help . We are not clairvoyant

 

 

And why do you noobies always use Directories above C:

Share this post


Link to post
Share on other sites

Hi ,

 

How would you like me to help ?

 

Silver Spoon ?

 

 

You need to read the Wiki , Believe me its not that hard ..

 

And I can compile this in all OS wither it Linux x32 or x64 or Windows x32 or x64

 

or and I hate this MAC

 

So your problem is ?

 

I already stated what my problem is.

If you seriously believe that you can point me to a place in the Wiki that will magically solve my problem, please be my guest because I have run out of ideas. I didn't come her first thing and asked for help. I have already tried all I could think of. If you don't care to help people but just be arrogant why do you even bother posting in the first place?

Share this post


Link to post
Share on other sites

Hi ,

 

Do you have OpenSSl installed?

 

As already stated:

 

 

Now here is what I have installed:

  • GitExtensions
  • Microsoft Visual Studio C++ 2010
  • CMake 2.8.12.1 32-bit
  • OpenSSL 1.0.1e 32-bit
  • Microsoft Visual C++ 2010 Redistributable Package x86 (it was either that or x64)
  • Microsoft Visual Studio SP 1

Share this post


Link to post
Share on other sites

Hi ,

 

again DO YOU HAVE OPENSSL INSTALLED CORRECTLY!!

 

I would hazard a guess you DO NOT ! 

 

READ THE WIKI

 

I followed the Wiki on that part.

Did EXACTLY as it said.

Share this post


Link to post
Share on other sites

And why do you noobies always use Directories above C:

 

How is this remark even relevant to the request for help? Drive letters aren't a problem at all (I know this for a fact).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Deer_Hunter
      Hello all,
      I just updated from the latest Git 
      Trinity Core REV. ac6baa547376 + 2020-02-21  3.3.5 Branch.
      I'm getting this error after crash.
      Problem signature:
        Problem Event Name:    APPCRASH
        Application Name:    worldserver.exe
        Application Version:    0.0.0.0
        Application Timestamp:    5e50a462
        Fault Module Name:    StackHash_f12f
        Fault Module Version:    6.3.9600.19629
        Fault Module Timestamp:    5e2fdc0d
        Exception Code:    c0000374
        Exception Offset:    PCH_9E_FROM_ntdll+0x0000000000090D0A
        OS Version:    6.3.9600.2.0.0.272.7
        Locale ID:    1033
        Additional Information 1:    f12f
        Additional Information 2:    f12f0934d3e965f73c68e60f20f2cd40
        Additional Information 3:    7595
        Additional Information 4:    7595e4d8d703db9dcd3d2f6ea540e357
      the exception code says its a Heap error,  I'm not sure how to troubleshoot this.
      Thanks
    • By 939h
      Hi,

      The chat channel Lookup for group is not available when a player isn't in a city. I tried to modify the worldserver.conf file with:
      #
      #    Channel.RestrictedLfg
      #        Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
      #        Default:     1 - (Enabled, Allow join to channel only if registered in LFG)
      #                     0 - (Disabled, Allow join to channel in any time)
      Channel.RestrictedLfg = 0

      I restarted the server but it didn't help.

      Thanks
    • By meeek
      Hey, I've been trying to compile from github the core from 6.2.3/6.2.4, I'm well aware its stopped developing. I cannot get it to configure properly in CMake, nor can I obviously build it.
       
      I'd be willing to pay for help and get this working and running. I want to develop my own server on my freetime as a learning project and for entertainment. I can't find any core for WoD, sadly.. Very hard, would appreciate any quick help
       
    • By Probie_Wan_Kenobi
      I believe everything I have done up to this point has been correct. When I go to launch worldserver.exe a console window opens up for a second and closes right away and nothing else seems to have happened. I skipped a head a little in the instructions to see what is left and step 5 seems skippable since I am running this only for this computer and step 6 has me launch to a log in screen which I can not get to. I tried going to the faq but the page was not loading properly so I am forced to post here.
    • By Wark
      I'd just like to get a little insight to why so much of the current Trinitycore code doesn't match up to a few years ago.
      Now I know I'm not a pro at coding on Trinitycore and I understand that the core is open sourced but these just seem so significant and doesn't seem right to remove this stuff.
       
      Let me give an example. Lets say I'm watching this tutorial to get a little information about classes and methods that I can use when making a script. (I've also been using the Trinitycore Code Documentation as reference as well but it also seems to show the same issues)
      Although the tutorial is a little out of date, I don't see why OnGossipSelect doesn't exist anywhere in CreatureScript and that when I try to link the script to the core code it spits out this error.
      object of abstract class type "GossipTeleporter" is not allowed:
      pure virtual function "CreatureScript::GetAI" has no overrider
      The DEFINES of "ADD_GOSSIP_ITEM" and many more don't exist either.
       
      Am I missing something? All I want to know is if the core is mean't to be this way and if not should I download an older version of the core before I put to much working into my current core.
      (I downloaded my core right from the Trinitycore website tutorial)
       
      I'm currently trying to write a simple gossipteleporter that will let you talk to an npc and teleport to the given location. It's very hard to do this when so many things just don't exist within my core.
       
      EXTRA: I pasted this into a new custom script just to see if I would get errors and I got a lot of different errors: http://pastebin.com/raw/G62e0t49
      This was obtained from here: http://www.ac-web.org/forums/showthread.php?129885-Request-Teleporter-NPC-for-TrinityCore
      By no means am I looking to copy the code from the two links above, I was using them as a test to see if my core accepted them.
       
      Thanks,
      Wark
×
×
  • Create New...