Errors Compiling... Please help.

Added by MMOInteractive over 8 years ago

I started out last night trying to compile. I did not have the latest DirectX SDK so the build failed with a bunch of errors. I then downloaded and installed the latest DirectX SDK and as a result my VS2008 include, lib, and possibly other paths have gotten all messed up. It is unable to find ws2_32.lib which I use with my own MMO Engine I was trying to program which used ws2_32.lib and I was compiling that just yesterday. So that tells me that the paths did in fact get messed up as a result of DX10 SDK's installation.

Could some one give me all the paths that I should have in VS2008 both includes and lib paths and anything else that could be messed up. Here are all the errors I am now getting:

Error 10 fatal error LNK1181: cannot open input file 'ws2_32.lib' net net
Error 16 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\ref.hpp 87 client
Error 17 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\ref.hpp 88 client
Error 18 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\ref.hpp 100 client
Error 19 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\inheritance.hpp 86 client
Error 20 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\inheritance.hpp 93 client
Error 21 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\inheritance.hpp 102 client
Error 22 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\ref.hpp 87 client
Error 23 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\ref.hpp 88 client
Error 24 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\ref.hpp 100 client
Error 25 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\inheritance.hpp 86 client
Error 26 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\inheritance.hpp 93 client
Error 27 error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier C:\NEL\include\luabind\detail\inheritance.hpp 102 client
Error 28 fatal error LNK1181: cannot open input file 'kernel32.lib' driver_direct3d driver_direct3d
Error 29 fatal error LNK1181: cannot open input file 'opengl32.lib' driver_opengl driver_opengl
Error 30 fatal error LNK1181: cannot open input file 'kernel32.lib' driver_fmod driver_fmod
Error 31 fatal error LNK1181: cannot open input file 'winmm.lib' admin_service admin_service
Error 32 fatal error LNK1181: cannot open input file 'kernel32.lib' gpm_service gpm_service
Error 33 fatal error LNK1181: cannot open input file 'kernel32.lib' mirror_service mirror_service
Error 34 fatal error LNK1181: cannot open input file 'kernel32.lib' frontend_service frontend_service
Error 38 fatal error LNK1181: cannot open input file 'kernel32.lib' ai_service ai_service
Error 39 fatal error LNK1181: cannot open input file 'kernel32.lib' backup_service backup_service
Error 40 fatal error LNK1181: cannot open input file 'kernel32.lib' dynamic_scenario_service dynamic_scenario_service
Error 41 fatal error LNK1181: cannot open input file 'kernel32.lib' input_output_service input_output_service
Error 42 fatal error LNK1181: cannot open input file 'kernel32.lib' monitor_service monitor_service
Error 43 fatal error LNK1181: cannot open input file 'kernel32.lib' pd_reference_builder pd_reference_builder
Error 47 fatal error LNK1181: cannot open input file 'kernel32.lib' entities_game_service entities_game_service
Error 48 fatal error LNK1181: cannot open input file 'kernel32.lib' mail_forum_service mail_forum_service
Error 49 fatal error LNK1181: cannot open input file 'kernel32.lib' persistant_data_service persistant_data_service
Error 50 fatal error LNK1181: cannot open input file 'kernel32.lib' session_browser_server session_browser_server
Error 51 fatal error LNK1181: cannot open input file 'kernel32.lib' shard_unifier_service shard_unifier_service
Error 52 fatal error LNK1181: cannot open input file 'kernel32.lib' tick_service tick_service
Error 53 fatal error LNK1181: cannot open input file 'kernel32.lib' ryzom_welcome_service ryzom_welcome_service
Error 54 fatal error LNK1181: cannot open input file 'kernel32.lib' ryzom_admin_service ryzom_admin_service
Error 55 fatal error LNK1181: cannot open input file 'kernel32.lib' ryzom_naming_service ryzom_naming_service
Error 57 fatal error LNK1181: cannot open input file 'kernel32.lib' logger_service logger_service

Thanks for any and all help you guys can provide!


Replies (7)

RE: Errors Compiling... Please help. - Added by rc over 8 years ago

For the C2065 error you can simply change "assert" to "nlassert" (not the included cassert) in the following files

inheritance.hpp
ref.hpp
policy.hpp

in your "C:\NEL\include\luabind\detail\" folder.
Afterward you just hit build solution in your VS2008 and it should work.

Good luck.
NB- this is however not gonna fix the LNK1181 error.

RE: Errors Compiling... Please help. - Added by kervala over 8 years ago

All your "you_must_not_use_assert___use_nl_assert___read_debug_h_file" should be fixed now :)

RE: Errors Compiling... Please help. - Added by MMOInteractive over 8 years ago

yeah I fixed it in my code last night. Now everything is compiled but having problems getting the client to connect to the servers. It just stays at the connecting screen.

RE: Errors Compiling... Please help. - Added by rc over 8 years ago

MMOInteractive wrote:

yeah I fixed it in my code last night. Now everything is compiled but having problems getting the client to connect to the servers. It just stays at the connecting screen.

If the server is not located on a local network it could be due to you referring to local ip's in some of your configurations.
Edit: or now that I come to think of it, it might actually be a local, or wrong defined ip in the sql.

RE: Errors Compiling... Please help. - Added by MMOInteractive over 8 years ago

I got it working thanks to RBrian in the chatroom. There was a hidden place in one of the server config files that I hadn't changed to my IP instead of the Open shard IP.

RE: Errors Compiling... Please help. - Added by kuo over 8 years ago

For the C2065 error you can set preprocessor definition "NL_MAP_ASSERT" for project "client"

RE: Errors Compiling... Please help. - Added by kervala over 8 years ago

It should be fixed in Mercurial :)

(1-7/7)