I gave VSCode a try but i am a bit struggling...
I can run and compile and debug janus 💪, so the environment should be setup properly.
Where i am struggling is the proper config within the c_cpp_properties.json for vscode to browse through all the files.
I took the defines from the make output.
But i am likely missing some include paths which the configure and make
properly
handle but i am not fully aware of.
(I´ve been coding c++ since 20 years under windows which is kind of different to the way things are done in unix/linux)
I placed the current c_cpp_properties.json i am using in pastbin:
If i am now browsing the code several headers are not resolved and i am struggling in finding the proper reference for them.
e.g.
* struct timeval
* struct addrinfo
** incomplete type is not allowed (timeval addrinfo are not resolved)
* identifier "uint" is undefined
* identifier "IFNAMSIZ" is undefined
* references to mach in mach_gettime.h
Would you share your vscode config to check whats missing on my side?
Thanks in advance,
have a great weekend and nice people around you,
i need to go to hospital tomorrow get rid of some (dead) metal in my shoulder :)
Jan