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 

Particular Build Problems with OSG.


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build]
View previous topic :: View next topic  
Author Message
Zachary1234
User


Joined: 20 Nov 2018
Posts: 24

PostPosted: Wed Mar 27, 2019 7:12 am    Post subject:
Particular Build Problems with OSG.
Reply with quote

I am attempting to build 64 bit OSG 3.6.3 for Windows using the GNU compiler, to keep my end result operable with 64 bit TDM.

I am in the 64 bit Cygwin Environment.

I have installed the dependencies mentioned as necessary at the top of the tutorial

http://www.openscenegraph.org/index.php/documentation/platform-specifics/windows/112-compiling-with-cygwin

and have gotten past the point in the tutorial where I have managed to separately build OpenThreads, which has now ended successfully. I have
updated ~/.bashrc with links and references as needed.

I am up to the point where I am to

make, make install upon OpenSceneGraph version 3.6.3 and am finding
there is no make file to start by.

I have taken the source code version of OSG from

https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.6.3

I have also tried configure make install again from the "developer" svn
copy, however it seems that the server has permanently blocked public people out, so I can't get through to download that content.

Do I have the right source code download of OSG, why won't configure make install detected the needed file for me, at least according to the later part of the tutorial?
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12279

PostPosted: Wed Mar 27, 2019 4:24 pm    Post subject:
Particular Build Problems with OSG.
Reply with quote

Hi Zachary,

You will need to post us the errors you are seeing without this there
is no way for us to know what is wrong.

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Trajce Nikolov NICK
Guest





PostPosted: Wed Mar 27, 2019 4:35 pm    Post subject:
Particular Build Problems with OSG.
Reply with quote

Hi Zachary,


osg is cmake based for configuration. so instead of ./configure;make;make install you should do something like


cmake .

make
make install


cmake will generate the Makefiles



On Wed, Mar 27, 2019 at 5:23 PM Robert Osfield < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hi Zachary,

You will need to post us the errors you are seeing without this there
is no way for us to know what is wrong.

Robert.
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
trajce nikolov nick

------------------
Post generated by Mail2Forum
Back to top
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12279

PostPosted: Wed Mar 27, 2019 5:41 pm    Post subject:
Particular Build Problems with OSG.
Reply with quote

On Wed, 27 Mar 2019 at 16:34, Trajce Nikolov NICK
<> wrote:
Quote:
osg is cmake based for configuration. so instead of ./configure;make;make install you should do something like

cmake .
make
make install

The old Cygwin install docs was out of date and referred to pre
OSG-2.0 build. I've updated removing the old mentions of the separate
Producer/OpenThreads builds. I added mention the standard cmake
based build.

I don't have an Cygwin expertise though so don't know how close it
will be to working correctly. If others have Cygwin expertise please
edit the page or suggest amendments.

Cheers,
Robert.


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


Joined: 20 Nov 2018
Posts: 24

PostPosted: Thu Mar 28, 2019 3:06 am    Post subject:
Reply with quote

*************************************************************
User@ZJM ~/OpenSceneGraph-3.6.3
$ cmake .
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:113 (PROJECT):
The CMAKE_C_COMPILER:

/cygdrive/c/Program Files/TDM-GCC-64/bin/gcc.exe

is not a full path to an existing compiler tool.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:113 (PROJECT):
The CMAKE_CXX_COMPILER:

/cygdrive/c/Program Files/TDM-GCC-64/bin/c++.exe

is not a full path to an existing compiler tool.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/User/OpenSceneGraph-3.6.3/CMakeFiles/CMakeOutput.log".
See also "/home/User/OpenSceneGraph-3.6.3/CMakeFiles/CMakeError.log".


*************************************************************
Quote:
To build OSG you need to manually direct the cygwin installer to load version 3.3.3 of the gcc compiler family.


-By doing this, will I be then building a compiler which will be incompatible
with 64 bit Windows C++ TDM compiling, or in fact not?

-I had been under the impression that the only way to build these sorts of things while remaining (native win64 TDM compatible) was to use the

64 bit mingw g++

compiler, and not the

gnu g++

compiler, on its own. When building things in the cygwin environment to be used outside of it. Is this view of things accurate, or not?
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12279

PostPosted: Thu Mar 28, 2019 8:23 am    Post subject:
Particular Build Problems with OSG.
Reply with quote

Hi Zachary,

On Thu, 28 Mar 2019 at 07:52, Zachary1234 <> wrote:
Quote:
Quote:
To build OSG you need to manually direct the cygwin installer to load version 3.3.3 of the gcc compiler family.

This part is very likely put of date, this page will have been written
in the OSG-2.x days, long before OSG-3.x and use of Cmake.

As I have no Cygwin experience I could not make any judgement on this
comment in the docs. I edited it to update best I could given what I
know. The fact that these docs were so out of date is a reflection on
how few people under WIndows use Cygwin. Those engineers who do
decide to go this route need have a high level of expertise in sorting
things out themselves than those engineers that adopt more platform
standard tools, under Windows this is VisualStudio.

Personally I'm a Linux user, I find it's a far easier platform to to
develop with as all the tools and dependencies get pulled in from
repositories.

If you do want to use Cygwin an there is no other engineers here that
are actively using it to help you with specific advance then you'll be
the one among us that can make judgement calls on what is now needed.
The best we can do is try and provide general guidance.

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build] 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 Problems with dae plugin John Richardson Plugins [osgPlugins] 0 Thu Apr 11, 2019 5:00 pm View latest post
No new posts [PARTIALLY SOLVED] Problems with dae ... Nikkitta Plugins [osgPlugins] 4 Mon Apr 08, 2019 3:51 pm View latest post
No new posts Help about obtaining a particular OSG... Zachary1234 General 4 Sat Mar 02, 2019 11:33 am View latest post
No new posts Precipitation problems bclay General 4 Wed Dec 19, 2018 9:50 pm View latest post
No new posts use vs2013 to build osg3.6.3, some er... FreeSouth General 0 Sat Dec 08, 2018 3:26 pm 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