By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,910 Members | 1,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,910 IT Pros & Developers. It's quick & easy.

GAlib, Static Lib, ...?

P: n/a
Hello to all...

So... I have a 'little' problem with the GAlib library of genetic algorithm
components. It is as follows: the GAlib package is given as a set of .c and
..h files and an user has to build a static library out of them; each of the
..c files has an #include directive in the form #include<ga/file_name.h>
(note: given is the folder name "ga", not only the file name). I'm using VS
..NET 2003 and try to create a Static Library project (Win32 Project, Static
Lib., not using precompiled...). Upon creating the project, I add all the .c
files in the Source Files folder in Solution Expl. and all the .h files in
the Header Files folder. When I try to build, multiple errors of the same
type occur: .c files cannot find .h files stated in the #include directive.
I tried to move .h files to another folder, I tried to define Additional
Includes, but still it doesn't work. I cry out to an experienced someone :)

Thanks in advance,
zh.
Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Oh, I solved the problem by setting Additional Includes to a folder ABOVE
the folder containing the .h files. However, compile errors are afoot now:
2143, 2072, 2059, 2054, 2085. Anyone have a clue?

zh.
Jul 23 '05 #2

P: n/a
On 2005-07-23 05:05:40 -0500, "Zeljko A." <ze***********@email.t-com.hr> said:
Oh, I solved the problem by setting Additional Includes to a folder ABOVE
the folder containing the .h files. However, compile errors are afoot now:
2143, 2072, 2059, 2054, 2085. Anyone have a clue?

zh.


Yes: posting to the GAlib mailing list (hope it has onw) probably is
what you need. Here we don't talk of specific libraries. In case GAlib
does not have a ML, post to your compiler's newsgroup, here we don't
talk about specific compilers.

--
Sensei <se******@tin.it>

cd /pub
more beer

Jul 23 '05 #3

P: n/a

Sensei wrote:
Yes: posting to the GAlib mailing list (hope it has onw) probably is
what you need. Here we don't talk of specific libraries. In case GAlib
does not have a ML, post to your compiler's newsgroup, here we don't
talk about specific compilers.


Sorry I posted prior to acquiring info on the newsgroup. Incidentally, I
found that the GAlib package is not compatible with MSVC7 and solved the
problem by using MSVC6.

zh.
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.