Code

Programming Languages: C++

License: Boost Software License (BSL1.0)

Repositories

browse code, statistics, last commit on 2012-04-11 http://dclib.hg.sourceforge.net:8000/hgroot/dclib/dclib (read-only)

Show:

What's happening?

  • Followup: RE: Help compiling DLIB 17.46 in VS2010

    No problem :) If you use [code]const int T7 = 0; [/code] you won't get these kinds of errors in the future. Cheers, Davis.

    2012-05-26 14:11:58 PDT by davisking

  • Followup: RE: Help compiling DLIB 17.46 in VS2010

    You are right. I indeed used "#define" to define some macros. But I didn't use them in place of type def. I did define macros like "#define T7 0". I think they might have caused some problems. Thanks a lot for your prompt replies :)

    2012-05-26 13:51:27 PDT by sajaygsurya

  • Followup: RE: Help compiling DLIB 17.46 in VS2010

    No problem. Usually header file inclusion order doesn't matter. My guess is that your custom header has some #define statements in it which #define common words to have other meanings? For example, if you had something like this in your header it would break everything: [code]#define type int[/code] since this would replace the word "type" with int in all subsequent code...

    2012-05-26 11:34:00 PDT by davisking

  • Followup: RE: Help compiling DLIB 17.46 in VS2010

    The order in which I included the header file was the problem. I'm sorry for not trying the example files a priori. The problem was that I included a home made header file before including the library's header files. But I'm not sure why that's a problem, I'm just a beginner. Thanks a lot Sir.

    2012-05-26 10:24:18 PDT by sajaygsurya

  • Followup: RE: Help compiling DLIB 17.46 in VS2010

    What is in your code you are trying to compile? The problem might be in there. Also, have you tried to compile any of the dlib example programs? They should work (I compile them often in visual studio 2010).

    2012-05-26 09:16:09 PDT by davisking

  • Followup: RE: Help compiling DLIB 17.46 in VS2010

    Ye Sir, I did, I did add "$(BCIK)\Include\dir_dlib" to my include directories where BCIK is an environment variable with value s:\projects\bcicad\program\kernel.

    2012-05-26 09:13:29 PDT by sajaygsurya

  • Followup: RE: Help compiling DLIB 17.46 in VS2010

    Did you add s:\projects\bcicad\program\kernel\include\dir_dlib to your include search path?.

    2012-05-26 08:58:44 PDT by davisking

  • Followup: RE: Help compiling DLIB 17.46 in VS2010

    I'm sorry to invoke an old thread again, but the link in the old thread (for a new version) is dead :(.

    2012-05-26 08:19:19 PDT by sajaygsurya

  • Help compiling DLIB 17.46 in VS2010

    Respected Sir, I'm new to DLIB. I could see it has everything that I need to work on my current college project. I'm currently using Microsoft Visual Studio 2010 Ultimate (C++). I could not compile my program properly when i include "dlib/svm.h" The compiler shows a lot of errors within header files in DLIB. I saw that you used #include "../xxxxxx.h" and...

    2012-05-26 08:18:01 PDT by sajaygsurya

  • Followup: RE: CMake / NMake Fails to Build

    I never use nmake so I'm not sure what the problem is. I assume you are able to build other applications on your computer using nmake and cmake? If so, then my guess is that the add_subdirectory() statement in your CMakeLists.txt file is something like add_subdirectory(../dlib dlib_build). Maybe nmake doesn't work with cmake when the add_subdirectory() is given folders that aren't really...

    2012-05-10 14:40:17 PDT by davisking

Our Numbers