Gammon Forum
Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
MUDs
General
Getting SimpleMud to compile
Getting SimpleMud to compile
|
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Pages: 1
2
Posted by
| Nick Gammon
Australia (23,042 posts) bio
Forum Administrator |
Date
| Reply #15 on Thu 23 Jun 2011 12:59 AM (UTC) |
Message
| I wouldn't worry about the signed/unsigned mismatch.
The other messages sound like it can't find debugging symbols, itself not a huge worry.
As for the crash, hard to say. Try running it under the debugger.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
Posted by
| Thorbenn
(25 posts) bio
|
Date
| Reply #16 on Thu 23 Jun 2011 11:39 AM (UTC) |
Message
| Hi Nick,
this is what i get when running the debugger
'SimpleMUD.exe': Loaded 'C:\Users\Daniel\Desktop\SimpleMUD\Release\SimpleMUD.exe', Symbols loaded.
'SimpleMUD.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\ws2_32.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\nsi.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\msvcp100.dll', Symbols loaded.
'SimpleMUD.exe': Loaded 'C:\Windows\System32\msvcr100.dll', Symbols loaded.
'SimpleMUD.exe': Loaded 'C:\Windows\System32\mswsock.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\user32.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\gdi32.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\lpk.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\usp10.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\imm32.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\msctf.dll', Cannot find or open the PDB file
'SimpleMUD.exe': Loaded 'C:\Windows\System32\WSHTCPIP.DLL', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x10f8) has exited with code 0 (0x0).
Microsoft Visual Studio C Runtime Library has detected a fatal error in SimpleMUD.exe.
Press Break to debug the program or Continue to terminate the program.
In dbghook.c it shows me always this area:
__declspec(noinline)
void __cdecl _CRT_DEBUGGER_HOOK(int _Reserved)
{
/* assign 0 to _debugger_hook_dummy so that the function is not folded in retail */
(_Reserved);
_debugger_hook_dummy = 0;
} | top |
|
Posted by
| Nick Gammon
Australia (23,042 posts) bio
Forum Administrator |
Date
| Reply #17 on Fri 24 Jun 2011 09:02 AM (UTC) |
Message
| I've run into various problems with Ron Penton's code (I assume this is what you are talking about) not compiling using more modern compilers. It all worked when he wrote the book, but newer compilers have tightened up syntax, and indeed the way things work. I have already spent hours trying to get it to work previously.
I suggest you try instead to use SmaugFUSS or one of the currently-maintained code bases. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
Posted by
| Thorbenn
(25 posts) bio
|
Date
| Reply #18 on Fri 24 Jun 2011 10:31 AM (UTC) |
Message
| Hi,
yes i guess i will be giving up coding on simpleMud eventhough i think this is a ideal base to learn from especially with mr.Pentons book right beside you. I might try to find old gnu compilers to use for this code. Because i really do not want to give up on it.
or i will try my visual studi0 2003 and see if it works there any better.
| top |
|
Posted by
| Thorbenn
(25 posts) bio
|
Date
| Reply #19 on Sun 03 Jul 2011 05:12 PM (UTC) |
Message
| hi,
because i didn't want to give up on simple mud i bought a cheap for dummies book which hat visual c++ 6 author edition in it. i thought i could just compile it as easy by pressing compile as the readme says but that isn't the case. i get this error. does anyone know how to add the libs in visual c++ 6?
--------------------Konfiguration: SimpleMUD - Win32 Debug--------------------
Kompilierung läuft...
DatabasePointer.cpp
c:\users\frigg\desktop\simplemud\simplemud\entity.h(14) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'BasicLib/BasicLib.h': No such file or directory
Enemy.cpp
...
can't add whole error log because of limit of characters
| top |
|
Posted by
| Vaishaks89
(1 post) bio
|
Date
| Reply #20 on Mon 04 Jul 2011 02:52 PM (UTC) |
Message
| 'TransXML.exe': Loaded 'C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\x64\kloehk.dll', Cannot find or open the PDB file
'TransXML.exe': Loaded 'C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\x64\sbhook64.dll', Cannot find or open the PDB file
This is the error I am getting while using visual studio ultimate version.
I am unable to load the PDB file from this folder. I do not know why the compiler loads the .dll files from kaspersky folder.
Is there any way to disable this folder from being loaded.
Is there any way I could solve the issue.
| top |
|
Posted by
| Thorbenn
(25 posts) bio
|
Date
| Reply #21 on Thu 18 Aug 2011 01:55 PM (UTC) |
Message
| Hi,
no idea because i noticed that the created executable under vs 2010 would only work once after compiling and then starting it. after that you couldn't start it again because when you wanted to log in via telnet you always lost connection and your exe would crash. I got me a cheap for dummies book with the vc++ 6 author compiler in it. Only bad thing is you are not permitted to redistriubte the executable and only use it for yourself not with friends etc from how i understood the license. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
62,142 views.
This is page 2, subject is 2 pages long:
1
2
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.