Squirrel

The programming language
Welcome to Squirrel Sign in | Join | Help
in Search

SQDBG compilation error

Last post 06-08-2008, 1:20 PM by fagiano. 1 replies.
Sort Posts: Previous Next
  •  06-04-2008, 5:57 AM 2557

    SQDBG compilation error

    I'm working on Windows XP 32bits  SP2.
    I have installed and properly compiled squirrel 2.2.1 stable with visual studio 2005.
    I have eclipse 3.3.2 installed and the plugin SQDEV version 1.26 installed.
    When I try to compile the latest SQDBG version (2 Oct 2005) I get the following error:

    Error    3    error C2660: 'sq_call' : function does not take 3 arguments    c:\SQUIRREL2\sqdbg\sqdbgserver.cpp    540

    The problem is in void SQDbgServer::SerializeState(): in:
    if(SQ_SUCCEEDED(sq_call(_v,1,SQTrue))){

    since sq_call parameters are: (HSQUIRRELVM v,SQInteger params,SQBool retval,SQBool raiseerror);

    I have being looking for the solution in the forum and I haven't found it. SQTrue is for raiseerror or retval? Which value should the other parameter take?

    PS: I read Alberto is working on the squirrel integration with VS. I would love to see it when ready. :)

    Thanks in advice,
    Marcos

  •  06-08-2008, 1:20 PM 2561 in reply to 2557

    Re: SQDBG compilation error

    you should put an SQFalse on both, it doesn't really make a big difference anyway(for this case)

    if(SQ_SUCCEEDED(sq_call(_v,1,SQFalse,SQFalse)))

    The VS integration, is currently on hold, is at the top of my todo list. I ensure soon as is ready I'll release it online. 

    Another thing about VS integration, for anybody who reads this. If you have experience with the VS SDK/VS projects system and you want to give me some help, I would be very happy, VS documentation got me quite confused on the topic :).

    ciao

    Alberto

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems