Search:

Type: Posts; User: jutirain

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,753

    Now I'm just not sure which part of the program...

    Now I'm just not sure which part of the program produce the memory problem.

    I've used version 2.2 and 3.0 of the implementation of this algorithm. Both of them crash only if the size is big...
  2. Replies
    4
    Views
    2,753

    I've tested the code using g++ 4.1.2 and 4.3.1,...

    I've tested the code using g++ 4.1.2 and 4.3.1, both on Ubuntu 8.10, neither of them support template function linking. I'm a little curious about why it's so hard for a compiler to implement this...
  3. Replies
    4
    Views
    2,753

    Anybody using maxflow algorithm here?

    I'm using an implementation of maxflow algorithm from here:
    http://www.adastral.ucl.ac.uk/~vladkolm/software.html
    (Please see section 3 Maxflow)

    The version 2.2 works just fine.
    However, when I...
  4. How to define a matrix with each element a fixed size vector?

    Hi, how could I define a boost::ublas::matrix with each element a fixed size vector?

    I try to define it by

    matrix< vector<double, 3> > double_matrix ;
    but get the following error:
    ...
  5. Replies
    5
    Views
    1,886

    Thanks for your information. So, if my...

    Thanks for your information.

    So, if my self-defined container hold an "is-a" relationship (I know I can do it by "has-a" relationship, however, that's awkward) with some STL container, and I want...
  6. Replies
    5
    Views
    1,886

    Hi laserlight, You're right. Using...

    Hi laserlight,

    You're right. Using operator()(x, y), my program now executes as expected.
    Thanks a lot.

    However, I'm not very sure about why STL containers should not be base classes.
  7. Replies
    5
    Views
    1,886

    Using operator "()" inside boost matrix

    Hi,

    I've wrote a class inherit from boost matrix, however, I can't figure out how to access the random access operator "()" inside the class.

    For instance, I can use "()" outside the class by...
  8. Replies
    19
    Views
    19,372

    Actually, I'm using boost::gil...

    Actually, I'm using boost::gil
    http://stlab.adobe.com/gil/

    The library wrap all the implementation into header files, thereby it even don't need a .so library file.

    I have about ten source and...
  9. Replies
    19
    Views
    19,372

    Hi matsp, You're right. Now I can compile my...

    Hi matsp,

    You're right. Now I can compile my hpp files to gch precompiled header files.
    However, I can't feel any noticeable performance gain.

    Should I do something else when I compile my...
  10. Replies
    19
    Views
    19,372

    So, how to use g++ to precompile *.hpp files? ...

    So, how to use g++ to precompile *.hpp files?

    Any idea?
  11. Replies
    19
    Views
    19,372

    I'm trying to precompile header files. So that...

    I'm trying to precompile header files.
    So that the compilation time could be reduced.

    Or, am I misunderstood how to precompile?
    Actually I'm just trying.
  12. Replies
    19
    Views
    19,372

    How can g++ recognize *.hpp header files?

    I'm using g++ 4.1.2 to compile *.hpp files,
    however, it always output:
    g++: xxx.hpp: linker input file unused because linking not done

    So, how can I make g++ recognize *.hpp files?

    Also, why...
  13. Replies
    0
    Views
    3,893

    How to use precompiled headers in GCC?

    Hi,

    I'm trying to use precompiled headers to accelerate the compilation process.

    I've found some articles about it, e.g.,
    http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html
    However, I...
  14. Replies
    0
    Views
    4,953

    How to resolve conflicts in SVN?

    Hi all,

    I'm facing a bug, and I'm not sure if the problem lies on an image library, so I commit it as revision 36, for example, and porting the program to another image library.

    After porting,...
  15. To anon: Here is the compilable example:...

    To anon:
    Here is the compilable example:
    http://graphics.csie.ntu.edu.tw/~jonathan/temp/trunk.tar
    If you're running *NIX OS, simply type "make" to compile.
    However, the source code depends on GUI...
  16. ERROR: aggregate has incomplete type and cannot be defined

    Hi all,

    I'm writing the following class for digital image inpainting:
    http://graphics.csie.ntu.edu.tw/~jonathan/temp/imgPlane.h.html...
  17. You're right. Thanks a lot!

    You're right.

    Thanks a lot!
  18. Hi Mats, Thanks for answering. And how to...

    Hi Mats,

    Thanks for answering.

    And how to fix the error in method #1, #2, respectively?
    It seems I've followed the syntax of ifeq...
  19. I'm using make 3.81 on ubuntu 7.04 I used the...

    I'm using make 3.81 on ubuntu 7.04

    I used the method #1 and the shell prompt:


    ifeq (debug, y)
    /bin/sh: Syntax error: word unexpected (expecting ")")
    make: *** [all] Error 2
  20. You're right. Thanks!

    You're right.

    Thanks!
  21. Boost Adobe gil: undefined reference for jpeg related feature

    Hi,

    I'm using g++ on ubuntu 7.04.

    I'm trying to learn adobe gil, which is a library deal with image processing and accepted by boost.
    http://opensource.adobe.com/gil/index.html
    (Anybody know...
  22. Do you mean this one?...

    Do you mean this one?
    http://graphics.csie.ntu.edu.tw/~jonathan/temp/Makefile.2.html



    whether line 27 have ${CXX} or not will output error message:
    g++ main.o ImageBox.o DoFunc.o...
  23. Thanks for help. Now my Makefile looks like...

    Thanks for help.

    Now my Makefile looks like this:
    http://graphics.csie.ntu.edu.tw/~jonathan/temp/Makefile.1.html

    However, when I "make", I got the following error message:
    g++ -c main.cpp...
  24. Conditional compilation for object files in Makefile?

    Hi,

    I have a Makefile like this:
    http://graphics.csie.ntu.edu.tw/~jonathan/temp/Makefile.html

    When I type "make", it compile each object files correctly and link to a binary file.

    However,...
  25. How to fix memory leak possibly caused by libfontconfig.so? -- implied by valgrind

    I've write a program that acts abnormally, e.g., if I resize three vectors subsequently, the second resize will alter the size of the first...

    So I guess there might be some memory leak or...
Results 1 to 25 of 33
Page 1 of 2 1 2