Grum Report post Posted September 11, 2007 check if the directory exceptions/ exists. If not cvs up -d Share this post Link to post Share on other sites
kibora Report post Posted September 12, 2007 (edited) Are we officially moving to cal3d 0.11. I can work around the errors with 0.10 but i have no idea what to do with the 0.11 ones elfilewrapper.cpp.\io\elfilewrapper.cpp(151) : error C2440: 'return' : cannot convert from 'CalCoreAnimationPtr' to 'CalCoreAnimation *' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called .\io\elfilewrapper.cpp(163) : error C2440: 'return' : cannot convert from 'CalCoreMaterialPtr' to 'CalCoreMaterial *' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called ..... and also cal3d_wrapper.cpp.\cal3d_wrapper.cpp(7) : error C2491: 'CalModel_GetAttachedMesh' : definition of dllimport function not allowed .\cal3d_wrapper.cpp(12) : error C2491: 'CalCoreSkeleton_Scale' : definition of dllimport function not allowed .\cal3d_wrapper.cpp(18) : error C2491: 'CalMixer_ExecuteAction_Stop' : definition of dllimport function not allowed ..... Edited September 12, 2007 by kibora Share this post Link to post Share on other sites
Beaverhunter Report post Posted September 13, 2007 I get the Cal errors mentioned above aswell as: 1>sendvideoinfo.cpp 1>.\sendvideoinfo.cpp(126) : error C2039: 'transform' : is not a member of 'std' 1>.\sendvideoinfo.cpp(126) : error C3861: 'transform': identifier not found Share this post Link to post Share on other sites
Grum Report post Posted September 13, 2007 1>sendvideoinfo.cpp 1>.\sendvideoinfo.cpp(126) : error C2039: 'transform' : is not a member of 'std' 1>.\sendvideoinfo.cpp(126) : error C3861: 'transform': identifier not found I can't help with the Cal errors, but hopefully this one's fixed. Torg, sound.c still doesn't compile with DEBUG, but I wasn't sure on how to fix it: sound.c: In function ‘print_sound_sources’: sound.c:5000: error: ‘source_data’ has no member named ‘sound_type’ Share this post Link to post Share on other sites
Beaverhunter Report post Posted September 14, 2007 (edited) Oki, Grum nice, that fixed those errors. For Cal when upgrading to 0.11 rc2 I only get this on linking: 1>Linking... 1>cal3d.lib(cal3d.dll) : error LNK2005: _CalSkeleton_GetBoneBoundingBox already defined in cal3d_wrapper.obj 1>cal3d.lib(cal3d.dll) : error LNK2005: _CalSkeleton_CalculateBoundingBoxes already defined in cal3d_wrapper.obj 1>C:\dev\Eternal Lands\EternalLands.exe : fatal error LNK1169: one or more multiply defined symbols found Ooh and also: elconfig.obj : error LNK2001: unresolved external symbol _video_info_sent If I use USE_SEND_VIDEO_INFO. Edited September 14, 2007 by Beaverhunter Share this post Link to post Share on other sites
kibora Report post Posted September 14, 2007 And i get only these ones now .\cal3d_wrapper.cpp(7) : error C2491: 'CalModel_GetAttachedMesh' : definition of dllimport function not allowed.\cal3d_wrapper.cpp(12) : error C2491: 'CalCoreSkeleton_Scale' : definition of dllimport function not allowed .\cal3d_wrapper.cpp(18) : error C2491: 'CalMixer_ExecuteAction_Stop' : definition of dllimport function not allowed .\cal3d_wrapper.cpp(23) : error C2491: 'CalMixer_RemoveAction' : definition of dllimport function not allowed .\cal3d_wrapper.cpp(28) : error C2491: 'CalMixer_SetAnimationTime' : definition of dllimport function not allowed .\cal3d_wrapper.cpp(33) : error C2491: 'CalCoreAnimation_Scale' : definition of dllimport function not allowed .\cal3d_wrapper.cpp(38) : error C2491: 'CalCoreMesh_Scale' : definition of dllimport function not allowed .\cal3d_wrapper.cpp(43) : error C2491: 'CalSkeleton_GetBoneBoundingBox' : definition of dllimport function not allowed .\cal3d_wrapper.cpp(48) : error C2491: 'CalSkeleton_CalculateBoundingBoxes' : definition of dllimport function not allowed Share this post Link to post Share on other sites
Florian Report post Posted September 14, 2007 interface.c does not compile w/o NEW_FILE_IO interface.c: In function 'save_markings': interface.c:1175: error: 'configdir' undeclared (first use in this function) Share this post Link to post Share on other sites
kibora Report post Posted September 15, 2007 Finally compiled it but had to change cal3d_wrapper.cpp to look like this: #include <cal3d/cal3d.h>#include "cal3d_wrapper.h" extern "C" CalMesh *CalModel_GetAttachedMesh(CalModel *self,int i) { return self->getVectorMesh(); } extern "C" enum CalBoolean CalMixer_ExecuteAction_Stop(CalMixer *self, int id, float delayIn, float delayOut) { return self->executeAction(id, delayIn, delayOut, 1.0f,true) ? True : False; } extern "C" void CalMixer_SetAnimationTime(CalMixer *self, float animationTime) { self->setAnimationTime(animationTime); } extern "C" CAL3D_WRAPPER_API void CalCoreSkeleton_Scale(CalCoreSkeleton *self,float factor); extern "C" CAL3D_WRAPPER_API void CalMixer_RemoveAction(CalMixer *self,int id); extern "C" CAL3D_WRAPPER_API void CalCoreAnimation_Scale(CalCoreAnimation *self, float factor); extern "C" CAL3D_WRAPPER_API void CalCoreMesh_Scale(CalCoreMesh *self,float factor); extern "C" CAL3D_WRAPPER_API void CalSkeleton_GetBoneBoundingBox(CalSkeleton *self, float *min, float *max); extern "C" CAL3D_WRAPPER_API void CalSkeleton_CalculateBoundingBoxes(struct CalSkeleton *self); Share this post Link to post Share on other sites
Grum Report post Posted September 15, 2007 Fixed missing include for OSX && !NEW_FILE_IO. Beaverhunter, you'll probably ave to add sendvideoinfo.h and sendvideoinfo.cpp to your project somehow. Having never used MSVC myself, I don't know how to do that. Share this post Link to post Share on other sites
Florian Report post Posted September 15, 2007 (edited) w/o NEW_FILE_IO: shader/shader.c: In function 'load_shader': shader/shader.c:42: error: 'el_file_ptr' undeclared (first use in this function) shader/shader.c:42: error: (Each undeclared identifier is reported only once shader/shader.c:42: error: for each function it appears in.) shader/shader.c:42: error: expected ';' before 'file' shader/shader.c:45: error: 'file' undeclared (first use in this function) @kibora: there's a new thread for cal3d issues: http://www.eternal-lands.com/forum/index.php?showtopic=37182 /EDIT when I tried to open the config dialogue: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000006 0x0004cc8a in elconfig_populate_tabs () at elconfig.c:2334 2334 label_height= widget_find(elconfig_tabs[tab_id].tab, label_id)->len_y; (gdb) bt full #0 0x0004cc8a in elconfig_populate_tabs () at elconfig.c:2334 i = 93 tab_id = 5 label_id = 106 widget_id = 65619 widget_height = 20 label_height = 18 y = 18 min = (void *) 0x563d000 max = (void *) 0x563d020 interval = (float *) 0x563df40 i_min_func = (int_min_max_func *) 0x563e170 i_max_func = (int_min_max_func *) 0x563e190 f_min_func = (float_min_max_func *) 0x563df00 f_max_func = (float_min_max_func *) 0x563df20 #1 0x0004d42d in display_elconfig_win () at elconfig.c:2406 our_root_win = 0 #2 0x0006a147 in view_window (window=0x240d28, id=15) at hud.c:687 No locals. #3 0x0006a3f7 in click_icons_handler (win=0x5994910, mx=509, my=17, flags=67108864) at hud.c:744 data = (int *) 0x240d28 id = 15 #4 0x00051899 in click_in_window (win_id=4, x=509, y=770, flags=67108864) at elwindows.c:1373 win = (window_info *) 0x5994910 mx = 509 my = 17 W = (widget_list *) 0x0 ret_val = 0 time = 1763910 #5 0x0004da55 in click_in_windows (mx=509, my=770, flags=67108864) at elwindows.c:182 done = 0 id = -5 next_id = -4 first_win = -1 i = 4 #6 0x00056ef0 in HandleEvent (event=0xbfffe970) at events.c:258 done = 0 mouse_delta_x = 0 mouse_delta_y = 0 key = 0 flags = 67108864 Edited September 15, 2007 by Florian Share this post Link to post Share on other sites
JasperCat Report post Posted September 18, 2007 Strange things happen to my inv numbers. Hi guys, just grabbed a latest CVS and did a default 'make release', works a treat as always but all the numbers in the bottom of my inv have changed, ie was 1 10 25 100 300 1000, now has 100 300 1000 360 638, or something like that. Very strange. Also my windows are all over the place. I keep 3 copies of CVS binaries, the previous one is fine, but on connecting I got a read the rules and wait 5 secs, very odd, but the inv numbers are what I expect, and the windows are where I expect them. Its not a problem to correct, just real odd. Did I miss something, I've not read the Programming forum for a while JasperCat Linux 32 bit, default make.default no changes. Ubuntu 7.04 fully updated, nothing too weird. Share this post Link to post Share on other sites
Torg Report post Posted September 19, 2007 Hi guys, just grabbed a latest CVS and did a default 'make release', works a treat as always but all the numbers in the bottom of my inv have changed, ie was 1 10 25 100 300 1000, now has 100 300 1000 360 638, or something like that. Very strange. Also my windows are all over the place. I keep 3 copies of CVS binaries, the previous one is fine, but on connecting I got a read the rules and wait 5 secs, very odd, but the inv numbers are what I expect, and the windows are where I expect them. You will see the rules screen if you don't have an el.cfg file and I think if the el.cfg file is invalid/corrupt. From reading the thread it looks like the changes that Kibora made and Grum committed change the el.cfg, which might cause this. The difference in the defaults for the numbers is a bit strange however. Share this post Link to post Share on other sites
kibora Report post Posted September 19, 2007 Yes, try deleting el.cfg and it should work fine Share this post Link to post Share on other sites
Florian Report post Posted September 19, 2007 when I tried to open the config dialogue: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000006 0x0004cc8a in elconfig_populate_tabs () at elconfig.c:2334 2334 label_height= widget_find(elconfig_tabs[tab_id].tab, label_id)->len_y; (gdb) bt full #0 0x0004cc8a in elconfig_populate_tabs () at elconfig.c:2334 i = 93 tab_id = 5 label_id = 106 widget_id = 65619 widget_height = 20 label_height = 18 y = 18 min = (void *) 0x563d000 max = (void *) 0x563d020 interval = (float *) 0x563df40 i_min_func = (int_min_max_func *) 0x563e170 i_max_func = (int_min_max_func *) 0x563e190 f_min_func = (float_min_max_func *) 0x563df00 f_max_func = (float_min_max_func *) 0x563df20 #1 0x0004d42d in display_elconfig_win () at elconfig.c:2406 our_root_win = 0 ... Am I the only one with this problem? Share this post Link to post Share on other sites
Grum Report post Posted September 19, 2007 Am I the only one with this problem? So far, I can't reproduce it. Does it always happen when you open the config tool. If so, does it always crash with the same values for i = 93 tab_id = 5 label_id = 106 widget_id = 65619 ? Share this post Link to post Share on other sites
Florian Report post Posted September 19, 2007 (edited) Yes, always i = 93 tab_id = 5 label_id = 106 widget_id = 65619 /EDIT -DELC -DOSX -DALUT_WAV -DAFK_FIX -DALPHA_ACTORS -DATI_9200_FIX -DAUTO_UPDATE -DCOUNTERS -DCUSTOM_LOOK -DCUSTOM_UPDATE -DEYE_CANDY -DFONTS_FIX -DFUZZY_PATHS -DIDLE_FIX -DMASKING -DNEW_ACTOR_ANIMATION -DNEW_TEX -DOGG_VORBIS -DOPTIONS_I18N -DPNG_SCREENSHOT -DSFX -DSIMPLE_LOD -DUSE_INLINE -DZLIB -DCXX_MISC -DUSE_SEND_VIDEO_INFO -DUSE_SHADER -DMINIMAP -DGL_EXTENSION_CHECK -DCLICKABLE_CONTINENT_MAP -DNEW_WEATHER -DNEW_ALPHA -DPAWN -DNEW_LIGHTING -DNEW_ACTOR_SCALE -DCLUSTER_INSIDES -DDYNAMIC_ANIMATIONS -DNEW_SOUND -DNEW_FILE_IO -D_REENTRANT Edited September 19, 2007 by Florian Share this post Link to post Share on other sites
Grum Report post Posted September 20, 2007 (edited) Looks like the widget_find() returns NULL. The strange thing is that you seem to have a valid label_id. Does it also happen when you turn OPTIONS_I18N off? Edited September 20, 2007 by Grum Share this post Link to post Share on other sites
Raz Report post Posted September 20, 2007 A really strange one..... I did a full #sto command - all appeared correctly on screen, but in the chat.log file it was truncated. Loading it into a text editor, and replacing <CR> with X, it gave a line length of 4095. Changed the items in my store and repeated... exactly 4095 again... I cannot be sure that I am on exactly the latest CVS build - but I guess this is a long standing bug - that should be easy to check. (I know it is my own fault for having so much junk in my store.....) Rr. Share this post Link to post Share on other sites
Grum Report post Posted September 20, 2007 A really strange one..... I did a full #sto command - all appeared correctly on screen, but in the chat.log file it was truncated. Loading it into a text editor, and replacing <CR> with X, it gave a line length of 4095. Changed the items in my store and repeated... exactly 4095 again... Yes, a buffer of 4096 characters was used. Can you update CVS and check if it's fixed now? Share this post Link to post Share on other sites
Aislinn Report post Posted September 20, 2007 Am I the only one with this problem? So far, I can't reproduce it. Does it always happen when you open the config tool. If so, does it always crash with the same values for i = 93 tab_id = 5 label_id = 106 widget_id = 65619 ? I had this problem too, back in the beginning of August. I am not sure what info I can give you or what you need, but I know I was trying out some of the extra stuff like skybox etc. Everything else seemed to work fine, only the elconfig window crashed me. (windows user here btw, no debugger info). I posted but nobody had experienced it apparently at that time, and nobody had any help to offer so I gave up and went back to an older compile and am still using the older one with no extra goodies enabled. Let me know if there is anything I can tell you to try to help. Share this post Link to post Share on other sites
Roja Report post Posted September 20, 2007 The client also crashes for me if I click the config window in the newest cvs build. Also the continent maps are not showing up at all in the map view. This is the first time I ever had these problems show up..just got the cvs build today. The last cvs build I had that does not have these bugs is from 8/28. Share this post Link to post Share on other sites
Grum Report post Posted September 20, 2007 (edited) I may have found the cause for the crashing config window, but since I didn't experience the problem in the first place, I can't really test it. Beats me why it works here though, either I got extremely lucky, or it should've crashed here too. Anyway, can you guys update CVS and tell me if it's fixed? EDIT: Roja, continent maps show up fine on my end. Do you have CLICKABLE_CONTINENT_MAP set? In fact, what are your build options? Edited September 20, 2007 by Grum Share this post Link to post Share on other sites
Florian Report post Posted September 20, 2007 (edited) Index: io/elc_io.c =================================================================== RCS file: /cvsroot/elc/elc/io/elc_io.c,v retrieving revision 1.10 diff -u -d -p -r1.10 elc_io.c --- io/elc_io.c 20 Sep 2007 16:03:43 -0000 1.10 +++ io/elc_io.c 20 Sep 2007 19:42:33 -0000 @@ -1,6 +1,10 @@ #include <string.h> #include <SDL_endian.h> -#include <malloc.h> +#ifdef OSX + #include <sys/malloc.h> +#else + #include <malloc.h> +#endif /* OSX */ #include "elc_io.h" #include "../errors.h" fix for OSX ... and options windows works again Edited September 20, 2007 by Florian Share this post Link to post Share on other sites
Roja Report post Posted September 20, 2007 I compiled with & without the clickable cont map, and also w/o the minimap. These were the options i normally compile with aside from the defaults: FEATURES += CLICKABLE_CONTINENT_MAP FEATURES += NEW_ACTOR_SCALE FEATURES += NEW_FILE_IO FEATURES += NEW_WEATHER Anyway, just tried another ocmpile and got an error: In file included from main.c:31: elconfig.h:33: error: 'BOOL' redeclared as different kind of symbol C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:227: error: previous declaration of 'BOOL' was here elconfig.h:35: error: 'FLOAT' redeclared as different kind of symbol C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:235: error: previous declaration of 'FLOAT' was here elconfig.h:36: error: 'INT' redeclared as different kind of symbol C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:243: error: previous declaration of 'INT' was here make.exe: *** [main.o] Error 1 Execution terminated Share this post Link to post Share on other sites
Aislinn Report post Posted September 20, 2007 My errors with only default options set: Compiler: Default compiler Building Makefile: "C:\Documents and Settings\shariebeth\Desktop\elc\Makefile.win" Executing make... make.exe -f "C:\Documents and Settings\shariebeth\Desktop\elc\Makefile.win" all gcc.exe -c 2d_objects.c -o 2d_objects.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include/SDL" -I"C:/Dev-Cpp/include/AL" -w gcc.exe -c 3d_objects.c -o 3d_objects.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include/SDL" -I"C:/Dev-Cpp/include/AL" -w 3d_objects.c: In function `draw_3d_object_detail': 3d_objects.c:82: error: `cur_time' undeclared (first use in this function) 3d_objects.c:82: error: (Each undeclared identifier is reported only once 3d_objects.c:82: error: for each function it appears in.) make.exe: *** [3d_objects.o] Error 1 Execution terminated I tried earlier with notepad, skybox, clickable continent map, and new weather and got what roja got, so I tried with just defaults to see what would happen. Share this post Link to post Share on other sites