EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Compile Error : AddNimbusEffect (https://www.eqemulator.org/forums/showthread.php?t=41542)

Yard Dogg 10-09-2017 04:23 AM

Compile Error : AddNimbusEffect
 
Got these compile errors after grabbing latest commit to Git. Build: 14 succeeded, 1 failed, 0 up-to-date, 0 skipped (This is just on a test box)

Code:

14>D:\Source Compile\zone\lua_mob.cpp(1689): error C2039: 'AddNimbusEffect': is not a member of 'Lua_Mob'
14>d:\source compile\zone\lua_hate_list.h(7): note: see declaration of 'Lua_Mob'
14>D:\Source Compile\zone\lua_mob.cpp(1690): error C2065: 'd_': undeclared identifier
14>D:\Source Compile\zone\lua_mob.cpp(1690): error C2065: 'NativeType': undeclared identifier
14>D:\Source Compile\zone\lua_mob.cpp(1690): error C2065: 'self': undeclared identifier
14>D:\Source Compile\zone\lua_mob.cpp(1690): error C2061: syntax error: identifier 'NativeType'
14>D:\Source Compile\zone\lua_mob.cpp(1691): error C2065: 'self': undeclared identifier
14>D:\Source Compile\zone\lua_mob.cpp(1691): error C2227: left of '->AddNimbusEffect' must point to class/struct/union/generic type
14>D:\Source Compile\zone\lua_mob.cpp(1691): note: type is 'unknown-type'
14>Unknown compiler version - please run the configure tests and report the results
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2039: 'AddNimbusEffect': is not a member of 'Lua_Mob'
14>d:\source compile\zone\lua_hate_list.h(7): note: see declaration of 'Lua_Mob'
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2440: 'type cast': cannot convert from 'void (__cdecl *)(int)' to 'void (__thiscall Lua_Mob::* )(int)'
14>D:\Source Compile\zone\lua_mob.cpp(2375): note: There is no context in which this conversion is possible
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2672: 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def': no matching overloaded function found
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2784: 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified> &luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def(luabind::detail::operator_<Derived>)': could not deduce template argument for 'luabind::detail::operator_<Derived>' from 'const char [16]'
14>D:\Source Compile\luabind\luabind/class.hpp(732): note: see declaration of 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def'
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2780: 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified> &luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def(luabind::detail::operator_<Derived>,const Policies &)': expects 2 arguments - 1 provided
14>D:\Source Compile\luabind\luabind/class.hpp(722): note: see declaration of 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def'
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2780: 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified> &luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def(luabind::constructor<A0,A1,A2,A3,A4,A5,A6,A7,A8,A9>,const Policies &)': expects 2 arguments - 1 provided
14>D:\Source Compile\luabind\luabind/class.hpp(603): note: see declaration of 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def'
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2784: 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified> &luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def(luabind::constructor<A0,A1,A2,A3,A4,A5,A6,A7,A8,A9>)': could not deduce template argument for 'luabind::constructor<A0,A1,A2,A3,A4,A5,A6,A7,A8,A9>' from 'const char [16]'
14>D:\Source Compile\luabind\luabind/class.hpp(597): note: see declaration of 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def'
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2780: 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified> &luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def(const char *,F,Default,const Policies &)': expects 4 arguments - 1 provided
14>D:\Source Compile\luabind\luabind/class.hpp(588): note: see declaration of 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def'
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2780: 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified> &luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def(const char *,F,DefaultOrPolicies)': expects 3 arguments - 1 provided
14>D:\Source Compile\luabind\luabind/class.hpp(580): note: see declaration of 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def'
14>D:\Source Compile\zone\lua_mob.cpp(2375): error C2780: 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified> &luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def(const char *,F)': expects 2 arguments - 1 provided
14>D:\Source Compile\luabind\luabind/class.hpp(571): note: see declaration of 'luabind::class_<Lua_Mob,Lua_Entity,luabind::detail::unspecified,luabind::detail::unspecified>::def'
14>D:\Source Compile\zone\lua_mob.cpp(2376): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2377): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2378): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2379): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2380): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2381): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2382): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2383): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2384): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2385): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2386): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2387): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2388): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2389): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2390): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2391): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2392): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2393): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2394): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2395): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2396): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2397): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2398): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2399): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2400): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2401): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2402): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2403): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2404): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2405): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2406): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2407): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2408): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2409): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2410): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2411): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2412): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2413): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2414): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2415): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2416): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2417): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2418): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2419): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2420): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2421): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2422): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2423): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2424): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2425): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2426): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2427): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2428): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2429): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2430): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2431): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2432): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2433): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2434): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2435): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2436): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2437): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2438): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2439): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2440): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2441): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2442): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2443): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2444): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2445): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2446): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2447): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2448): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2449): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2450): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2451): error C2228: left of '.def' must have class/struct/union
14>D:\Source Compile\zone\lua_mob.cpp(2452): error C2228: left of '.def' must have class/struct/union


joligario 10-09-2017 06:58 AM

Just built fine for me. Did you just BUILD or did you CLEAN first?

Yard Dogg 10-09-2017 07:35 AM

Thanks for your reply. I've never needed to run clean, since I empty out the build folder
completely after each compile. (and clear cmake cache) I keep the downloaded source in a
seperate folder and copy over to the compile folder for each build.
But anyways, what I just did now, was wipe out the whole "GitPull" folder and run a fresh
pull ("git clone git") and then it compiled properlu for me so not sure of initial cause.

Since we are on this compile error topic. I had a minor question. Even though the following
issue never seems to trouble anything, it shows up all the time when I run configure in
Cmake,

Performing Test FMT_CPP11_UNISTD_H
Performing Test FMT_CPP11_UNISTD_H - Failed
Performing Test HAVE_STD_GNUPP11_FLAG
Performing Test HAVE_STD_GNUPP11_FLAG - Failed

Is this anything to be concerned about ?


All times are GMT -4. The time now is 02:17 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.