Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-19-05, 01:42 PM   #1
archer
Registered User
 
Join Date: May 2005
Posts: 5
Default SDK for Linux

I'm having trouble. Nothing compiles with the latest SDK out of CVS.

Anybody out there with better luck?
archer is offline   Reply With Quote
Old 05-19-05, 03:20 PM   #2
stefan42
Registered User
 
Join Date: Jul 2003
Posts: 51
Default Re: SDK for Linux

Wow - I didn't know that they still maintained the SDK for linux. Can you please tell me the URL etc. for the cvs access?
Is it seperate from the windows SDK or is it all shared code?
Was there a formal release in the last years?
stefan42 is offline   Reply With Quote
Old 05-19-05, 03:34 PM   #3
LubosD
Registered User
 
Join Date: Jan 2005
Location: Czech Republic
Posts: 451
Send a message via ICQ to LubosD
Default Re: SDK for Linux

Have a look at this stuff:

Cg toolkit CVS access howto
Cg compiler for Linux etc.

Only CVS works, standard download makes Error404
LubosD is offline   Reply With Quote
Old 05-19-05, 03:48 PM   #4
LubosD
Registered User
 
Join Date: Jan 2005
Location: Czech Republic
Posts: 451
Send a message via ICQ to LubosD
Default Re: SDK for Linux

Grrrr, it downloads the Direct3D SDK version too, if you use CVS access. Direct3D is useless

@archer: Will try after the SDK is downloaded.
LubosD is offline   Reply With Quote
Old 05-19-05, 06:19 PM   #5
archer
Registered User
 
Join Date: May 2005
Posts: 5
Default Re: SDK for Linux

Thanks! I'll be waiting for your results.

My gcc (and g++) version is 3.4.1, and I run MDK 10.1.

The OpenVIDIA web page suggest trouble with different
g++ versions:
http://openvidia.sourceforge.net/installation.shtml
archer is offline   Reply With Quote
Old 05-20-05, 05:36 PM   #6
LubosD
Registered User
 
Join Date: Jan 2005
Location: Czech Republic
Posts: 451
Send a message via ICQ to LubosD
Default Re: SDK for Linux

This s*** is weird. Good job nVidia!

I had to correct one error in source code.

Change this (in SDK/DEMOS/OpenGL/inc/glh/glh_linear.h):
Code:
#ifdef _WIN32
# define TEMPLATE_FUNCTION
#else
# define TEMPLATE_FUNCTION <>
#endif
to this:
Code:
# define TEMPLATE_FUNCTION
Now you can make SDK/LIBS/src. Let's go to SDK/DEMOS/OpenGL/src:

Now I had to symlink some libs (GLUs and gluts) from /usr/X11R6/lib to /usr/lib, because these OpenGL libs are installed to /usr/X11R6/lib instead of /usr/lib -> -lGLU or -lglut does not work until you create this symlinks.

Ufff, then I tried "make" again and I got another errors while compiling demos:
Code:
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../libCg.so: undefined reference to `pthread_getspecific'
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../libCg.so: undefined reference to `pthread_once'
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../libCg.so: undefined reference to `pthread_key_create'
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../libCg.so: undefined reference to `pthread_setspecific'
So, their Cg compiler's libs seem to be broken too. This can be fixed by adding -lpthread to the gcc's args but that means quite a lot of editing: edit every Makefile in each SDK/DEMOS/OpenGL/src/cg_* subdirectory (if there is one): add -lpthread to the LFLAGS.

However, I still can't compile stablefluids.cpp.

P.S.: You need to have GLU and glut (devel) libraries installed
LubosD is offline   Reply With Quote
Old 05-20-05, 10:29 PM   #7
archer
Registered User
 
Join Date: May 2005
Posts: 5
Default Re: SDK for Linux

Yep. I think you got as far as I did.

I am running g++ 3.4.1, and Iit also chokes in the template stuff.

I will giving it a second try this weekend. I will try to contact somebody
at NVidia and see if they tell us the compiler restrictions, fix the
code, and update the CVS repository. (wish me luck)

I will keep you posted.
archer is offline   Reply With Quote
Old 09-02-05, 12:42 PM   #8
Giniusan
Registered User
 
Join Date: Sep 2005
Posts: 5
Default Re: SDK for Linux

Hmm... the link to CVS instruction don't work... but I think it should be:

http://download.nvidia.com/developer.../LinuxSDK.html

but I cannot connect to cvs... anyone else have troubles accessing it or my ip is blocked?
Giniusan is offline   Reply With Quote

Old 09-04-05, 09:14 PM   #9
MacSlow
Registered User
 
MacSlow's Avatar
 
Join Date: Jul 2002
Location: Aachen, Germany
Posts: 76
Send a message via ICQ to MacSlow Send a message via AIM to MacSlow Send a message via MSN to MacSlow
Default Re: SDK for Linux

Quote:
Originally Posted by Giniusan
... but I cannot connect to cvs... anyone else have troubles accessing it or my ip is blocked?
I just tried it too, but constantly get this error-message from cvs:

Code:
cvs [checkout aborted]: end of file from server (consult above messages if any)
I wrote an email to the nvidia-support for the SDK asking them what's wrong with the repository. I'll post their reply here as soon as I get it.

Best regards...

MacSlow
__________________
First they ignore you...
then they laugh at you...
then they fight you...
then you win!
(Gandhi)
MacSlow is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD OpenCL APP SDK Beats Intel's Own SDK On Ivy Bridge News Archived News Items 0 06-13-12 06:00 PM
OpenCL 1.2 supported in AMD OpenCL APP SDK 2.7 and Catalyst 12.4 drivers News Archived News Items 0 05-30-12 09:30 AM
PhysX SDK 3.2: final version is available News Archived News Items 0 05-10-12 05:50 AM
OpenGL SDK compilation problems gib bogle NVIDIA Linux 2 09-18-02 09:15 AM
Syntax error when compiling NVOpenGL SDK thursto77 NVIDIA Linux 2 07-29-02 05:55 PM

All times are GMT -5. The time now is 06:39 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.