EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: portable server
From: "Liyu, Andrei" <[email protected]>
To: [email protected]
Date: Mon, 04 Oct 2004 16:08:48 -0400
I have used Andrew's advice, created Portable server and built it. It
works. It is like I did it one year ago but forget. Thank you - Andrew.

But then I decide to collect MVC++ project from that example. I could
compile but couldn't do linking. I have message like this
================
exAsyncPV.obj : error LNK2001: unresolved external symbol "private:
static class epicsMutex * gdd::pGlobalMutex"
(?pGlobalMutex@gdd@@0PAVepicsMutex@@A)
===============

>From another side 
dumpbin gdd.lib /EXPORTS    ->
                  ?pGlobalMutex@gdd@@0PAVepicsMutex@@A (private: static
class epicsMutex * gdd::pGlobalMutex)

View file : __imp_?pGlobalMutex@gdd@@0PAVepicsMutex@@A

Has anybody suggestion?

Thanks, Andrei.

P.s. I know how I could work from MVC environment with make.

-----Original Message-----
From: Andrew Johnson [mailto:[email protected]] 
Sent: Friday, October 01, 2004 7:12 PM
To: Liyu, Andrei
Cc: [email protected]
Subject: Re: portable server

Liyu, Andrei wrote:
> Hi,
> 1. I would like to write portable server. There is tutorial of
portable
> server. It has example. But example has mistakes and it is like Epics
> base h file were changed too. I spent some time to build it but hasn't
> success.
> Has anybody working code of portable server from tutorial or code of
the
> simplest another portable server? I have 3.14.4, Windows XP, MVC++
6.0.

There is an portable server template provided for use with
makeBaseApp.pl 
in your version of Base, which should give you a working example.  To 
create an application to try out, run makeBaseApp and specify
caServerApp 
as the template type - something like this, but you'll probably have to 
modify the command somewhat to get it to run on Windows (which I can't 
help you with as I only use Unix):

   mkdir example
   cd example
   perl /path/to/base/bin/win32-x86/makeBaseApp.pl -t caServerApp server

This will create the necessary files to make your own server, which you 
can then compile, edit and experiment with.  Be sure to read the README 
text file in the serverApp subdirectory for more information about the
server.

- Andrew
-- 
Dear God, I didn't think orange went with purple until I saw
the sunset you made last night.  That was really cool. - Caro



Replies:
RE: portable server Jeff Hill

Navigate by Date:
Prev: Re: channel access security document Andrew Johnson
Next: RE: portable server Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: portable server Kenneth Evans, Jr.
Next: RE: portable server Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·