Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: __bairagi

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,471

    Linking error in visual studio C++ 2010

    I am using MS visual studio 2010 for building a C project. My project uses flex and bison for parsing purpose. When I build the project there is no error in compiling but error in linking.
    ...
  2. Replies
    0
    Views
    2,473

    adding yacc and bison

    Hi ,

    Could you please suggest me at least something on this problem. I have been battling with this issue from some last days.

    I am going to port the C project that was for unix into windows....
  3. Custom Linking in Microsoft visual Studio

    Hi,

    I am new in the MS Visual Studio.Please help me how would i do the following.

    I would like to set the rules for custom linking during the build process.Lets say I have five source files...
  4. Re: How would I know which lib is missing during the linkage ?

    Hello GCDEF,

    Thanks for your reply.I don't have such documentation in the project. Or may be I could not get you well,could you please elaborate your answer.
  5. How would I know which lib is missing during the linkage ?

    I am using MSVS 2010 for a C project. This project compiles but I get the error during compilation. The error is following:


    error LNK2019: unresolved external symbol _CreateRelation referenced...
  6. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    To overcome those error, I just renamed those Keywords into another name appending some number like CONTEXT1, which gives meaning to my source code and does not conflict with header files as well.
  7. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    I found the solution for these kind of error messages.

    1. For the error C2040 in my case, CONTEXT in my source code was defined as structure . Same Keyword in the
    header file winnt.h it is...
  8. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    Hello VictorN,

    Thanks a lot for your help.It really worked for my after removing the the header file <sys/time.h>. But still I am bugging with the error which is the last one amongst many errors....
  9. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    Hi,
    Thanks for your reply.I think my VS contains some header files of cygwin. Following is the version it is showing. Do you think it is error in installation of visual studio? or I did some...
  10. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    Hi,

    once I remove winsock2.h I get the following errors:



    >C:\Program Files\Microsoft Visual Studio 10.0\VC\include\sys/time.h(20): error C2061: syntax error : identifier 'suseconds_t'...
  11. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    I am not so sure about it. I have not included <sys/time.h> in the header file and I have no idea why it is showing the inclusion of <sys/time.h>. Could you please let me know what exactly I have to...
  12. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    Hi,
    Probably you are right and you are right in the sense these code are cross platform code.
    I have been using visual studio 2010 professional. So far I know , i think the SDK installed is right...
  13. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    Hello VladimirF,

    Thanks for your reply. Actually I am newbie in MS visual studio. I have source files which i want to compile in MSVS. I may be missing some basic stuffs, so please let me know...
  14. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    Here are my includes.

    #ifdef HAVE_CONFIG_H
    #include "config.h"
    #endif

    #ifdef HAVE_WINDOWS_H
    #include <windows.h>
    #endif
  15. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    Hi,

    The surprising thing is that I am getting error in header file.so,the snippet of code where the error has occured

    struct timeval {
    time_t tv_sec;
    suseconds_t tv_usec;
    };

    in the...
  16. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    Hi VictorN

    Thanks for the reply. Yes you are right, I got rid of those error but i am encountering other errors like

    rror C2011: 'timeval' : 'struct' type redefinition

    I hope you could help...
  17. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    The problem is all about timing behviour.My source file includes time.h, which defines the structure timeval. The definition of timeval in the time.h is:

    struct timeval {
    time_t tv_sec; ...
  18. Replies
    27
    Views
    18,615

    Re: Getting problem with using struct timeval

    Do you think i need to enable SDK environment and need to include winsock2.h instead of time.h? Do you have any idea ?
  19. Replies
    27
    Views
    18,615

    Getting problem with using struct timeval

    Hi all,

    I am us ing MS visual studio 2010 for compiling the C source code. While compiling I am getting the problem with header file time.h.The problem is , I get the error

    "undefined...
Results 1 to 19 of 20


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center