digitalmars.D.learn - Who can give me some advice about importC?
- Zoe (10/10) Jul 27 2023 Sorry, my English is not very good. I rely entirely on the
Sorry, my English is not very good. I rely entirely on the translator to translate. I used the DMD compiler on the WINDOWS platform to try IMPORT C. I tried GLFW,YOGA, added a predefined part, precompiled it into an I file with cl.exe, then compiled it with dll, and then imported it into the I file by importing the d file. This approach is successful, but it always conflicts with libcurt symbols when compiling directly in lib mode. I don't know how to solve it. I don't know what will happen to the I file and lib file in this way, please give me some suggestions.
Jul 27 2023