Results 1 to 1 of 1
Dear All,
I am currently using the GDSL library in order to implement the datastructures e.g. linked list in C. I am using netbeans 6.5 the comilation of the file ...
- 03-05-2009 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 1
Using General Data Structure Library (GDSL) : Unable to build the project
Dear All,
I am currently using the GDSL library in order to implement the datastructures e.g. linked list in C. I am using netbeans 6.5 the comilation of the file went well but when i try to build the project it gives the following error:
================================================== ================
Running "/usr/bin/make -f Makefile CONF=Debug" in /home/usman/NetBeansProjects/test
/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `/home/usman/NetBeansProjects/test'
/usr/bin/make -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/test
make[2]: Entering directory `/home/usman/NetBeansProjects/test'
mkdir -p dist/Debug/GNU-Linux-x86
gcc -o dist/Debug/GNU-Linux-x86/test build/Debug/GNU-Linux-x86/test.o gdsl-config --libs
gcc: gdsl-config: No such file or directory
make[2]: *** [dist/Debug/GNU-Linux-x86/test] Error 1
make[2]: Leaving directory `/home/usman/NetBeansProjects/test'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/home/usman/NetBeansProjects/test'
make: *** [.build-impl] Error 2
Build failed. Exit value 2.
================================================== ==================
In the usage guidelines for the GDSL the following is stated:
-----------------------------------------------------------------------------------------
Usage
=====
Simply include '#include <gdsl.h>' into your source C file.
Include 'gdsl-config --flags' to your compilation command.
Include 'gdsl-config --libs' to your link command.
Then, you can use any of the functions described in the main GDSL header file:
'gdsl.h'.
--------------------------------------------------------------------------------------
In the project properties i have given the arguments for compilation and linker. for compilation it is working fine but for the linker i am getting the above mentioned error.
I would appreciate if you could please suggest something.
with regards,
Usman


Reply With Quote