Author Topic: Compiling CS in winows  (Read 1722 times)

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #15 on: June 03, 2004, 09:01:02 pm »
well, with mingw I think you need the crystal space \"mingwlibs\" package?  I don\'t know much about it, but it might include libjpeg & company.

Does MSVC stop when it hits an error?  If so, can you disable that behaviour?
Quidquid latine dictum sit, altum sonatur.

Taldor

  • Hydlaa Citizen
  • *
  • Posts: 255
  • Tinker (traveling merchant)
    • View Profile
    • Bloodclaw
(No subject)
« Reply #16 on: June 03, 2004, 09:07:30 pm »
Quote
Originally posted by dfryer
well, with mingw I think you need the crystal space \"mingwlibs\" package?  I don\'t know much about it, but it might include libjpeg & company.

I installed it, but the files are missing so they aren\'t included, i think.

Quote

Does MSVC stop when it hits an error?  If so, can you disable that behaviour?

Yes it stops. No I can\'t (is it possible?)

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #17 on: June 03, 2004, 09:18:03 pm »
The best place to go is the #crystalspace channel on irc.freenode.net, if you do IRC.  There\'s often a couple people there who use MSVC - I don\'t have access to a copy right now so I can\'t help you.

I would suspect that the csmingwlibs package that you installed either isn\'t correctly installed, or maybe is the wrong version?  Or, maybe I\'m delusional and it doesn\'t have things like libjpeg in it at all.

Another place to go for help is the crystal-main mailinglist (crystal-main at sourceforge.net), you can sign up through the sourceforge page.
Quidquid latine dictum sit, altum sonatur.

Taldor

  • Hydlaa Citizen
  • *
  • Posts: 255
  • Tinker (traveling merchant)
    • View Profile
    • Bloodclaw
(No subject)
« Reply #18 on: June 03, 2004, 09:40:53 pm »
i read somewhere on another forum that the dlls i was looking for could be named diffrently, so they were included but under another name...

Now no more dlls are required but i get a windows message:
Quote
(Translated from dutch)CS Standard Application: walktest.exe - Application erro The instruction op 0x657ae092 points to memory on 0x000000000. \'Read\' on the memory failed.

OK to end the program
Cancel to trace errrors in the program

I have had the same error with other applications as well (including planeshift)
I think i understan what is means (a segmentation fault), but i have no idea why these errors occur.

(i have 512 mb ram, a p4@2.8Ghz and Gforce4MX 440, ...)
« Last Edit: June 04, 2004, 11:50:11 am by Taldor »

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #19 on: June 03, 2004, 10:27:03 pm »
Can you provide a backtrace?

Also, I\'m assuming you\'re using current CVS versions of planeshift, CS and CEL?

Thanks,
Daniel
Quidquid latine dictum sit, altum sonatur.

Taldor

  • Hydlaa Citizen
  • *
  • Posts: 255
  • Tinker (traveling merchant)
    • View Profile
    • Bloodclaw
(No subject)
« Reply #20 on: June 04, 2004, 12:09:46 pm »
Yep, I use the CVS versions.

Now the walktest.exe quits after loading (i can see a dos-window but it dissapears before i can read it)

Then i ran another ot these CS programs (tbtut.exe) an the i had another segmentation fault, here\'s the backtrace (I hope this is what you mean)
Quote

...
657AE046   add         byte ptr [eax],al
657AE048   add         byte ptr [eax],al
657AE04A   add         byte ptr [eax],al
657AE04C   add         byte ptr [eax],al
657AE04E   add         byte ptr [eax],al
657AE050   add         byte ptr [eax],al  <- here\'s the error
657AE052   add         byte ptr [eax],al
657AE054   add         byte ptr [eax],al
657AE056   add         byte ptr [eax],al
657AE058   add         byte ptr [eax],al
657AE05A   add         byte ptr [eax],al
657AE05C   add         byte ptr [eax],al
657AE05E   add         byte ptr [eax],al
...

Taldor

  • Hydlaa Citizen
  • *
  • Posts: 255
  • Tinker (traveling merchant)
    • View Profile
    • Bloodclaw
(No subject)
« Reply #21 on: July 20, 2004, 04:42:39 pm »
I\'m trying to compile CS again (with MSVC6). There were many unincluded files, but i found them all after a while. But now there are some undeclared identifiers:
Quote
Compiling...
freefnt2.cpp
D:\\C++\\CVS\\CS\\CS\\plugins\\font\\server\\freefnt2\\freefnt2.cpp(246) : error C2065: \'FT_ENCODING_UNICODE\' : undeclared identifier
D:\\C++\\CVS\\CS\\CS\\plugins\\font\\server\\freefnt2\\freefnt2.cpp(323) : error C2065: \'FT_Activate_Size\' : undeclared identifier
D:\\C++\\CVS\\CS\\CS\\plugins\\font\\server\\freefnt2\\freefnt2.cpp(397) : error C2065: \'FT_LOAD_TARGET_MONO\' : undeclared identifier
D:\\C++\\CVS\\CS\\CS\\plugins\\font\\server\\freefnt2\\freefnt2.cpp(443) : error C2065: \'FT_RENDER_MODE_NORMAL\' : undeclared identifier
Error executing cl.exe.
grpall_newrenderer.lib - 4 error(s), 0 warning(s)

[EDIT] i deleted the project, just as the other  projects that give errors, but when grall_newrenderer is built walktest crashes.

Here\'s another warning, sprcal3d seemed me important
Quote
Compiling...
sprcal3d.cpp
D:\\C++\\CVS\\CS\\CS\\plugins\\mesh\\sprcal3d\\object\\sprcal3d.cpp(1336) : error C2039: \'calculateVertex\' : is not a member of \'CalPhysique\'
        ..\\..\\include\\csws/cal3d/physique.h(36) : see declaration of \'CalPhysique\'
D:\\C++\\CVS\\CS\\CS\\plugins\\mesh\\sprcal3d\\object\\sprcal3d.cpp(1456) : error C2039: \'calculateVertex\' : is not a member of \'CalPhysique\'
        ..\\..\\include\\csws/cal3d/physique.h(36) : see declaration of \'CalPhysique\'
D:\\C++\\CVS\\CS\\CS\\plugins\\mesh\\sprcal3d\\object\\sprcal3d.cpp(1525) : error C2039: \'calculateVertex\' : is not a member of \'CalPhysique\'
        ..\\..\\include\\csws/cal3d/physique.h(36) : see declaration of \'CalPhysique\'
D:\\C++\\CVS\\CS\\CS\\plugins\\mesh\\sprcal3d\\object\\sprcal3d.cpp(1528 ) : error C2039: \'calculateVertex\' : is not a member of \'CalPhysique\'
        ..\\..\\include\\csws/cal3d/physique.h(36) : see declaration of \'CalPhysique\'
D:\\C++\\CVS\\CS\\CS\\plugins\\mesh\\sprcal3d\\object\\sprcal3d.cpp(1531) : error C2039: \'calculateVertex\' : is not a member of \'CalPhysique\'
        ..\\..\\include\\csws/cal3d/physique.h(36) : see declaration of \'CalPhysique\'
D:\\C++\\CVS\\CS\\CS\\plugins\\mesh\\sprcal3d\\object\\sprcal3d.cpp(1934) : error C2039: \'removeAction\' : is not a member of \'CalMixer\'
        ..\\..\\include\\csws/cal3d/mixer.h(38 ) : see declaration of \'CalMixer\'
Error executing cl.exe.
grpall_newrenderer.lib - 6 error(s), 0 warning(s)

(I have the same problems when I try to build grall_typical.)
« Last Edit: July 20, 2004, 11:49:50 pm by Taldor »