|
|
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » How to compile thrid-party packages?
|
Re: How to compile thrid-party packages? [message #5720 is a reply to message #5682] |
Wed, 11 October 2006 07:48 |
|
mirek
Messages: 13984 Registered: November 2005
|
Ultimate Member |
|
|
arixion wrote on Mon, 09 October 2006 09:44 | Hey,
I'm doing some testing with Blender and Irrlicht, and am wonderign if I could use the makefiles provided in their software packages to compile the programs. But I don't seem to see such a function in the IDE. Is there any way to achieve this? IMHO, how do u compile third-party libraries (those w/o UPP packages to go along) like OGRE and Irrlicht using The IDE, or is that impossible?
puzzled newcomer
|
It depends. Usually we prefer to convert them to the package and use some glue code to make it U++ like. These packages are usually in the "plugin", like "plugin/png" - go there to get the idea.
Alternative approach is to compile the library using makefile and add it as existing lib (Package organizer..., right click the right pane, choose "Add library...")
Mirek
[Updated on: Wed, 11 October 2006 07:49] Report message to a moderator
|
|
|
Re: How to compile thrid-party packages? [message #5725 is a reply to message #5720] |
Wed, 11 October 2006 08:27 |
arixion
Messages: 27 Registered: October 2006 Location: Southeast Asia
|
Promising Member |
|
|
luzr wrote on Wed, 11 October 2006 13:48 |
arixion wrote on Mon, 09 October 2006 09:44 | Hey,
I'm doing some testing with Blender and Irrlicht, and am wonderign if I could use the makefiles provided in their software packages to compile the programs. But I don't seem to see such a function in the IDE. Is there any way to achieve this? IMHO, how do u compile third-party libraries (those w/o UPP packages to go along) like OGRE and Irrlicht using The IDE, or is that impossible?
puzzled newcomer
|
It depends. Usually we prefer to convert them to the package and use some glue code to make it U++ like. These packages are usually in the "plugin", like "plugin/png" - go there to get the idea.
Alternative approach is to compile the library using makefile and add it as existing lib (Package organizer..., right click the right pane, choose "Add library...")
Mirek
|
hmm... How do I convert it into the package? Because I really don't wish to dl CodeBlocks juz so that I can compile other packages.
|
|
|
Re: How to compile thrid-party packages? [message #5726 is a reply to message #5725] |
Wed, 11 October 2006 10:49 |
|
mirek
Messages: 13984 Registered: November 2005
|
Ultimate Member |
|
|
Quote: |
hmm... How do I convert it into the package? Because I really don't wish to dl CodeBlocks juz so that I can compile other packages.
|
Usually, it is very straightforward process: You create an empty package (by adding it to your project "uses"), copy source files to the directory and add them as package files ("add package directory files") and you are practically done (as long as you do not want to add some glue code encapsulation, which really is not necessary).
Of course, problems can appear on the way, but they are way specific to list them here all now...
[Updated on: Wed, 11 October 2006 10:50] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Jun 08 10:33:58 CEST 2024
Total time taken to generate the page: 0.02385 seconds
|
|
|