Bug #885

luabind (On Windows Breaks Compiling)

Added by Kane about 5 years ago. Updated about 5 years ago.

Status:Closed Start date:05/11/2010
Priority:Urgent Due date:
Assignee:kervala % Done:

100%

Category:Build
Target version:Version 0.8.0

Description

changeset 102 e69ec247b8a7

Using this external: 593/external_stlport_lua51.7z

Compiling the Client or Server I get the following issue this example is from the client but the server is exactly the same:
18>lua_ihm.cpp
18>D:\SOURCECODE\external\include\luabind/detail/ref.hpp(87) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/ref.hpp(88) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/ref.hpp(100) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/inheritance.hpp(86) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/inheritance.hpp(93) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/inheritance.hpp(102) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>lua_helper.cpp
18>D:\SOURCECODE\external\include\luabind/detail/ref.hpp(87) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/ref.hpp(88) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/ref.hpp(100) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/inheritance.hpp(86) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/inheritance.hpp(93) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>D:\SOURCECODE\external\include\luabind/detail/inheritance.hpp(102) : error C2065: 'you_must_not_use_assert___use_nl_assert___read_debug_h_file' : undeclared identifier
18>list_sheet_base.cpp

History

#1 Updated by Kane about 5 years ago

RC offered a fix not sure if its a hack or fix since I don't know much yet but here you go:

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.

http://dev.ryzom.com/boards/17/topics/1555#message-1558

#2 Updated by kervala about 5 years ago

Or define NL_MAP_ASSERT in your project :p

#3 Updated by kervala about 5 years ago

  • Status changed from New to Assigned
  • Assignee set to kervala

#4 Updated by kervala about 5 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r104.

#5 Updated by kervala about 5 years ago

  • Target version set to Version 0.8.0

#6 Updated by vl about 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF