PlaneShift
Support => Technical Help: IN GAME bugs (after loading world) => Topic started by: Cheradenin on February 26, 2005, 05:48:08 pm
-
Hi Everyone,
While following this here (http://laanx.fragnetics.com/index.php?page=build_gentoo) I bumped into the folling error
veldrin@Kor planeshift $ jam
...patience...
...found 1644 target(s)...
...using 31 temp target(s)...
...updating 7 target(s)...
C++ ./out/linuxx86/debug/src/common/paws/pawsobjectview.o
src/common/paws/pawsobjectview.cpp: In constructor `pawsObjectView::pawsObjectView(PawsManager*)\':
src/common/paws/pawsobjectview.cpp:40: warning: converting to `int\' from `float\'
src/common/paws/pawsobjectview.cpp: In member function `bool pawsObjectView::LoadMap(const char*, const char*)\':
src/common/paws/pawsobjectview.cpp:114: error: \'struct iLight\' has no member named \'SetAttenuation\'
src/common/paws/pawsobjectview.cpp: In member function `bool pawsObjectView::CreateMap()\':
src/common/paws/pawsobjectview.cpp:183: error: \'struct iLight\' has no member named \'SetAttenuation\'
src/common/paws/pawsobjectview.cpp: In member function `virtual bool pawsObjectView::OnMouseUp(int, int, int, int)\':
src/common/paws/pawsobjectview.cpp:430: warning: converting to `int\' from `float\'
src/common/paws/pawsobjectview.cpp: In member function `virtual bool pawsObjectView::OnMouseExit()\':
src/common/paws/pawsobjectview.cpp:441: warning: converting to `int\' from `float\'
g++ -c -o ./out/linuxx86/debug/src/common/paws/pawsobjectview.o -DCS_DEBUG -g3 -I/home/veldrin/development/CS/include -I/home/veldrin/development/cel/include -fexceptions -I. -I./include -I./src/common -I./src/client -I./src/server src/common/paws/pawsobjectview.cpp
...failed C++ ./out/linuxx86/debug/src/common/paws/pawsobjectview.o ...
...skipped libpaws.a for lack of libpaws.a(pawsobjectview.o)...
...skipped psclient for lack of libpaws.a...
...skipped pssetup for lack of libpaws.a...
...skipped updater for lack of libpaws.a...
...skipped paws_generic for lack of libpaws.a...
...skipped eedit for lack of libpaws.a...
...failed updating 1 target(s)...
...skipped 6 target(s)...
I switched the gcc to 3.3.4, to see, if I makes any diffenrence... none so far... I hope there is a solution to my problem... otherwise I\'ll try the CVS version of tomorrow....
TiA
Greets
Cheradenin
-
I have exactly the same problem.
http://www.planeshift3d.com/wbboard/thread.php?threadid=15062&boardid=17&styleid=3&sid=3fedd4847cf878fd3970ba34b636fe5f
Maybe this is a major bug?
EnnserVogt
-
In your file ../planeshift/src/common/paws/pawsobjectview.cpp file uncomment the following code line:
light->SetAttenuation( CS_ATTN_NONE );
You have to delete or uncomment this line two times. Then rebuild planeshift and report if you were successfull.
-
@ennservogt:
Yep, that solved the compile error...
currently compiling .... hope it works
Greets
Cheradenin
-
please post if everything works fine for you. I now suffer from two very wierd bugs. At first I can\'t slect anything and second is, that my info window doesn\'t work anymore.
-
This bug has been fixed by the developer ivern on Feb. 27.2005. The fixed pawsobjectview.cpp has the version number v1.21.
http://cvs.sourceforge.net/viewcvs.py/planeshift/planeshift/src/common/paws/pawsobjectview.cpp?rev=1.21&sortby=date&view=log
EnnserVogt