Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Vs2010 compile fcgi2 error #25

Open
372979131 opened this issue May 15, 2019 · 2 comments
Open

Windows Vs2010 compile fcgi2 error #25

372979131 opened this issue May 15, 2019 · 2 comments

Comments

@372979131
Copy link

1、fcgiapp.c, need use C++ compile。
2、os_win32.c need c compile.

But,when other lib link fcgi.lib,I get some errors:
function in fcgios.h can,t be found.
I guss, may be compiled win32.c wthis C ,so can,t found os_read .... funcion.
how can i fix this situation

8>Time Elapsed 00:00:00.78
10> Creating library ........\bin\plugins\libexchange.lib and object ........\bin\plugins\libexchange.exp
10>fcgi.lib(fcgiapp.obj) : error LNK2001: unresolved external symbol __imp_OS_ShutdownPending
10>fcgi.lib(fcgiapp.obj) : error LNK2001: unresolved external symbol __imp_OS_Write
10>fcgi.lib(fcgiapp.obj) : error LNK2001: unresolved external symbol __imp_OS_Read
10>fcgi.lib(fcgiapp.obj) : error LNK2001: unresolved external symbol __imp_OS_IpcClose
10>fcgi.lib(fcgiapp.obj) : error LNK2001: unresolved external symbol __imp_OS_CreateLocalIpcFd
10>fcgi.lib(fcgiapp.obj) : error LNK2001: unresolved external symbol __imp_OS_LibInit
10>fcgi.lib(fcgiapp.obj) : error LNK2001: unresolved external symbol __imp_OS_IsFcgi
10>fcgi.lib(fcgiapp.obj) : error LNK2001: unresolved external symbol __imp_OS_Accept
10>........\bin\plugins\libexchange.dll : fatal error LNK1120: 8 unresolved externals

@372979131
Copy link
Author

if os_win32.c compile with C++, will build faild.
so i used C and C++ compiler in same project.

@mcarbonneaux mcarbonneaux changed the title Windwos Vs2010 compile fcgi2 error Windows Vs2010 compile fcgi2 error Oct 2, 2019
@mcarbonneaux
Copy link
Member

what compile procedure you used ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants