Quake3World.com Forums
     Quake III Arena/Quake Live Discussion
        IOQUAKE 3 Raytracing Patch (Released)


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC





Previous topic | Next topic 
Topic Starter Topic: IOQUAKE 3 Raytracing Patch (Released)

Trainee
Trainee
Joined: 04 Apr 2008
Posts: 26
PostPosted: 04-04-2008 08:17 AM           Profile Send private message  E-mail  Edit post Reply with quote


hello in the first Nice Forum ;)
and now back to topic...
Yes there was an Released Raytracing Patch based on Ioquake 3 but many dont know it... so ive make this thread ;) when there was new news about this Patch ive updated this Post

News :
1.4.08- Mac-compatible Raytracing Patch Released
1.4.08- Stephan reiter wrote: "Now I call this mission accomplished! :-)
Now I got to prepare a talk I will hold in two weeks and get busy writing my thesis. I'm also considering to submit a poster proposal to this years symposium on interactive raytracing"
So, its quite possible that this is the last version of the Raytracing patch...

Download Link :
http://ioquake3.org/files/rtpatch1270.zip

Screenshots:
Ioquake 3 Raytraced: http://picasaweb.google.at/stephan.reit ... 3Raytraced
Elite force Raytraced: http://picasaweb.google.at/stephan.reit ... eRaytraced

Videos:
Elite Force Raytraced:
http://thilo.tjps.eu/download/raytracing2.avi


Changelog :

--------------1.4.08 New Raytracing Patch-----------------
Rapdio 0.7:
- Restructured code, respects C++ RAII idiom and separates scene management from the
acceleration structure through templates (next version will feature BIH and Grid as
replacements for the BVH, BIH should yield better results in the ioquake3 environment).
- Rewritten kd-tree builder, does not depend on openmp to utilize all cores (although
openmp allows speeding up some parts of the process)

rt-ioquake3:
- Runtime code generation for shaders using the LLVM: this is blazingly fast and does
not require GCC to be installed anymore!
- SIMD code is not generated yet, expect lower performance due to use of scalar code
only.
- Support for reflections in Elite Force has been removed. We should think about adding
new keywords to the Q3 shader language for raytraced effects.


About Compilie this Patch:

- Code is based on revision 1270.
- Rapido is not built with the ioquake3 makefile - build it manually in code/rapido
- Get the latest version of the LLVM from their Subversion repository, svn co http://llvm.org/svn/llvm-project/llvm/trunk
llvm
- Lightmaps are not sampled yet.


Credits:
Sthephan Reiter




Top
                 

Beggar@Q3W
Beggar@Q3W
Joined: 09 Feb 2005
Posts: 1086
PostPosted: 04-05-2008 07:46 PM           Profile Send private message  E-mail  Edit post Reply with quote


Maybe I'm dense but...
Is there any benefit to be raytraced?
Does it have the potential to expand the existing fun factor or just consume much more hardware resource?




Top
                 

I'm the dude!
I'm the dude!
Joined: 04 Feb 2002
Posts: 12498
PostPosted: 04-05-2008 10:12 PM           Profile Send private message  E-mail  Edit post Reply with quote


Raytraced? I'm not seeing it. I see real-time reflections (which look great), but nothing actually raytraced.




Top
                 

Pestilence
Pestilence
Joined: 25 Mar 2002
Posts: 15822
PostPosted: 04-05-2008 11:09 PM           Profile Send private message  E-mail  Edit post Reply with quote


obsidian wrote:
Raytraced? I'm not seeing it. I see real-time reflections (which look great), but nothing actually raytraced.


And I've used ray-tracing programs back in the early days. Eggshooters vid was ray-traced.




Top
                 

Messatsu Ko Jy-ouu
Messatsu Ko Jy-ouu
Joined: 24 Nov 2000
Posts: 44139
PostPosted: 04-07-2008 07:40 AM           Profile   Send private message  E-mail  Edit post Reply with quote


10 fps :paranoid:




Top
                 

Insane Quaker
Insane Quaker
Joined: 26 Sep 2005
Posts: 496
PostPosted: 04-07-2008 12:58 PM           Profile Send private message  E-mail  Edit post Reply with quote


so how do i get this to work




Top
                 

Mentor
Mentor
Joined: 12 Mar 2005
Posts: 3958
PostPosted: 04-07-2008 07:34 PM           Profile Send private message  E-mail  Edit post Reply with quote


You have to first patch and then build the ioquake3 source. :)

There hasn't been a release so far and there may never be one - Stephan Reiter wrote it for his thesis - but this will undoubtedly show up in one of the ioquake3 spinoffs.




Top
                 

Trainee
Trainee
Joined: 04 Apr 2008
Posts: 26
PostPosted: 04-08-2008 07:29 AM           Profile Send private message  E-mail  Edit post Reply with quote


@MKJ you get it to work
So im a noob in this thing..
Can you please upload the compiled version... or some other person who get it to work?
thank you very much




Top
                 

Messatsu Ko Jy-ouu
Messatsu Ko Jy-ouu
Joined: 24 Nov 2000
Posts: 44139
PostPosted: 04-08-2008 12:53 PM           Profile   Send private message  E-mail  Edit post Reply with quote


i havent tried it sir. i was referring to one of the screenshots posted




Top
                 

Trainee
Trainee
Joined: 04 Apr 2008
Posts: 26
PostPosted: 04-22-2008 07:51 AM           Profile Send private message  E-mail  Edit post Reply with quote


can someone compile it?
I want to test it out but i dont have some c++ experience or something like that -.-




Top
                 

Mentor
Mentor
Joined: 12 Mar 2005
Posts: 3958
PostPosted: 04-22-2008 10:35 AM           Profile Send private message  E-mail  Edit post Reply with quote


Post your request to the ioquake3 mailing list, the kind souls there will quite likely put up a Windows build for you somewhere.

http://ioquake3.org/discussion/




Top
                 

Gibblet
Gibblet
Joined: 15 Nov 2007
Posts: 13
PostPosted: 04-25-2008 03:00 PM           Profile Send private message  E-mail  Edit post Reply with quote


Compiling under Ubuntu 8.04 64-bit, I get the following error:
Code:
code/renderer/tr_rtshaders.cpp:236:38: warning: llvm/Support/LLVMBuilder.h: No such file or directory
Then a ridiculously long string of errors caused from that.

For some reason my LLVM install doesn't come with LLVMBuild.h. My install is from the svn source, not the Ubuntu packages.




Top
                 

Mentor
Mentor
Joined: 12 Mar 2005
Posts: 3958
PostPosted: 04-26-2008 01:08 AM           Profile Send private message  E-mail  Edit post Reply with quote


You could try the llvm-dev package from Debian sid: http://packages.debian.org/sid/llvm-dev




Top
                 

Gibblet
Gibblet
Joined: 15 Nov 2007
Posts: 13
PostPosted: 04-26-2008 07:15 AM           Profile Send private message  E-mail  Edit post Reply with quote


Code:
In file included from src/renderer/tr_rtshaders.cpp:236:
/usr/local/include/llvm/User.h: In member function ‘llvm::ReturnInst* llvm::LLVMBuilder::CreateRetVoid()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:90: error: within this context
/usr/local/include/llvm/Instructions.h:1519: error: ‘llvm::ReturnInst::ReturnInst(llvm::Value*, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:90: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::ReturnInst* llvm::LLVMBuilder::CreateRet(llvm::Value*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:97: error: within this context
/usr/local/include/llvm/Instructions.h:1519: error: ‘llvm::ReturnInst::ReturnInst(llvm::Value*, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:97: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::BranchInst* llvm::LLVMBuilder::CreateBr(llvm::BasicBlock*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:102: error: within this context
/usr/local/include/llvm/Instructions.h:1596: error: ‘llvm::BranchInst::BranchInst(llvm::BasicBlock*, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:102: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::BranchInst* llvm::LLVMBuilder::CreateCondBr(llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:108: error: within this context
/usr/local/include/llvm/Instructions.h:1598: error: ‘llvm::BranchInst::BranchInst(llvm::BasicBlock*, llvm::BasicBlock*, llvm::Value*, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:108: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::SwitchInst* llvm::LLVMBuilder::CreateSwitch(llvm::Value*, llvm::BasicBlock*, unsigned int)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:115: error: within this context
/usr/local/include/llvm/Instructions.h:1702: error: ‘llvm::SwitchInst::SwitchInst(llvm::Value*, llvm::BasicBlock*, unsigned int, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:115: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::GetElementPtrInst* llvm::LLVMBuilder::CreateGEP(llvm::Value*, llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:227: error: within this context
/usr/local/include/llvm/Instructions.h:478: error: ‘llvm::GetElementPtrInst::GetElementPtrInst(llvm::Value*, llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:227: error: within this context
/usr/local/include/llvm/Instructions.h: In member function ‘llvm::PHINode* llvm::LLVMBuilder::CreatePHI(const llvm::Type*, const char*)’:
/usr/local/include/llvm/Instructions.h:1363: error: ‘static void* llvm::PHINode::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:379: error: within this context
/usr/local/include/llvm/Instructions.h:1367: error: ‘llvm::PHINode::PHINode(const llvm::Type*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:379: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::CallInst* llvm::LLVMBuilder::CreateCall(llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:383: error: within this context
/usr/local/include/llvm/Instructions.h:934: error: ‘llvm::CallInst::CallInst(llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:383: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::CallInst* llvm::LLVMBuilder::CreateCall(llvm::Value*, llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:386: error: within this context
/usr/local/include/llvm/Instructions.h:930: error: ‘llvm::CallInst::CallInst(llvm::Value*, llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:386: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::SelectInst* llvm::LLVMBuilder::CreateSelect(llvm::Value*, llvm::Value*, llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:397: error: within this context
/usr/local/include/llvm/Instructions.h:1069: error: ‘llvm::SelectInst::SelectInst(llvm::Value*, llvm::Value*, llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:397: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::InsertElementInst* llvm::LLVMBuilder::CreateInsertElement(llvm::Value*, llvm::Value*, llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:411: error: within this context
/usr/local/include/llvm/Instructions.h:1222: error: ‘llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:411: error: within this context
In file included from src/renderer/tr_rtshaders.cpp:285:
src/renderer/codegen/floats.h: In member function ‘llvm::Value* Float2::Field::address()’:
src/renderer/codegen/floats.h:98: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In constructor ‘Float2::Float2(llvm::Value*)’:
src/renderer/codegen/floats.h:118: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:118: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In member function ‘llvm::Value* Float3::Field::address()’:
src/renderer/codegen/floats.h:207: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In constructor ‘Float3::Float3(llvm::Value*)’:
src/renderer/codegen/floats.h:227: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:227: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:228: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In member function ‘llvm::Value* Float4::Field::address()’:
src/renderer/codegen/floats.h:318: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In constructor ‘Float4::Float4(llvm::Value*)’:
src/renderer/codegen/floats.h:338: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:338: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:339: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:339: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateSampleTexture()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:395: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:395: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateSampleAnimatedTexture()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:407: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:407: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateSampleSkyBox()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:418: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:418: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateSine()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:426: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:426: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateCosine()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:434: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:434: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateGenerateFunction()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:453: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:453: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateShadeBackground()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:463: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:463: error: within this context
/usr/local/include/llvm/BasicBlock.h: In member function ‘Float4 Ast::Shader::ComputeRayColor(llvm::Value*, Float3&, Float2&, Float3&, Float3&, Float3&, Float&, Float3&, Float4&)’:
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:940: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:941: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:942: error: within this context
/usr/local/include/llvm/User.h: In function ‘CompiledShader BuildShader(const std::string&, const shader_t*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:1276: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:1276: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1283: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1297: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1312: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1317: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1317: error: within this context
src/renderer/tr_rtshaders.cpp:1330: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1331: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1332: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1332: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1340: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1341: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1342: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1343: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1344: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
/usr/local/include/llvm/User.h: In member function ‘llvm::CallInst* llvm::LLVMBuilder::CreateCall(llvm::Value*, InputIterator, InputIterator, const char*) [with InputIterator = __gnu_cxx::__normal_iterator<llvm::Value**, std::vector<llvm::Value*, std::allocator<llvm::Value*> > >]’:
src/renderer/tr_rtshaders.cpp:550:   instantiated from here
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:392: error: within this context
/usr/local/include/llvm/Instructions.h:905: error: ‘llvm::CallInst::CallInst(llvm::Value*, InputIterator, InputIterator, const std::string&, llvm::Instruction*) [with InputIterator = __gnu_cxx::__normal_iterator<llvm::Value**, std::vector<llvm::Value*, std::allocator<llvm::Value*> > >]’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:392: error: within this context
src/rapido/xmmhelper.h: At global scope:
src/rapido/xmmhelper.h:10: warning: ‘One4’ defined but not used
make[2]: *** [build/release-linux-x86_64/client/tr_rtshaders.o] Error 1

Any ideas? Perhaps my LLVM installation is too new? What revision are you using? Damn I wish I knew what Reiter's build environment was like. All I know is that he uses Ubuntu 7.10 64-bit.




Top
                 

Mercenary
Mercenary
Joined: 08 Oct 2006
Posts: 200
PostPosted: 04-27-2008 06:48 AM           Profile Send private message  E-mail  Edit post Reply with quote


Incorrectly patched?




Top
                 

Gibblet
Gibblet
Joined: 15 Nov 2007
Posts: 13
PostPosted: 04-27-2008 08:27 AM           Profile Send private message  E-mail  Edit post Reply with quote


I wouldn't think so, the files that are failing are unmodified in the patch.




Top
                 

Recruit
Recruit
Joined: 13 May 2008
Posts: 1
PostPosted: 05-13-2008 05:53 AM           Profile Send private message  E-mail  Edit post Reply with quote


Hey, LLVM dev here.

Just a note about optimization: There's no reason to use both GVN and GCSE. GVN is both faster and generally better. For pass ordering, I'd suggest mirroring what is done in the opt tool for -std-compile-opts.




Top
                 

Trainee
Trainee
Joined: 04 Apr 2008
Posts: 26
PostPosted: 05-13-2008 12:30 PM           Profile Send private message  E-mail  Edit post Reply with quote


ive posted in the mailing list but nobody answered ...
And when i want to compile i have too many errors i dont have enough experience




Top
                 
Quake3World.com | Forum Index | Quake III Arena/Quake Live Discussion


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.