For some reason my last post didn't make it to the mailing list.

Thanks Mathew.
I'm not very skilled at Jam, G++, or Make.

The other Library that I am porting in is ASIO.  This is why I am having so 
many questions on threads, and linking in other object files.  My goal is to 
make a main server that guides P2P playing in the game.  I need a thread 
dedicated to listening on a socket for information.



Mathew Sutcliffe <[EMAIL PROTECTED]> wrote: Jim Sager wrote:
> I copied a.o and a.h to CS/apps/tutorial/simpmap directory
> What did I do wrong?

Jam has no idea that you want to link with a.o. It only links the .o 
files in out/ corresponding to the .cpp files in apps/tutorial/simpmap, 
and any libraries specified by the app's Jamfile. And apps/ is for 
source code only, not binary files. The proper way to do this specific 
example is to put  a.cpp into apps/tutorial/simpmap.

> I want to port in code from another library into Simpmap, but I am 
> starting with the easiest case, and it failed on me.

What other library?

Someone who knows jam better than me can tell you the proper way to link 
with an external library.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]


Mathew Sutcliffe <[EMAIL PROTECTED]> wrote: Jim Sager wrote:
> I copied a.o and a.h to CS/apps/tutorial/simpmap directory
> What did I do wrong?

Jam has no idea that you want to link with a.o. It only links the .o 
files in out/ corresponding to the .cpp files in apps/tutorial/simpmap, 
and any libraries specified by the app's Jamfile. And apps/ is for 
source code only, not binary files. The proper way to do this specific 
example is to put a.cpp into apps/tutorial/simpmap.

> I want to port in code from another library into Simpmap, but I am 
> starting with the easiest case, and it failed on me.

What other library?

Someone who knows jam better than me can tell you the proper way to link 
with an external library.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]


       
---------------------------------
Shape Yahoo! in your own image.  Join our Network Research Panel today!
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to