This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes C / C++ and the fly likes No such file or directory compilation terminated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "No such file or directory compilation terminated" Watch "No such file or directory compilation terminated" New topic
Author

No such file or directory compilation terminated

sahar eb
Ranch Hand

Joined: May 06, 2009
Posts: 38
Hi,
I am a beginners so please bear with me I have this code passed to me and I need to run it. I have it on ubuntu. when I compile I have this error:

Code:



I searched and I found it is because the library I want to insert is some how not reachable.
* I tried to install the libraries by apt-get install build-essential, also install apt-get install libicu-dev libicu48 libglib2.0-dev -y,
it downloaded and installed libglib but the code still doesnt work.

can you explain me what is the reason and how can I solve this error?

Thank you so much!
sahar eb
Ranch Hand

Joined: May 06, 2009
Posts: 38
well, I found that the code was written in ubuntu x32 and I have ubuntux64, so I changed some files and now I get this error:
segmentation fault (core dumped).
any idea what are the possible reasons? and how can i solve them?
thanks!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: No such file or directory compilation terminated