Search:

Type: Posts; User: starshiptrooper

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    34
    Views
    15,752

    Oh. I must've missed that part. Yes I'm not used...

    Oh. I must've missed that part. Yes I'm not used to programming on windows, so I guess I took it for granted that ffmpeg would work... Now it makes sense. Back to the drawing board I guess. Much...
  2. Replies
    34
    Views
    15,752

    I'm using Windows 7 (there is part of the code...

    I'm using Windows 7 (there is part of the code that is neither ffmpeg related, nor mine, that I'm having to integrate with, which is why, earlier, just disabling PCH for the entire project wasn't a...
  3. Replies
    34
    Views
    15,752

    Oh it's not mine at all. I've got my C++ code...

    Oh it's not mine at all. I've got my C++ code that's trying to use certain functions from libav. I found some example code online:

    FFmpeg: libavformat/output-example.c Source File

    All I did was...
  4. Replies
    34
    Views
    15,752

    That makes perfect sense. I realized I was...

    That makes perfect sense. I realized I was including iostream, which is a c++ library. That took away the cmath errors. Now I'm getting other errors, but they're with a different library I'm working...
  5. Replies
    34
    Views
    15,752

    Found out about the relationship between cmath...

    Found out about the relationship between cmath and math.h (they are basically, in a way, the same. No such thing as cmath.h)

    This raises many questions about why I am getting all those syntax...
  6. Replies
    34
    Views
    15,752

    Yes, I saw that about Yc and Yu. I finally...

    Yes, I saw that about Yc and Yu. I finally figured out that there's no disabling pch option for .h files is what I was doing wrong. So I was able to disable it on the .c file. Now I get new errors,...
  7. Replies
    34
    Views
    15,752

    Actually, that wasn't for what I thought it was....

    Actually, that wasn't for what I thought it was. Yc[filename] is something else...
  8. Replies
    34
    Views
    15,752

    Nevermind, I did a bit more research and found...

    Nevermind, I did a bit more research and found out about the Yc[filename] option. Let me try it out. Thanks.
  9. Replies
    34
    Views
    15,752

    I tried, but when properties comes up, there are...

    I tried, but when properties comes up, there are only the following choices:

    Excluded from Build: (yes or no)
    Item Type:

    and the only category available is Configuration Properties, with...
  10. Replies
    34
    Views
    15,752

    The c code is in separage files, but same...

    The c code is in separage files, but same project. How do I disable PCH for individual files?
  11. Replies
    34
    Views
    15,752

    As I said, it's not really a choice because it's...

    As I said, it's not really a choice because it's part of a larger project that uses the precompiled header. Some of the other code was written by somebody else.
  12. Replies
    34
    Views
    15,752

    That was the first thing I tried. But it gave me...

    That was the first thing I tried. But it gave me this error, which now I will post verbatim:



    precompiled header file is from a previous version of the compiler, or the precompiled header is...
  13. Replies
    34
    Views
    15,752

    Problem now seems to be that I don't know hot to...

    Problem now seems to be that I don't know hot to add a .c source file to my visual c++ project (which is using precompiled headers. It's part of a larger project so I better not fool with that). Only...
  14. Replies
    34
    Views
    15,752

    Oh, that makes sense. Thanks for the link. Yeah,...

    Oh, that makes sense. Thanks for the link. Yeah, it's not really my code, I got it from a website and was trying it out. I guess for their purposes it was static, but it makes sense that it wouldn't...
  15. Replies
    34
    Views
    15,752

    This is my exact function header on my .h file: ...

    This is my exact function header on my .h file:



    static void video_decode(const char *outfile, const char *infile);


    and on my .c file:
  16. Replies
    34
    Views
    15,752

    Oh, it's the other way around, my C++ file has to...

    Oh, it's the other way around, my C++ file has to access C functions, all written by me. It's a lot of code, though. Give me a minute and I'll get a paraphrased version posted.

    But the error is:
    ...
  17. Replies
    34
    Views
    15,752

    Just to be clear, that would be my C++ header...

    Just to be clear, that would be my C++ header file, right? If so, then basically do you need to prototype the functions again, but in an extern "C" block?

    Also, yeah I was wrong. I just tried and...
  18. Replies
    34
    Views
    15,752

    I am using Visual C++ 2010 express, by the way,...

    I am using Visual C++ 2010 express, by the way, which kinda complicates things, because I can't just include a .c file in my project...
  19. Replies
    34
    Views
    15,752

    calling C functions from C++ code

    I've been having issues with this lately. I have written a .h file and a .c file, both with c code. I tried to include them in my project by following this tutorial:

    [32] How to mix C and C++...
  20. Replies
    7
    Views
    5,206

    Oh, ok, compression/decompression. That makes...

    Oh, ok, compression/decompression. That makes sense for my purposes, since I'm trying to compress to h263 and possibly decompress back to mpeg/avi.
  21. Replies
    7
    Views
    5,206

    Also, to clarify, I have a method which uses...

    Also, to clarify, I have a method which uses libavcodec.

    However, avcodec_find_decoder(CODEC_ID_H263) always returns null, however, which is what leads me to believe that despite having...
  22. Replies
    7
    Views
    5,206

    Yes, I have. Just didn't get it. And still kinda...

    Yes, I have. Just didn't get it. And still kinda don't. I think my brain is stuck on wanting to think it is something other than it actually isn't and it's just confusing me. I'll look into...
  23. Replies
    7
    Views
    5,206

    h.263 codec

    Hello, again, everyone.

    After searching and searching and reading a bit on a few websites and the book "Voice and Data Communications Handbook" by Regis J. Bates and Donald W. Gregory, I've...
  24. Of course! I just double checked and that was the...

    Of course! I just double checked and that was the difference. The full version of Visual Studio 2010 does have the 64 bit compiler. VC++ express only comes with x86. Thanks!
  25. Correction: I am not even entire sure what this...

    Correction: I am not even entire sure what this Visual C++ express 2010 version is. I thought it was x64 but I went back to the page I got it from (Visual C++ 2010 Express | Microsoft Visual Studio)...
Results 1 to 25 of 29
Page 1 of 2 1 2