Thread: Re: [Quickfix-developers] config.h missing ?
Brought to you by:
orenmnero
|
From: <JDD...@th...> - 2002-08-14 21:46:30
|
It looks like you didn't do the './configure; make' thing. You need to run
configure.
John Duncan
Collaborative Development Group
Thoughtworks, Inc
+1 (312) 953 6286
s....@gm...
Sent by: To: qui...@li...
qui...@li... cc:
ceforge.net Subject: [Quickfix-developers] config.h missing ?
08/14/2002 04:27 PM
Hello quickfix list,
i compiled quickfix successfully. but when i tried to compile
some code i always get :
quicktest.cpp:4: config.h: No such file or directory
In file included from /usr/local/include/quickfix/include/Mutex.h:54,
from /usr/local/include/quickfix/include/Application.h:56,
from /usr/local/include/quickfix/include/Session.h:63,
from /usr/local/include/quickfix/include/Initiator.h:59,
from
/usr/local/include/quickfix/include/SocketInitiator.h:58,
from quicktest.cpp:9:
/usr/local/include/quickfix/include/Utility.h:64: config.h: No such file or
directory
make: *** [quicktest.o] Error 1
as you can easily see that i dont have much clue about C/C++, i hope
someone
can help me out of this little mess.
and sorry in advance for bothering you with this newbie questions :)
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Quickfix-developers mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
|
|
From: <s....@gm...> - 2002-08-14 22:31:49
|
Thanks for your fast answer, John.
I dont see the point. which configure should i run ? quickfix is already
installed fine. (./configure && make && make install - which was not showing up
any errors)
what i do now is just a few lines of code like :
#include "quickfix/include/FileStore.h"
#include "quickfix/include/SocketInitiator.h"
#include "quickfix/include/SessionSettings.h"
#include <stdio.h>
int main()
{
printf("foo\n");
return 1;
}
and trying to compile this shows the error.
i tried it on a solaris and on a linux machine - same for both.
thanks in advance
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
|
|
From: <JDD...@th...> - 2002-08-15 16:07:07
|
Unix QuickFIX depends on the autotools set (automake, autoconf, and libtool) to accomplish its job. Writing a Unix QuickFIX application will require either utilizing these tools or substituting for them in certain ways. For example, the config.h that is produced by configure in the initial compile and install of the library is sufficient for compiling derived applications, so you do not technically need to use autoconf to produce it. Similarly, the approaches libtool uses to link applications can be duplicated by directly using the shell commands it produces. You would do well to read up on these tools. http://www.gnu.org/directory/Software_development/Program_build_automation/autoconf.html http://www.gnu.org/directory/Software_development/Program_build_automation/automake.html http://www.gnu.org/directory/Software_Libraries/libtool.html There is also a free online book http://sources.redhat.com/autobook/ Hope all this helps John Duncan Collaborative Development Group Thoughtworks, Inc +1 (312) 953 6286 "saw" <s....@gm...> To: <JDD...@th...> cc: <qui...@li...> 08/15/2002 10:03 Subject: Re: [Quickfix-developers] config.h missing ? AM Hello, seems the answer i sent yesterday was beamed away. Lets try again : Thanks John for your quick answer. In fact I compiled and installed quickfix itself without any problems. AWhat I try to compile now is a few lines of test code which only includes the quickfix headers : #include "quickfix/include/FileStore.h" #include "quickfix/include/SocketInitiator.h" #include "quickfix/include/SessionSettings.h" #include <stdio.h> int main() { printf("foo\n"); return 1; } Trying to compile this it ends up in error messages about missing config.h file. What configure script do you ment to run ? I cant see the forrest for the trees. kind regards ----- Original Message ----- From: <JDD...@th...> To: <s....@gm...> Cc: <qui...@li...> Sent: Wednesday, August 14, 2002 11:44 PM Subject: Re: [Quickfix-developers] config.h missing ? > > It looks like you didn't do the './configure; make' thing. You need to run > configure. > > John Duncan > Collaborative Development Group > Thoughtworks, Inc > +1 (312) 953 6286 > > > > s....@gm... > Sent by: To: qui...@li... > qui...@li... cc: > ceforge.net Subject: [Quickfix-developers] config.h missing ? > > > 08/14/2002 04:27 PM > > > > > > > Hello quickfix list, > > i compiled quickfix successfully. but when i tried to compile > some code i always get : > > quicktest.cpp:4: config.h: No such file or directory > In file included from /usr/local/include/quickfix/include/Mutex.h:54, > from /usr/local/include/quickfix/include/Application.h:56, > from /usr/local/include/quickfix/include/Session.h:63, > from /usr/local/include/quickfix/include/Initiator.h:59, > from > /usr/local/include/quickfix/include/SocketInitiator.h:58, > from quicktest.cpp:9: > /usr/local/include/quickfix/include/Utility.h:64: config.h: No such file or > directory > make: *** [quicktest.o] Error 1 > > > as you can easily see that i dont have much clue about C/C++, i hope > someone > can help me out of this little mess. > and sorry in advance for bothering you with this newbie questions :) > > -- > GMX - Die Kommunikationsplattform im Internet. > http://www.gmx.net > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
|
From: saw <s....@gm...> - 2002-08-15 15:04:02
|
Hello,
seems the answer i sent yesterday was beamed away. Lets try again :
Thanks John for your quick answer. In fact I compiled and installed quickfix
itself without any problems.
AWhat I try to compile now is a few lines of test code which only includes
the quickfix headers :
#include "quickfix/include/FileStore.h"
#include "quickfix/include/SocketInitiator.h"
#include "quickfix/include/SessionSettings.h"
#include <stdio.h>
int main()
{
printf("foo\n");
return 1;
}
Trying to compile this it ends up in error messages about missing config.h
file.
What configure script do you ment to run ? I cant see the forrest for the
trees.
kind regards
----- Original Message -----
From: <JDD...@th...>
To: <s....@gm...>
Cc: <qui...@li...>
Sent: Wednesday, August 14, 2002 11:44 PM
Subject: Re: [Quickfix-developers] config.h missing ?
>
> It looks like you didn't do the './configure; make' thing. You need to run
> configure.
>
> John Duncan
> Collaborative Development Group
> Thoughtworks, Inc
> +1 (312) 953 6286
>
>
>
> s....@gm...
> Sent by: To:
qui...@li...
> qui...@li... cc:
> ceforge.net Subject:
[Quickfix-developers] config.h missing ?
>
>
> 08/14/2002 04:27 PM
>
>
>
>
>
>
> Hello quickfix list,
>
> i compiled quickfix successfully. but when i tried to compile
> some code i always get :
>
> quicktest.cpp:4: config.h: No such file or directory
> In file included from /usr/local/include/quickfix/include/Mutex.h:54,
> from
/usr/local/include/quickfix/include/Application.h:56,
> from /usr/local/include/quickfix/include/Session.h:63,
> from /usr/local/include/quickfix/include/Initiator.h:59,
> from
> /usr/local/include/quickfix/include/SocketInitiator.h:58,
> from quicktest.cpp:9:
> /usr/local/include/quickfix/include/Utility.h:64: config.h: No such file
or
> directory
> make: *** [quicktest.o] Error 1
>
>
> as you can easily see that i dont have much clue about C/C++, i hope
> someone
> can help me out of this little mess.
> and sorry in advance for bothering you with this newbie questions :)
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
|