cant compile paperdoll #16
Comments
@hosna I don't an extensive support plan for a proof-of-concept project like paperdoll and that's why I don't have it on github. Nevertheless, the error seems to be a C++ runtime issue. What exactly is the compile error you get? You will need to successfully compile the code in the current platform. |
Error using mex
In file included from /BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/GCoptimization.h:109:0,
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:328:91: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:207:22: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:220:22: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:235:23: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:236:24: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:237:24: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:245:24: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:246:23: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:247:24: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/energy.h:251:22: note: declarations in dependent base ‘Graph<int, int, long long int>’ are
In file included from /BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/GCoptimization.h:111:0,
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/maxflow.cpp:485:126: warning: deprecated conversion from string constant to ‘char_’
In file included from /BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/GCoptimization.h:110:0,
In file included from /BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/graph.h:43:0,
/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/src/block.h: In instantiation of ‘Type* DBlock::New() [with Type = Graph<int, int, long
Error in GCO_BuildLib (line 67) Error in make (line 14) |
I already try it but the patch file is not working. I also download the package somewhere else but still I have same problem to build it. |
@hosna Did you really apply the patch? What error did you get when applying a patch? |
sattar@ganymede:/BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0$ patch -p1 < gco-patch.txt The text leading up to this was:|diff --git a/lib/gco-v3.0/GCO_BuildLib.m b/lib/gco-v3.0/GCO_BuildLib.m |+++ b/lib/gco-v3.0/GCO_BuildLib.mFile to patch: GCO_BuildLib.m The text leading up to this was:|diff --git a/lib/gco-v3.0/src/energy.h b/lib/gco-v3.0/src/energy.h |+++ b/lib/gco-v3.0/src/energy.h |
@hosna Seems you are placing the patch file at a wrong location... |
its in the folder I was in! |
sattar@wks-12-22:~$ cd /BS/wild-search-gaze/work/paperdoll-v1.0/paperdoll-v1.0/lib/gco-v3.0/ The text leading up to this was:|diff --git a/lib/gco-v3.0/GCO_BuildLib.m b/lib/gco-v3.0/GCO_BuildLib.m |+++ b/lib/gco-v3.0/GCO_BuildLib.mFile to patch: |
@hosna according to your output,
|
thanks. it works. |
Hi,
sorry to write it here, i was not able to find a repo for paper doll. I can not compile the paper doll. it seems I have some problem with gco, if I comment it out everything else will work, then when I type in
Error in detect_fast>passmsg (line 128)
[score0(:,:,k),Ix0(:,:,k),Iy0(:,:,k)] = shiftdt(child.score(:,:,k), child.w(1,k), child.w(2,k), child.w(3,k), child.w(4,k),child.startx(k),child.starty(k),Nx,Ny,child.step);
Error in detect_fast (line 43)
[msg,parts(k).Ix,parts(k).Iy,parts(k).Ik] = passmsg(parts(k),parts(par));
Error in pose.estimate>process (line 38)
box = detect_fast(im, model, detector_threshold);
Error in pose.estimate (line 21)
boxes{i} = process(model, samples{i}, scale, nms_threshold);
Error in pose_calculator.apply (line 24)
samples(i).(config.output) = pose.estimate(config.model, ...
Error in feature_calculator.apply (line 25)
sample = calculators{j}(config{j}, sample, varargin{:}, 'Encode', false);
result =
can you help me with it please?
The text was updated successfully, but these errors were encountered: