Click here to Skip to main content
15,878,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Password recovery for .LIB file Pin
«_Superman_»15-Sep-09 19:38
professional«_Superman_»15-Sep-09 19:38 
QuestionRe: Password recovery for .LIB file Pin
David Crow15-Sep-09 9:35
David Crow15-Sep-09 9:35 
AnswerRe: Password recovery for .LIB file Pin
Chris Losinger15-Sep-09 12:06
professionalChris Losinger15-Sep-09 12:06 
QuestionRe: Password recovery for .LIB file Pin
Maximilien15-Sep-09 9:42
Maximilien15-Sep-09 9:42 
QuestionQuestion on g++ compiler options Pin
minkowski15-Sep-09 6:23
minkowski15-Sep-09 6:23 
AnswerRe: Question on g++ compiler options Pin
Stuart Dootson15-Sep-09 7:06
professionalStuart Dootson15-Sep-09 7:06 
GeneralRe: Question on g++ compiler options Pin
minkowski15-Sep-09 22:47
minkowski15-Sep-09 22:47 
GeneralRe: Question on g++ compiler options Pin
Stuart Dootson15-Sep-09 23:33
professionalStuart Dootson15-Sep-09 23:33 
minkowski wrote:
For the command line


g++ -L/home/alfred/Public/Test/src -I/home/alfred/Public/Test/header/ main.cpp -o a.out mylib.a


I got the error

g++: mylib.a: No such file or directory


Sorry - for that one, you need the path to the lib on the command-line, not just the name

minkowski wrote:
for the command line


g++ -L/home/alfred/Public/Test/src/ -I/home/alfred/Public/Test/header/ main.cpp -lmylib.a -o a.out


I got

/usr/bin/ld: cannot find -lmylib.a
collect2: ld returned 1 exit status

even though I have libmylib.a (where the -l substitututes the lib part).


Again - sorry, I forgot to say that you don't need the '.a' part either

HTH!

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Question on g++ compiler options Pin
minkowski16-Sep-09 0:29
minkowski16-Sep-09 0:29 
GeneralRe: Question on g++ compiler options Pin
Stuart Dootson16-Sep-09 0:37
professionalStuart Dootson16-Sep-09 0:37 
GeneralRe: Question on g++ compiler options Pin
minkowski16-Sep-09 1:00
minkowski16-Sep-09 1:00 
QuestionHow can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart15-Sep-09 4:31
Neil Urquhart15-Sep-09 4:31 
AnswerRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Code-o-mat15-Sep-09 4:48
Code-o-mat15-Sep-09 4:48 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart15-Sep-09 6:02
Neil Urquhart15-Sep-09 6:02 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart15-Sep-09 6:09
Neil Urquhart15-Sep-09 6:09 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Code-o-mat15-Sep-09 6:13
Code-o-mat15-Sep-09 6:13 
AnswerRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog [modified] Pin
Moak15-Sep-09 14:09
Moak15-Sep-09 14:09 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart15-Sep-09 20:04
Neil Urquhart15-Sep-09 20:04 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart15-Sep-09 20:57
Neil Urquhart15-Sep-09 20:57 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Moak15-Sep-09 23:21
Moak15-Sep-09 23:21 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart16-Sep-09 2:53
Neil Urquhart16-Sep-09 2:53 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Moak16-Sep-09 3:19
Moak16-Sep-09 3:19 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart16-Sep-09 3:56
Neil Urquhart16-Sep-09 3:56 
QuestionRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Moak16-Sep-09 4:21
Moak16-Sep-09 4:21 
AnswerRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart16-Sep-09 4:41
Neil Urquhart16-Sep-09 4:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.