Linux compiling error: HousingPackets.cpp
Posted: Mon May 13, 2013 8:09 pm
Jab fixed this and a handful of other errors that popped up so linux should compile without issue now.
Code: Select all
/HousingPackets.cpp -o Housing/HousingPackets.o
Housing/HousingPackets.cpp:2:22: error: ../world.h: No such file or directory
Housing/HousingPackets.cpp:6: error: âWorldâ does not name a type
Housing/HousingPackets.cpp: In static member function âstatic void ClientPacketFunctions::SendHousePurchace(Client*, HouseZone*, int32)â:
Housing/HousingPackets.cpp:11: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:12: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:14: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:15: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:16: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:17: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:18: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:20: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:22: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:28: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:31: error: âto_stringâ is not a member of âstdâ
Housing/HousingPackets.cpp:31: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:35: error: âto_stringâ is not a member of âstdâ
Housing/HousingPackets.cpp:35: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:41: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:48: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:48: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:50: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:50: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp: In static member function âstatic void ClientPacketFunctions::SendBaseHouseWindow(Client*, HouseZone*, PlayerHouse*, int32)â:
Housing/HousingPackets.cpp:64: error: invalid use of incomplete type âstruct PlayerHouseâ
Housing/../ClientPacketFunctions.h:24: error: forward declaration of âstruct PlayerHouseâ
Housing/HousingPackets.cpp:67: error: invalid use of incomplete type âstruct PlayerHouseâ
Housing/../ClientPacketFunctions.h:24: error: forward declaration of âstruct PlayerHouseâ
Housing/HousingPackets.cpp:69: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:71: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:72: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:73: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
Housing/HousingPackets.cpp:74: error: invalid use of incomplete type âstruct PlayerHouseâ
Housing/../ClientPacketFunctions.h:24: error: forward declaration of âstruct PlayerHouseâ
Housing/HousingPackets.cpp:77: error: invalid use of incomplete type âstruct PlayerHouseâ
Housing/../ClientPacketFunctions.h:24: error: forward declaration of âstruct PlayerHouseâ
Housing/HousingPackets.cpp:78: error: invalid use of incomplete type âstruct PlayerHouseâ
Housing/../ClientPacketFunctions.h:24: error: forward declaration of âstruct PlayerHouseâ
Housing/HousingPackets.cpp: In static member function âstatic void ClientPacketFunctions::SendHouseVisitWindow(Client*, std::vector<PlayerHouse*, std::allocator<PlayerHouse*> >)â:
Housing/HousingPackets.cpp:109: error: âworldâ was not declared in this scope
Housing/HousingPackets.cpp:109: error: invalid use of incomplete type âstruct PlayerHouseâ
Housing/../ClientPacketFunctions.h:24: error: forward declaration of âstruct PlayerHouseâ
Housing/HousingPackets.cpp:111: error: invalid use of incomplete type âstruct PlayerHouseâ
Housing/../ClientPacketFunctions.h:24: error: forward declaration of âstruct PlayerHouseâ
Housing/HousingPackets.cpp:112: error: invalid use of incomplete type âstruct PlayerHouseâ
Housing/../ClientPacketFunctions.h:24: error: forward declaration of âstruct PlayerHouseâ
Housing/HousingPackets.cpp:113: error: invalid use of incomplete type âstruct HouseZoneâ
Housing/../ClientPacketFunctions.h:23: error: forward declaration of âstruct HouseZoneâ
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include IRC/IRC.cpp -o IRC/IRC.o
make: *** [Housing/HousingPackets.o] Error 1