how to set environment variable for codelite C++ compiler

asked 2015-07-02 08:30:18 -0600

Hello,

I'm trying to setup open cv in windows and trying to find out the environment variable for following environment: 64-bit windows, Codelite C++ compiler. What is the acronym for "Codelite" compiler like it's "vs11" for Visual studio?

Thanks, Balaji G

edit retag flag offensive close merge delete

Comments

What do you mean ? acronym for CMake?

LBerger gravatar imageLBerger ( 2015-07-02 08:36:24 -0600 )edit

we set environment variable for 64-bit windows and VS 2012 compiler as "setx -m OPENCV.........\x64\vs11 ". Similarly, what is the environment variable for 64-bit windows using codelite C++ compiler environment?

gbalaji gravatar imagegbalaji ( 2015-07-02 12:58:20 -0600 )edit

may be you should try cmake

LBerger gravatar imageLBerger ( 2015-07-02 13:09:28 -0600 )edit

I'm using codelite IDE

gbalaji gravatar imagegbalaji ( 2015-07-02 13:15:20 -0600 )edit

CMake it's not an ide like VS or codelite. It is used to help you to build your project makefile with gcc or mingw or .sln for visual studio and many other project that I have never used.

For example cmakelist to build a project using opencv :

make_minimum_required(VERSION 2.8)
PROJECT (testgaussianbox)
find_package(OpenCV  REQUIRED)
file(GLOB testgaussianbox_SRCS
    "*.h"
    "*.cpp")
ADD_EXECUTABLE (testgaussianbox ${testgaussianbox_SRCS})
if (OpenCV_FOUND)
    include_directories( ${OpenCV_INCLUDE_DIRS} )
    target_link_libraries( testgaussianbox ${OpenCV_LIBS} )
else (OpenCV_FOUND)
message("PB->OPENCV = ${OpenCV_INCLUDE_DIRS}")
endif (OpenCV_FOUND)

You open this file with cmake gui and say used codelite and that's all

LBerger gravatar imageLBerger ( 2015-07-02 13:35:31 -0600 )edit

In case my question is not clear, I looking forward to know how to set environment variable while I use win 64-bit codelite c++ compiler, and it's not related to CMake

Thanks.

gbalaji gravatar imagegbalaji ( 2015-07-03 05:14:26 -0600 )edit