camera_sim icon indicating copy to clipboard operation
camera_sim copied to clipboard

question about building Halide

Open oneTaken opened this issue 5 years ago • 6 comments

Hello, I try to build Halide as your instruction.

But I was failed with the following error message:

make[1]: Entering directory '/home/deepmind/projects/camera_sim/halide/gradient_apps/gapps'
make[1]: *** No rule to make target 'build/naive_demosaick_forward', needed by 'build/naive_demosaick_forward.a'。 停止。
make[1]: Leaving directory '/home/deepmind/projects/camera_sim/halide/gradient_apps/gapps'
Makefile:3: recipe for target 'gapps' failed
make: *** [gapps] Error 2

It seems not the actural problem that I meet. Can you give more instruction about your halide version build steps?

Thanks so much.

oneTaken avatar Jun 11 '19 10:06 oneTaken

What is the output of echo $HALIDE_DIR? And could you tell me more about your environment?

On Tue, Jun 11, 2019, 5:59 AM oneTaken [email protected] wrote:

Hello, I try to build Halide as your instruction.

But I was failed with the following error message:

make[1]: Entering directory '/home/deepmind/projects/camera_sim/halide/gradient_apps/gapps'

make[1]: *** No rule to make target 'build/naive_demosaick_forward', needed by 'build/naive_demosaick_forward.a'。 停止。

make[1]: Leaving directory '/home/deepmind/projects/camera_sim/halide/gradient_apps/gapps'

Makefile:3: recipe for target 'gapps' failed

make: *** [gapps] Error 2

It seems not the actural problem that I meet. Can you give more instruction about your halide version build steps?

Thanks so much.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/12dmodel/camera_sim/issues/3?email_source=notifications&email_token=AANUQV35COWKW7P6LIDOXP3PZ6AQ3A5CNFSM4HW5CTEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYY7K5Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AANUQV6LWQ2BKJOXOAMTSILPZ6AQ3ANCNFSM4HW5CTEA .

12dmodel avatar Jun 11 '19 12:06 12dmodel

My machine environment is

Ubuntu 14.04, 
python conda environment, python3.6, pytorch 0.4.1, no cuda
llvm-config and clang both version 5.0

Same in the error message shown above, The HALIDE_DIR is /home/deepmind/projects/camera_sim/halide/gradient_apps.

I clone the gradient_apps of your version and just then run

cd gradient_apps
make

I do not know exactly where the problem is , hope this info will help you. Thanks so much.

oneTaken avatar Jun 12 '19 02:06 oneTaken

any updates on this?

nikeshkrishnan avatar Nov 16 '20 10:11 nikeshkrishnan

Same question here, any solutions?

xlying55 avatar Nov 30 '20 14:11 xlying55

Same problem, how to solve it? And the submodule touchlib link seems dead,Is this the cause of failure?

howardgriffin avatar Dec 21 '20 07:12 howardgriffin

Hello! When I run ‘generate_dataset.py’, the following error occurred: 'torch.nn.modules.module.ModuleAttributeError: 'NaiveDemosaicking' object has no attribute 'demosaicker'.' I found there was no attribute 'demosaicker' in class NaiveDemosaicking(). So, what should I do? How to do solve the problem? Thank you very much!

haikunzhang95 avatar Mar 24 '21 11:03 haikunzhang95