User Profile

Collapse

Profile Sidebar

Collapse
sana24
sana24
Last Activity: Nov 15 '06, 01:43 PM
Joined: Sep 18 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sana24
    started a topic makefile to compile C++ files and generate dll outpout
    in C

    makefile to compile C++ files and generate dll outpout

    Hi all,
    i'm using linux and i would compile c++ files and genrate a dll outpout and not an executable. can you please help me how can i write a makefile to do it?
    thank you
    See more | Go to post

  • sana24
    replied to linking error
    in C
    i include the lex.yy.o in the link but I still have the same error:
    vhdl.obj: unresolved extern symbol_yylex...
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    yes lex.yy.c is compiled into lex.yy.o, but i don't include it in the link.
    Is it the problem?...
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    yes lex.yy.c is compiled into lex.yy.o, but i don't include it in the link....
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    yes it generates lex.yy.c...
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    I have three files:
    lexx.yy.c generated by flex from vhdl.l
    vhdl.c generated by bison from vhdl.y
    main.c application to use the parser
    on linux i havn't error, in fact flex and bison are installed on linux.
    but i d'ont find a version of flex and bison on win32, just flex.exe and bison.exe to generate c files.
    How can i include the lexer specification file used by Flex to generate the lexer code,
    ...
    See more | Go to post

    Leave a comment:


  • sana24
    started a topic flex bison generated files
    in C

    flex bison generated files

    hello,
    i need to link flex and bison generated files on Microsoft visual studio. But I have this error:
    vhdl.obj : error LNK2001: unresolved external symbol _yylex
    I think that there is a library missed.
    Note: these file work on linux and in the link i hav'nt problem, i use yhe -lfl option to link. But in windows, i don't know the problem
    Can you please help me!!
    See more | Go to post

  • sana24
    replied to linking error
    in C
    But this code work well on linux. The problem on linux we use the option -lfl in the link. But on windows i don't know a flex library.
    I want to link files generated by flex and bison on visual studio C++.
    but i have this error:
    vhdl.obj : error LNK2001: unresolved external symbol _yylex
    I think that there is a flex library missed. But i don't find a win32 version of flex library.
    Can you please help me...
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    NO, but In the code there is
    extern "C"
    {int yylex(void);}...
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    i don't understand you?what is the problem?...
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    I changed the type of my projetc win32 application to win32 consol application.
    I have now one error just:
    vhdl.obj : error LNK2001: unresolved external symbol _yylex...
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    I check it main.o is supplied to the linker...
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    In addition, i have a main.c which is an application using this parser...
    See more | Go to post

    Leave a comment:


  • sana24
    replied to linking error
    in C
    vhdl.o is from vhdl.c, this file is generated by bison. My application is a vhdl parser....
    See more | Go to post

    Leave a comment:


  • sana24
    started a topic linking error
    in C

    linking error

    Hello all,
    I use microsoft visual studio 6.0 and i have this error when I try to built my application :

    vhdl.obj : error LNK2001: unresolved external symbol _yylex
    LIBCD.lib(wincr t0.obj) : error LNK2001: unresolved external symbol _WinMain@16
    Debug/parseur_vhdl.ex e : fatal error LNK1120: 2 unresolved externals
    Error executing link.exe.
    parseur_vhdl.ex e - 3 error(s), 0 warning(s)


    Any...
    See more | Go to post

  • sana24
    started a topic what is this error!!!!!!!!!!!!!!!!!!!
    in C

    what is this error!!!!!!!!!!!!!!!!!!!

    hello, i have this error when i compile a c++ file:
    database.cpp: In member function `QPEDataBaseIte rator
    QPEDataBase::fi ndFirstChildWit hName(QPEDataBa seIte rator, QCString)':
    database.cpp:19 6: choosing `bool QArray<type>:pe rator==(const QArray<type>&)
    const [with type = char]' over `bool operator==(cons t char*, const
    QCString&)'
    database.cpp:19 6: because worst conversion for the former...
    See more | Go to post

  • sana24
    started a topic c++ compilation error
    in C

    c++ compilation error

    hello, i have this error when i compile a c++ file:
    database.cpp: In member function `QPEDataBaseIte rator
    QPEDataBase::fi ndFirstChildWit hName(QPEDataBa seIterator, QCString)':
    database.cpp:19 6: choosing `bool QArray<type>::o perator==(const QArray<type>&)
    const [with type = char]' over `bool operator==(cons t char*, const
    QCString&)'
    database.cpp:19 6: because worst conversion for the former...
    See more | Go to post
No activity results to display
Show More
Working...