Search:

Type: Posts; User: colt

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    5,016

    Keep in mind that the code is not mine, I am...

    Keep in mind that the code is not mine, I am building the program and end facing this error. I read the last link, but that will not be enough for me to solve the error. I can post the assembly code...
  2. Replies
    3
    Views
    5,016

    Relocation error against undefined symbol

    Hi, When building a certain software, I receive this error message during the link stage:


    /usr/bin/ld: _obj/device/r4300/x86_64/dyna_start.o: relocation R_X86_64_PC32 against undefined symbol...
  3. That was the case. I changed it to the 2.6.12,...

    That was the case. I changed it to the 2.6.12, because configure's gtk detection test looks a bit more organized for my personal taste.

    Anyway, I finally had enough time to give a good look in...
  4. Do you mean my own conftest (as configure remove...

    Do you mean my own conftest (as configure remove its conftest?). It shows a million libraries, among them
    /usr/lib/libgtk-x11-2.0.so.0

    Currently checking the gtk detection code to see if I...
  5. Based on the above comment I tried to add: ...

    Based on the above comment I tried to add:
    -L/media/34GB/Arquivos-de-Programas-Linux/Gtk+-2.24.20/lib/ -lgtk-x11-2.0" to the LDFLAGS. Yet now I am receiving:
    configure:28134: checking for GTK+ -...
  6. Undefined reference when building gtk applications

    Hello. I have been trying to build gimp from source. Yer, every time I execute configure, it fails with a message


    *** Could not run GTK+ test program, checking why...
    *** The test program...
  7. Replies
    4
    Views
    3,022

    I was talking what would be used to do a bitwise...

    I was talking what would be used to do a bitwise '&' with the most significant bits of width and height (from bit 8 to 31). With '0xFF' being 1111 1111, I suppose that when doing the bitwise...
  8. Replies
    4
    Views
    3,022

    Bitwise mask operations to write targa file

    Hello. I did write some code to write a targa file in the disk.
    The code I came up is this:


    ofs.put (width & 0xFF), ofs.put ((width >> 8) & 0xFF);
    ofs.put (height & 0xFF), ofs.put...
  9. Ah, I see know what you meant by "variable-sized...

    Ah, I see know what you meant by "variable-sized array". A simple "const" solved it. Thanks.
  10. No, just a fixed size one. Bellow the full code:...

    No, just a fixed size one. Bellow the full code:


    #include <iostream>

    using namespace std;

    struct Vec3f {
    float x,y,z;
    };
  11. Is it possible to pass a reference to a fixed size array of non primitive type?

    Hello. I want to pass to a certain function, a reference to a fixed size array of a user defined struct "Sphere":


    void trace (Image& image, Sphere (&sphere_array) [3]) {

    However this results...
  12. Multiple definition issue when using static const

    Hello, I defined this as a private member of my class:


    static const Vec3f normals [7];

    and then try to initialize it outside the class:


    const Vec3f BVolume::normals [7] =...
  13. I solved it using namespace, but I am in doubt...

    I solved it using namespace, but I am in doubt from where the std swap was coming from. The only thing I was calling, was #include <iostream>




    But it is not bad for the performance if the...
  14. Call to templated function is ambiguous when using float

    Hello, I have this function:


    template <typename T>
    void swap (T& arg1, T& arg2) {
    T& tmp = arg1;
    arg1 = arg2;
    arg2 = tmp;
    }
  15. Issue creating objects with inheritance and initializater list

    Hello. I want to combine a constructor that simultaneously uses an initializer list together with inheritance. My problem is that I am receiving these error messages:



    Bellow a sample code that...
Results 1 to 15 of 15