Skip to content
This repository was archived by the owner on Jul 10, 2021. It is now read-only.
This repository was archived by the owner on Jul 10, 2021. It is now read-only.

Code::Blocks #3

@lawrencegoetz

Description

@lawrencegoetz

In the following directory:
C:\Users\Lawrence\Documents\Codeblocks\OculusMinimalExample\build

I ran the following to create a Code::Blocks Project for the Oculus:
cmake .. cmake .. -G "CodeBlocks - MinGW Makefiles" -DCMAKE_CXX_FLAGS="-std=c++11" -DCMAKE_C_FLAGS="-std=c++11"

However, when I build the project in Code::Blocks I get the following error:
CMakeFiles\Makefile2|71|recipe for target 'CMakeFiles/OculusMinimalExample.dir/all' failed|
C:\Users\Lawrence\Documents\Codeblocks\OculusMinimalExample\build\Makefile|82|recipe for target 'all' failed|

Target rules for target CMakeFiles/OculusMinimalExample.dir

# All Build rule for target. CMakeFiles/OculusMinimalExample.dir/all: ext/MinGW-Makefiles/glm/CMakeFiles/glm.dir/all CMakeFiles/OculusMinimalExample.dir/all: ext/MinGW-Makefiles/boostconfig/CMakeFiles/boostconfig.dir/all CMakeFiles/OculusMinimalExample.dir/all: ext/MinGW-Makefiles/oglplus/CMakeFiles/oglplus.dir/all CMakeFiles/OculusMinimalExample.dir/all: ext/MinGW-Makefiles/LibOVR/CMakeFiles/LibOVR.dir/all CMakeFiles/OculusMinimalExample.dir/all: ext/MinGW-Makefiles/glfw/CMakeFiles/glfw.dir/all CMakeFiles/OculusMinimalExample.dir/all: ext/MinGW-Makefiles/glew/CMakeFiles/glew.dir/all $(MAKE) -f CMakeFiles\OculusMinimalExample.dir\build.make CMakeFiles/OculusMinimalExample.dir/depend $(MAKE) -f CMakeFiles\OculusMinimalExample.dir\build.make CMakeFiles/OculusMinimalExample.dir/build @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=C:\Users\Lawrence\Documents\Codeblocks\OculusMinimalExample\build\CMakeFiles --progress-num=9,10 "Built target OculusMinimalExample" .PHONY : CMakeFiles/OculusMinimalExample.dir/all

Is there a different way I should be running cmake (or settings to change the Code::Blocks) to get the project to compile properly to not have a recipe error?

Thanks,

Lawrence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions