Hello,
I have recently stumbled upon your githug repo for rtmp. You have a visual studio solution and project containing lib rtmp. This is amazing. I am finding it difficult to integrate Rtmp into my application.
I was hoping to get some guidance from you regarding it's setup.
Firstly, i am using Visual Studio 2012. I opened your project in VS2012 and changed the toolset to v11.0 and built the solution successfully.
I have a current application that i have created. Into this solution, i have added your Rtmp project again with the toolset changed to v11.0.
1) librtmp has been added to frameworks and references.
2) Added to Additional Include directories. (../../OBS-master/librtmp)
3) Added to Linker -> Input -> Additional Library directories. (../../OBS-master/librtmp/DEBUG) i.e. where the lib file is.
4) Added librtmp.lib to Additional Dependancies under Linker -> Input
5) Added #include "rtmp.h" to my code.
Everything builds fine. However, when i attempt to instantiate an RTMP object.
RTMP *r;
char uri[]="rtmp://localhost:1935/live/desktop";
r= RTMP_Alloc();
When i now build, with the includes AND the function calls from rtmp i get a number of errors including LNK2120 and LNK2005. Error list is attached in helpful.
Any ideas on this? I would really appreciate it if you were able to recall any issues you may have had with this library or you could offer a strategy i could try to resolve this issue?
Regards,
Selena
I have recently stumbled upon your githug repo for rtmp. You have a visual studio solution and project containing lib rtmp. This is amazing. I am finding it difficult to integrate Rtmp into my application.
I was hoping to get some guidance from you regarding it's setup.
Firstly, i am using Visual Studio 2012. I opened your project in VS2012 and changed the toolset to v11.0 and built the solution successfully.
I have a current application that i have created. Into this solution, i have added your Rtmp project again with the toolset changed to v11.0.
1) librtmp has been added to frameworks and references.
2) Added to Additional Include directories. (../../OBS-master/librtmp)
3) Added to Linker -> Input -> Additional Library directories. (../../OBS-master/librtmp/DEBUG) i.e. where the lib file is.
4) Added librtmp.lib to Additional Dependancies under Linker -> Input
5) Added #include "rtmp.h" to my code.
Everything builds fine. However, when i attempt to instantiate an RTMP object.
RTMP *r;
char uri[]="rtmp://localhost:1935/live/desktop";
r= RTMP_Alloc();
When i now build, with the includes AND the function calls from rtmp i get a number of errors including LNK2120 and LNK2005. Error list is attached in helpful.
Any ideas on this? I would really appreciate it if you were able to recall any issues you may have had with this library or you could offer a strategy i could try to resolve this issue?
Regards,
Selena