OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Compilation under linux


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgOcean [osgOcean]
View previous topic :: View next topic  
Author Message
gmilitel
Newbie


Joined: 01 Nov 2013
Posts: 5

PostPosted: Mon Jan 19, 2015 7:30 am    Post subject:
Compilation under linux
Reply with quote

Hey, tanks for the replies.

Perhaps I did something wrong in my compilation? some dependencies?

I'd followed exactly what they say in the project's wiki http://code.google.com/p/osgocean/wiki/Usage_Instructions

This is the error:

$ make
Scanning dependencies of target osgOcean
[ 5%] Building CXX object src/osgOcean/CMakeFiles/osgOcean.dir/Cylinder.cpp.o

[ 11%] Building CXX object src/osgOcean/CMakeFiles/osgOcean.dir/DistortionSurface.cpp.o
In file included from /media/DiscoD/linux/MyApp1/osg/include/osgDB/Output:20:0,
from /media/DiscoD/linux/MyApp1/osg/include/osgDB/DotOsgWrapper:21,
from /media/DiscoD/linux/MyApp1/osg/include/osgDB/Registry:26,
from ../../../src/osgOcean/DistortionSurface.cpp:20:
/media/DiscoD/linux/MyApp1/osg/include/osgDB/fstream:31:42: error: invalid use of incomplete type ‘std::fstream {aka class std::basic_fstream<char>}’
class OSGDB_EXPORT fstream : public std::fstream


...


Thank you!

Cheers,
Guido

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=57240#57240







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
scrawl
Appreciator


Joined: 14 Dec 2014
Posts: 175

PostPosted: Sat Feb 14, 2015 8:59 am    Post subject:
Reply with quote

Looks like a missing include. Try adding an #include <fstream> to the top of that file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgOcean [osgOcean] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts memory issue about x-windows in Linux Alberto Luaces General 1 Tue Aug 01, 2017 4:38 pm View latest post
No new posts PBuffer causing error when profiling ... jsmitq General 1 Thu Jun 08, 2017 4:24 pm View latest post
No new posts Cross-platform guide for Linux, macOS... kornerr Announcement [ANN] 3 Mon Apr 03, 2017 5:05 pm View latest post
No new posts Up to date tutorials for linux Rodrigo General 7 Wed Mar 01, 2017 9:57 pm View latest post
No new posts [Solved] Bug while updating geometry ... Nikkitta General 2 Thu Jan 26, 2017 9:27 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP