You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi marcomaggi, I wrote a test program that uses static libraries(libcre2.a) directly at compile time. The program terminates during execution. How do I use static libraries(libcre2.a) to compile programs?
this is my compile command:
g++ test.cc libcre2.a libre2.a -lpthread
thank you for your help!
The text was updated successfully, but these errors were encountered:
cre2 is a C language library; you are using g++ which is a C++ language compiler. Is this the problem? What kind of error are you getting? Are the directories in which the libraries are installed in the search path of the compiler (that is: are you missing some -L command line options)?
Hi marcomaggi, I wrote a test program that uses static libraries(libcre2.a) directly at compile time. The program terminates during execution. How do I use static libraries(libcre2.a) to compile programs?
this is my compile command:
g++ test.cc libcre2.a libre2.a -lpthread
thank you for your help!
The text was updated successfully, but these errors were encountered: