473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Can't Compile A Program :(

4
I dowloaded a program form:

http://www.rtreeportal.org/code.html

Its the X-tree program... I tried to compile it, but there is a lot of errors... can anyone help me to compile this program.

Thank you very much.
Niekas
Nov 6 '07 #1
6 1285
sicarie
4,677 Expert Mod 4TB
Well, you're going to tell us what your setup is (OS, compiler & version), and some of the errors you are getting.
Nov 6 '07 #2
Niekas
4
my soft is OS, but it would not be a problem if you compile on Linux.. Thank you
Nov 6 '07 #3
Niekas
4
I am uzing dev-cpp (latest version) and visual studio 2005. Both of them shows the same problems.
Nov 6 '07 #4
sicarie
4,677 Expert Mod 4TB
my soft is OS, but it would not be a problem if you compile on Linux.. Thank you
I'm not compiling it for you, I'm helping you compile it. That's why I asked what errors you were getting. It's a .tar.gz with a makefile - it looks like it has to be done either with Linux, or something like Cygwin.

Otherwise, you can read their paper and try to recreate it yourself.

I should clarify - I'm not sure of a way to run a makefile on a Windows machine. That does not mean it is not possible. You could also look at the code that the tar file unzips to - it's in German, but the functions are the same. That's the implementation of the tree, you should be able to include a few of those and be able to call what you need.
Nov 6 '07 #5
Niekas
4
I tried to compile in Linux... but the problems are the same... Can you suggest something? maybe I have to use some parameters when I am compiling ? Or download some includes?
Nov 6 '07 #6
sicarie
4,677 Expert Mod 4TB
I tried to compile in Linux... but the problems are the same... Can you suggest something? maybe I have to use some parameters when I am compiling ? Or download some includes?
Have you looked at the x_tree.cc and x_tree.h? I imagine those are the x_tree implementations. You need to sit down with that code in the tar file and see what it all does, how it works. Then you'll see how to include it. My guess is that their code either compiles and doesn't do anything (as it's never instantiated by a main()) or it's just an example of an x_tree implementation.
Nov 6 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: zhouhaiming | last post by:
On our test machine I can compile my c source code on AIX5.1(ML4) by "- q32" option and "OBJECT_MODE=32" environment variable, and it can correctly running. My operation system environment is:...
12
by: jrefactors | last post by:
If the C programs have UNIX system calls such as fork(), alarm(), etc.., we should call it UNIX programs, not traditional C programs? We couldn't compile the programs with system calls using VC++...
3
by: Yang Zhang | last post by:
Here is a program: ///////////////////////////////////////////////// #include <iostream> using namespace std ; class A { int a ; A(const A& aA) { a=aA.a ; cout<<"copy constructor...
8
by: Davy | last post by:
Hi all, I use VC and gcc/gdb to compile and debug C/C++ files. But I found some of the debug version of the compiled files are too large to be run in a small RAM. Can I compile C/C++ Debug...
5
by: Brice Prunier | last post by:
Here under 4 schemas i'm working with ( it may be long: sorry...) The context is the following : Resident.xsd imports Person.xsd and includes Common.xsd ( anonimous schema: no TargetNamespace )...
6
by: Arthur | last post by:
I had two Visual Studio .NET C++ solutions that I combined into one. These project solutions were very similar. In fact, the two solutions were sharing many files. Now that they are one...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
1
by: 张沈鹏 | last post by:
How to compile the HelloWorld of boost.asio? Maybe this is a stupid problem , but I really don't konw how to find the right way. My compile environment is WinXP, Msys , MinGw , G++ 3.4.2,...
109
by: zaidalin79 | last post by:
I have a java class that goes for another week or so, and I am going to fail if I can't figure out this simple program. I can't get anything to compile to at least get a few points... Here are the...
30
by: Anarki | last post by:
The following is the program i am trying to compile //restrict.c #include <stdio.h> int main() { char arr = "Qualifiers" char * restrict p = arr; int i = 0; for(; i < 10; ++i)
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.