I'm trying to port an application using pkcs11 on Darwin but it won't compile. The sources themself won't compile and there are suppose to be independant...
:(
I'm porting a cross platform application to OsX and i have a simple trouble with the icon :
How can i change a .png to a .icns ( and so becoming able to use this file as an icon ) ?
Do i have to alter my .rsrc in the applications ?
Hi !
I seems to have a very similar problem. My configure is not finishing because of "Can't Find OpenSSL librairies" however the command line openssl seems to be working just fine and the script is probably not looking in the right place. I wonder if you could tell me how you fixed your...
Er... I got new problem about ncurses...
I would like to print the ncurses documentation but all i can find on the net is "How To" or "Introduction to ncurses" etc... Or i really need the "real docs" with all the prototype, and function's description. I know i can get through "man" but i'm...
This is my script :
sed s/bob/"$VAR"/g
The trouble is VAR may contains a "/", and when there is one, it's interpreted by the BASH shell (and others) .
How can i fix this ?
okay
so i tried to check if i had my "missing symbols" inside the .a :
nm libmysqlclient.a | grep -e mysql_init
00003020 T _mysql_init
nm: no name list
...
So it appears that i got the missing symbols in this .a so i tried compiled this way :
belaran% gcc...
Ok
i finally compil my source file but not with -lmysql nor -lmysqlclient because the two link were not recognized. I add to my file "usr/local/mysql/include/mysql.h". But i know i got this
[Belaran:~/Desktop/projet/sources] belaran% gcc main.c
ld: warning prebinding disabled because of...
Hi !
This is my problem.Normally this regular expression
[^<>]
should suppress any line which do not have "<" or ">"
but when i do :
if
[ $line = "[^<>]" ]
then
echo " no tags"
else
echo " tags"
fi
Every line i put in "line" ( including the ones with tags) are...
Okay that it !
Thanks a lot !!!
I've got the same trouble with mysql api do you know the name of "lnmysql" ? More precily how can i find by myself wich options given a specific api ?
yes a lot :
i tried compiling this sample file and i got :
Belaran:ncurse/ncurses_programs/JustForFun] belaran% gcc tt.c
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_cbreak
_echo
_endwin
_initscr
_intrflush
_keypad
_mvprintw
_mvwprintw...
Hi !
I tried to compil a simple programs with the mysql.h include and both gcc and cc gives me this :
main.C:10:19: mysql.h: No such file or directory
main.C:15: error: syntax error before `*' token
main.C:16: error: `MYSQL' was not declared in this scope
main.C:16: error: `db' was not...
Hi !
I would like to create a C applications working with MySQL database.
I downloaded the Ch api for iODBC provided by MySQL.com but somehow it doesn't seems to work out...
I can invoke ch ( i've to use the "sudo" command although) but when i try to compile one of the sample example of the...