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
User Profile
Collapse
-
makefile to compile C++ files and generate dll outpout
-
i include the lex.yy.o in the link but I still have the same error:
vhdl.obj: unresolved extern symbol_yylex... -
yes lex.yy.c is compiled into lex.yy.o, but i don't include it in the link.
Is it the problem?...Leave a comment:
-
yes lex.yy.c is compiled into lex.yy.o, but i don't include it in the link....Leave a comment:
-
-
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,
...Leave a comment:
-
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!! -
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...Leave a comment:
-
NO, but In the code there is
extern "C"
{int yylex(void);}...Leave a comment:
-
-
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...Leave a comment:
-
-
In addition, i have a main.c which is an application using this parser...Leave a comment:
-
vhdl.o is from vhdl.c, this file is generated by bison. My application is a vhdl parser....Leave a comment:
-
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... -
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... -
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...
No activity results to display
Show More
Leave a comment: