One more little addon...
I can easily just add Rawloader.cpp to the main project where its actually used but due to all the functions i'll be implementing, doing a Build All would be very very lengthy and inappropriate, so a .a sounds like the best thing to do but its not working either =(
Instead of adding all the .cpp files...
-
monkeycracks
- Posts: 1029
- Joined: Thu Apr 06, 2006 12:45 am
- Location: Tennesee, USA
- Contact:
I had a similar problem...
If you compile the project the compiler creates an .o file for each cpp file...
you can simply copy the .o file of the cpp you want and rename it to .a (not really necessary)...
Then you remove the cpp file from the project and link to the .a (.o) file !!!
But you still have to include the .h that belongs to the cpp file, so don't do any public declarations inside the cpp, do it only in the .h file or you don't have access to them !!!
If you compile the project the compiler creates an .o file for each cpp file...
you can simply copy the .o file of the cpp you want and rename it to .a (not really necessary)...
Then you remove the cpp file from the project and link to the .a (.o) file !!!
But you still have to include the .h that belongs to the cpp file, so don't do any public declarations inside the cpp, do it only in the .h file or you don't have access to them !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:

http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
monkeycracks
- Posts: 1029
- Joined: Thu Apr 06, 2006 12:45 am
- Location: Tennesee, USA
- Contact:
-
monkeycracks
- Posts: 1029
- Joined: Thu Apr 06, 2006 12:45 am
- Location: Tennesee, USA
- Contact:
-
monkeycracks
- Posts: 1029
- Joined: Thu Apr 06, 2006 12:45 am
- Location: Tennesee, USA
- Contact: