On-line: guests 2. In total there are: 2 [information..]
AuthorTopic
Snape



Post №: 7
Joined: 30.09.09
Rank: 0
link post  Posted: 05.02.10 15:38. Post subject: Compiling IvanHoe with VS 2008 Express?


Hi,
I need a little help from my friends here.
I want to take the IvanHoe sources and compile them on my own. I would like to do it under Visual Studio 2008 (Express). But first I have to admit that I am not very used to C++. I have some advanced experience with Visual Studio and Fortran within that and Java.
What I tried was creating a new standard project, imported all *.h files into the header-folder, the .c files into the sources-folder and the *.i and *.v files into the resources folder. Now after a build (all) I get the message that there is no executable build commandline available. Therefore no .exe is generated. What am I doing wrong? Any help appreciated - except "use gcc" unless it is followed by really easy use. ;)
Thanks in advance.

Say thanks!: 0 
Profile Reply
Replys - 4 [new only]


bankuss
Black King


Post №: 2605
Joined: 15.07.07
Rank: 31

Awards: За плодотворную работу над оптимизацией и доводкой до ума Ипполитов!!!
link post  Posted: 06.02.10 21:24. Post subject: Snape пишет: into t..


Snape пишет:

 quote:
into the sources-folder and the *.i and *.v files into the resources folder

no

Snape пишет:

 quote:
all *.h files into the header-folder, the .c files

not all files

+ change robbolito.h

Say thanks!: 0 
Profile Reply
Snape



Post №: 8
Joined: 30.09.09
Rank: 0
link post  Posted: 08.02.10 11:46. Post subject: Hi, OK, removed the ..


Hi,
OK, removed the *.i and *.v files from the VS-project. Changed the first two RobboLito.h into

#include <stdio>
#include <stdlib>

Didn't remove *.h and *.c files, still the same error:
"Существует не построить командную строку, чтобы быть выполнено до сих пор." (thanks google-translation)

What else is necessary? You can also write a PN if you don't want to go any further here in this thread. ;)

Say thanks!: 0 
Profile Reply
Robborriffic



Post №: 74
Joined: 03.01.10
Rank: 2
link post  Posted: 10.02.10 08:08. Post subject: I imported everythin..


I imported everything in the latest tar into MSVC 2008 (File menu, under New, choose Project from Existing Code).
Then I changed the global properties (click on the project, and then in Project choose the final item, Properties) of the "Command Line" (go to Configuration Properties, and C/C++, and Command Line). Here I added as "Additional Options"

 quote:
/D "WINDOWS"
/D "CON_ROBBO_BUILD"
/D "YUSUF_MULTICORE"
/D "EPONYM"=\"YOUR_NAME_HERE\"
/D "VERSION"=\"VERSION_NUMBER\"


Then I removed various of the files from the build (those that are only used to build Triple bases).
This is by right-clicking on the file name in the Solution Explorer.
I got rid of

 quote:
Robbo_build.c
Robbo_comp.c
Robbo_conto.c
Robbo_gen.c
Robbo_gen_mossa.h
Robbo_mfa.c
Robbo_mobilita.c
RobboTripleBuild.c


Then I just did Build Solution in the Build menu.

This is probably lousy in speed, but it's a starting point.

Say thanks!: 1 
Profile Reply
Snape



Post №: 9
Joined: 30.09.09
Rank: 0
link post  Posted: 17.02.10 11:56. Post subject: Thanks for these hin..


Thanks for these hints. It finally works.
Although I had to change a function call too.

Say thanks!: 0 
Profile Reply
Тему читают:
- user online
- user offline
All times are GMT  2 Hours. Hits today: 22
You can: smiles yes, images yes, types no, poll no
avatars yes, links on, premoderation on, edit new post no