Use the "Forum Search"
It may help you to find anything in the forum ;).

Compile error using MSVC 2010

Started by Miziiik, September 03, 2013, 02:12:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.



I used this TUT:

And MSVC 2010 shows me errors:
1>------ Build started: Project: Simutrans, Configuration: Debug Win32 ------
1>  gdate není názvem vnitřního ani vnějšího příkazu,
1>  spustitelného programu nebo dávkového souboru.
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: The command "gdate --rfc-2822
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :VCEnd" exited with code 9009.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I think that some libraries are missing. I want to compile libraries by myself but makefile isn't working for me and I don't know all needed libraries.  :-[

And one more question: How can I set compiling to SDL ver.?

Thanks for help  :) Můj web o hře Simutrans - Moje addons, návody, odkazy, apod.


I have never seen this error message.
Parsley, sage, rosemary, and maggikraut.


In English it says too: "GDATE is not an internal or external command,
operable program or batch file."

Can someone uploads or sends links or names all needed libraries?  ;)

1. option is that i hanven't all libraries needed
2. option is that I have old libraries

or I don't know why...

This says when I use VS's MSVC10 files... When I use original files from SVN and update it to MSVC2010 it says many errors about missing something Můj web o hře Simutrans - Moje addons, návody, odkazy, apod.


The error message seems to rule out libraries. It seems to be some form of tool used to format a date (probably the current date) as part of the build process. Why the MSVC build wants to do that, I do not know (since I compile with GCC).


Ok, I fixed it and I don't know how... Now it shows only on err:
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt Můj web o hře Simutrans - Moje addons, návody, odkazy, apod.


Oopsies? I used the "date" utility from mingw32 (called "gdate" to prevent conflict with windows command) to measure compilation speed. I am not aware of sharing the project file with this setting enabled, but apparently it happened.

Since you got this, do check the directories and post-link events, I set up the project so that it a) clocks compilation, b) starts the program in existing installation directory and c) copies the exe anyway, to test it outised msvc as well.

The linking warning you get should be unrelated to these problems.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!