To addon to this, I tried building just the libged target and got a
more detailed error report :

1>------ Build started: Project: multiconfig_path, Configuration:
Debug Win32 ------
1>  Generating CMakeTmp/CURRENT_PATH/Debug.done
1>  CMake Error at CMakeTmp/multiconfig_path_read.cmake:79 (file):
1>    file Internal CMake error when trying to open file:
1>    
F:/Code/SOCIS/build/distcheck-autodetect_debug/build/bench/cmake_install.cmake.orig
1>    for reading.
1>
1>
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5):
error MSB6006: "cmd.exe" exited with code 1.
2>------ Build started: Project: timestamp, Configuration: Debug Win32 ------
2>
2>  Build Time: Sun Sep 23 14:55:10 2012
2>
3>------ Build started: Project: libged, Configuration: Debug Win32 ------
3>  simphysics.cpp
3>C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\include\winbase.h(1090): warning C4005: 'IGNORE' :
macro redefinition
3>          f:\code\socis\brlcad\include\common.h(252) : see previous
definition of 'IGNORE'
3>F:\Code\SOCIS\brlcad\src\libged\simulate\simphysics.cpp(91): warning
C4101: 'm' : unreferenced local variable
3>     Creating library F:/Code/SOCIS/build/Debug/lib/libged.lib and
object F:/Code/SOCIS/build/Debug/lib/libged.exp
3>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of
other libs; use /NODEFAULTLIB:library
3>  libged.vcxproj -> F:\Code\SOCIS\build\Debug\bin\libged.dll
========== Build: 2 succeeded, 1 failed, 21 up-to-date, 0 skipped ==========

Seems this multiconfig_path thing is making a mess.

Abhi

On Sun, Sep 23, 2012 at 2:56 PM, Abhijit Nandy <abhijit.na...@gmail.com> wrote:
> Hi,
>
> I am building BRL-CAD with Visual Studio Express 2010 and I keep
> getting these path not found errors and the build fails. Mged does
> build ok so I can continue working. I have disabled building docs and
> extra sample geometry in cmake :
>
> http://paste.ubuntu.com/1221121/
>
> Is it possible to disable the building of regression tests ?
>
> Cheers,
> Abhi
>
> On Fri, Aug 31, 2012 at 7:56 AM, Christopher Sean Morrison
> <brl...@mac.com> wrote:
>>
>> Hi Oana,
>>
>> Comments below and welcome!
>>
>> On Aug 30, 2012, at 12:31 PM, oana niculaescu wrote:
>>
>> I am trying to lower the /mged/joint command to the /libged library. Looking
>> after the calls and how other ged_*() commands are being integrated in the
>> /libged library, I did the following things :
>>
>> - in the /mged/cmd.h file I added another entry
>>
>>
>> That shouldn't be necessary, that header declares the old functions.
>>
>> - in the /mged/setup.c file I added another entry in the table "static
>> struct cmdtab mged_cmdtab[]" (@l 62):
>>
>>
>> {"joint", cmd_get_plain_wrapper, ged_joint},
>>
>>
>> Aside from a typo , that looks good.
>>
>> - now moving to the /libged directory I created a joint.c file where I added
>>
>> ged_joint(struct ged *gedp, int argc, const char *argv[]); and its
>> definition.
>>
>>
>> You shouldn't need a declaration, but you do need the definition.
>>
>> - in the /libged/wdb_obj.c I added another entry to the table "static struct
>> bu_cmdtab wdb_newcmds[]"
>> {"joint", (int (*)(void *, int, const char *))ged_joint}.
>>
>>
>> Don't think you need to do anything with wdb_obj.c as it's an older
>> interface that is going away.
>>
>> The problem is that it doesn't work as I was expecting it, I get a series of
>> errors:
>>
>> /home/elf/brlcad-7.22.0/src/libged/wdb_obj.c:9487:53: error: ‘ged_joint’
>> undeclared here (not in a function)
>>
>> While you don't need to edit wdb_obj.c, you should understand what this
>> error means.  Functions must be declared before they're used.  Usually,
>> declarations go in headers and that is the problem here.  See include/ged.h
>> and it should be all clear.
>>
>> I am probably still not understand completely how the libged commands are
>> being registred, though I thought I grasped it while looking through other
>> commands
>>
>> All you really need to do to register a new command is that line in setup.c;
>> that's it.
>>
>> Cheers!
>> Sean
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> BRL-CAD Developer mailing list
>> brlcad-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to