[Uni-verse] RE: [Uni-verse]

Martin Schlingmann uni-verse@blender.org
Tue, 18 May 2004 10:36:40 +0200 (CEST)


Nice.
It's a c++ thingy, not ms.
Using "pragma" is probably the best way to include libbs, disable some
warnings etc since it's portable over editors, platforms etc.

If you have anymore vc questions just shoot, i've been using vc (when dev
for ms) on and off the last 8 years or something.

/martin


> hey... this works...
> probably this is a visual studio problem... but good to know for the
> future... ;)
>
> thx a lot!
>
> M
>
> -----Original Message-----
> From: uni-verse-admin@blender.org [mailto:uni-verse-admin@blender.org]On
> Behalf Of Martin Schlingmann
> Sent: Monday, May 17, 2004 5:46 PM
> To: uni-verse@blender.org
> Subject: RE: [Uni-verse] (no subject)
>
>
> Hi.
> If none of the functions/implementations is found by the linker, the
> problem is normally that there is some problem including the library.
> Try using something like this in you main or entry file:
>
> #ifdef WIN32
> #pragma comment(lib, "verse_lib_file.lib")
> #endif
>
> Do this instead of specifying the file on the project property box.
> This is standard c++ pragma syntax and should be portable.
>
> Brg
> Martin
>
>
>
> -----Original Message-----
> From: uni-verse-admin@blender.org [mailto:uni-verse-admin@blender.org]
> On Behalf Of Marcus Hoffmann
> Sent: den 17 maj 2004 10:22
> To: Uni-Verse
> Subject: [Uni-verse] (no subject)
>
>
> hi friends,
>
> I've really got a problem using verse and i think this is related to all
> of us. I compiled verse as a .lib and included it in my vc++ project.
> This was no problem! ;) So i only have a verse.h and a verse.lib file.
> now i've tried to use the verse functions and even the simplest things (
> verse_set_connect_port(int) ) are NOT found by the linker. They are
> found while compiling, because the definition stands in the verse.h
> file. But the linker doesn't find any implementation. I can only fix
> this if i don't use the lib and include the relating .c file from verse
> with the implementation of the needed function directly. I think this is
> really a problem and is needed to be fixed. I don't know if someone got
> the same problem, but i would be greatful for some comments.
>
> greets
>
> Marcus
>
>
> Marcus Hoffmann
> Dipl. Ing. for Media Technology
> Fraunhofer Institut für Graphische Datenverarbeitung (F-IGD) Dep.
> Animation and Image Communication (A3) Fraunhoferstr. 5 D-64283
> Darmstadt, Germany
> Fon: +49 (0)6151 / 155-639
> Mail: marcus.hoffmann@igd.fhg.de
>
>
> _______________________________________________
> Uni-verse mailing list
> Uni-verse@blender.org http://www.blender.org/mailman/listinfo/uni-verse
>
> _______________________________________________
> Uni-verse mailing list
> Uni-verse@blender.org
> http://www.blender.org/mailman/listinfo/uni-verse
>
> _______________________________________________
> Uni-verse mailing list
> Uni-verse@blender.org
> http://www.blender.org/mailman/listinfo/uni-verse
>
>