473,473 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

GAlib, Static Lib, ...?

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
3 1777
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
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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Scott J. McCaughrin | last post by:
The following program compiles fine but elicits this message from the linker: "undefined reference to VarArray::funct" and thus fails. It seems to behave as if the static data-member:...
15
by: Samee Zahur | last post by:
Question: How do friend functions and static member functions differ in terms of functionality? I mean, neither necessarily needs an object of the class to be created before they are called and...
5
by: Mountain Bikn' Guy | last post by:
How would I do this? public sealed class UtilityClass { public static MyObject Object1;//see note below about importance of static object names in this class public static MyObject Object2;...
3
by: Mauzi | last post by:
hi, this may sound odd and noob like, but what is the 'big' difference between static and non-static funcitons ? is there any performace differnce? what is the best way to use them ? thnx ...
3
by: Jay | last post by:
Why are there static methods in C#. In C++ static was applied to data only (I believe) and it meant that the static piece of data was not a part of the object but only a part of the class (one...
3
by: Kirk Marple | last post by:
Just want to see if this is 'by design' or a bug... I have a common List<T> defined in a base class, and the base class has a static property to expose this list. I wanted the derived class to...
9
by: Laban | last post by:
Hi, I find myself using static methods more than I probably should, so I am looking for some advice on a better approach. For example, I am writing an app that involves quite a bit of database...
55
by: Zytan | last post by:
I see that static is more restricted in C# than in C++. It appears usable only on classes and methods, and data members, but cannot be created within a method itself. Surely this is possible in...
14
by: Jess | last post by:
Hello, I learned that there are five kinds of static objects, namely 1. global objects 2. object defined in namespace scope 3. object declared static instead classes 4. objects declared...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.