Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 22 of 22
Originally Posted by SingleFemaleLawyer Code: jess@linux:~> g++ trycurl.cpp -o trycurl.o -lcurlpp Code: sh: /home/workspace/trycurl : No such file or directory What command are you trying to use to run it? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Linux Newbie
    Join Date
    Mar 2010
    Posts
    152

    Quote Originally Posted by SingleFemaleLawyer View Post
    Code:
    jess@linux:~> g++ trycurl.cpp -o trycurl.o -lcurlpp
    Code:
    sh: /home/workspace/trycurl : No such file or directory
    What command are you trying to use to run it? With the above command-line, it should be:

    Code:
    jess@linux:~> ./trycurl.o
    Also, (1) you specify "-o trycurl.o" on the command-line - are you aware that this command will produce an executable, not an object file? (2) if you use "code" instead of "php" tags, your C++ code won't get marked as php.

  2. #22
    Just Joined! SingleFemaleLawyer's Avatar
    Join Date
    Jul 2010
    Posts
    28
    Thanks, I did not see the CODE wrapper.

    Well, I changed some class names and folder names and it worked !!!! I will make some more tests now with other example files but it seems like it's done ! Now I will try to make it work using an IDE because the project I need to build is very big

    Thank you very much for all your help John

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •