fopen from <stdio.h> will return NULL #3582
              
                
                  
                  
                    Answered
                  
                  by
                    cielavenir
                  
              
          
                  
                    
                      linrongbin16
                    
                  
                
                  asked this question in
                Q&A
              
            -
| Hi, I'm trying to open a file in pybind11 module and write something into it. But  Would you please help me with that ? Actually I'm trying to use spdlog for logging in pybind11 module, and it seems not work as well. | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            cielavenir
          
      
      
        Jan 12, 2022 
      
    
    Replies: 1 comment 1 reply
-
| have you created "log" dir first? | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        linrongbin16
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
have you created "log" dir first?