Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-10-2008, 12:29 PM   #1
Registered: Feb 2007
Posts: 38

Rep: Reputation: 15
c++ vtk code compiling from terminal

i have installed opensuse 10.2 vtk packages and i am trying to compile
example tutorial code of vtk written in c++. do i just have to run g++ on source.cpp (maybe with some additional options)??

this is stupid question, but on web i can find only pages about building vtk itself.
Old 04-10-2008, 01:04 PM   #2
Senior Member
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Can you post ls -l of the example directory?
Old 04-10-2008, 01:22 PM   #3
Registered: Feb 2007
Posts: 38

Original Poster
Rep: Reputation: 15
heh, what directory.. :\
i have just pasted code text from example into file that ive called example.cpp, and i am trying to compile it with simple: g++ example.cpp.
i can give you code and errors from compiler, but i am not shure i am on the right way at all!

Last edited by njac; 04-10-2008 at 01:26 PM.
Old 05-07-2008, 11:11 PM   #4
Registered: Oct 2005
Distribution: All of them
Posts: 137

Rep: Reputation: 17
Just go into the directory where you are trying to compile your program and type ls -l enter and post that here. Is there a file in that directory named "makefile"?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What code in the terminal shows you the list of sockets? JBailey742 Linux - General 3 02-20-2008 10:16 PM
Strange code in my terminal UltraSoul Solaris / OpenSolaris 5 07-25-2005 01:15 PM
How to open gnome-terminal through code divin Linux - Software 1 03-24-2005 11:01 AM
Terminal Code CyclopsLiteraly Linux - Software 4 06-10-2004 06:04 PM
KDE - Open Terminal Here Code hi_chan Linux - Software 4 03-14-2004 04:12 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration