[mico-devel] compiling with debug for visual studio
Hello, I want to compile a debug version of the mico lib with visual studio. Should just setting the RELEASE_BUILD value in MakefileConfig.win32 be enough to build it ? Now when I create a MSVC project and launch a program in debug mode, the application is linked with MSVCR90.dll and not MSVCR90d.dll kind regards, Bart ___ Mico-devel mailing list Mico-devel@mico.org http://www.mico.org/mailman/listinfo/mico-devel
[mico-devel] MT examples
Hello, Are there any examples of how using POA with multithreading ? kind regards, Bart ___ Mico-devel mailing list Mico-devel@mico.org http://www.mico.org/mailman/listinfo/mico-devel
Re: [mico-devel] Building mico2.3.13
Karel Gardas wrote: EBERSOLD André wrote: I tried to compile mico 2.3.13 on FC9 with gcc 4.3.0 just run configure and than make. I got an error in fast_array.cc Someone knows where the definition UINT_MAX comes from ? This error is also present in a recent Ubuntu release, which contains a g++ compiler > 4.3.0 It comes from either your C++ compiler header files or from the OS header files. It depends. On Solaris I do have it defined in /usr/include/iso/limits_iso.h and also GCC 4.2.3 comes with its own definition in /usr/local/gcc-4.2.3/lib/gcc/i386-pc-solaris2.11/4.2.3/include/limits.h Anyway, GCC team has clean up quite a lot of header files for 4.3.x release so I guess what was included unnecessarily in previous GCC releases is not included now hence the compilation failure. Cheers, Karel Is just including the limits.h file in fast_array.cc enough? It compiles when I do that, but is that a valid solution ? Kind regards Andre E. c++ -I../include -O2 -Wall -Wwrite-strings -fno-strict-aliasing -D_REENTRANT -D_GNU_SOURCE -DPIC -fPIC -c fast_array.cc -o fast_array.pic.o fast_array.cc:51: error: 'UINT_MAX' was not declared in this scope make[1]: *** [fast_array.pic.o] Error 1 make[1]: Leaving directory `/home/./.../mico/orb' make: *** [system] Error 1 bash-3.2$ grep -r UINT_MAX * orb/fast_array.cc:const unsigned int MICO::__void_array::__EMPTY = UINT_MAX; bash-3.2$ pwd /home/aebersol/Builds/mico bash-3.2$ c++ --version c++ (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) Here is a patch what I did to solve this: --- orb/fast_array.cc |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/orb/fast_array.cc b/orb/fast_array.cc index d2c1272..0e621a7 100644 --- a/orb/fast_array.cc +++ b/orb/fast_array.cc @@ -37,6 +37,7 @@ #include #include +#include #endif // FAST_PCH -- 1.5.6.3 ___ Mico-devel mailing list Mico-devel@mico.org http://www.mico.org/mailman/listinfo/mico-devel
Re: [mico-devel] Problems compiling mico
I had the same issue a few days ago and posted already a patch to this list http://www.mico.org/pipermail/mico-devel/2008-October/010206.html Just include limits.h in the file fast_array.cc In that way it compiles. I did not get already any answer from the developers if this patch is correct, but it seems to work for me. kind regards, Bart Andreas Benzler wrote: I have to correct my last post a bit. As I wrote I installed MICO 2.3.13 on Kubuntu 8.10 without problems I did not mention that I had to apply the patch that was posted on this list to avoid the error 'fast_array.cc:51: error: 'UINT_MAX' was not declared in this scope' I had a look about the gcc version on Kubuntu and it states: gcc (Ubuntu 4.3.2-lubuntull) 4.3.2 But the gcc team seems to change some of the headers. I compiled MICO 2.3.13 without any patches and problems on a SUSE 11.1 beta4. The gcc --version output here is: gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] Andreas ___ Mico-devel mailing list Mico-devel@mico.org http://www.mico.org/mailman/listinfo/mico-devel ___ Mico-devel mailing list Mico-devel@mico.org http://www.mico.org/mailman/listinfo/mico-devel
[mico-devel] Binding to an address range or network interface
Hi, I have for the moment a CORBA server running on Windows (xp + vista). It runs fine. But I have an issue. The pc where the program runs on has 2 network cards. One card is with a fixed ip address and the other a dynamic address. The server generates an IOR file. I now start the program with the option -ORBNoResolve to have no hostname in the IOR file. The problem is that I want to bind now on the dynamic address. This is always an address in a specific range. Is it possible to bind on a specific interface or an ip range with mico , except from having the hostname in the IOR file ? kind regards, Bart ___ Mico-devel mailing list Mico-devel@mico.org http://www.mico.org/mailman/listinfo/mico-devel