Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

autorevision.h problem

(1/2) > >>

djapal:
Hello, I'm new to this thread and i find cb a great project for C programming! I tried to compile the svn exported fproject but the error log is the following

src\appglobals.cpp:15: autorevision.h: No such file or directory
src\appglobals.cpp:20: error: expected `,' or `;' before "SVN_REVISION"
src\appglobals.cpp:21: error: expected `,' or `;' before "SVN_REVISION"

any ideas??

(Working in windows)

I also got the following message when compiling widgets

g++ -c -o gcc_mswudll\monodll_dummy.o  -O2 -mthreads  -DHAVE_W32API_H -D__WXMSW__      -D_UNICODE  -I..\..\include -I..\..\lib\gcc_dll\mswu -W -Wall -
I..\..\src\tiff -I..\..\src\jpeg -I..\..\src\png -I..\..\src\zlib -I..\..\src\regex -I..\..\src\expat\lib -DwxUSE_BASE=1 -DWXMAKINGDLL   -Wno-ctor-dto
r-privacy   -MTgcc_mswudll\monodll_dummy.o -MFgcc_mswudll\monodll_dummy.o.d -MD ../../src/msw/dummy.cpp
windres --use-temp-file -i../../src/msw/version.rc -ogcc_mswudll\monodll_version_rc.o   --define __WXMSW__      --define _UNICODE  --include-dir ..\..
/include --include-dir ..\..\lib\gcc_dll\mswu --define WXDLLNAME=wxmsw26u_gcc_custom
windres: installation problem, cannot exec `%s' gcc: Permission denied

Pls help!!

Thnx in advance!

thomas:
I don't understand exactly what you're doing there, since I don't know what an exported fproject is, and the stuff showing up on your commandline is a bit weird, too.

However, the error is quite clear:
You are missing the file autorevision.h. This file is not under revision control, but is generated during the build.

Under "normal" conditions, there is nothing you have to do for that to happen, the autorevision tool is built as the first thing, and it is invoked as a pre-build step for the SDK target.
Since the SDK target is built before the Src target (appglobals.h belongs to Src), I wonder why you see the error at this location. If the file is missing, the build should already abort during the SDK target.

Can you tell what exactly you did to get the sources, and what exactly you did to build them (and what compiler system you use)?

djapal:
I use the ReactOS build environment (http://blight.reactos.at/reactos-be) which has all the stuff needed.
I use Tortoise SVN and i got the latest (2388 I think) source release. I exported it to a folder and i had to another folder the widgets files.
I put the 2 commands for the widgets into a bat file, ran it and got the previous message I posted after a lot of lines of  other messages.
I then opened the project with the 2380 build, put the variable for wx and tried to run it but i got the errors I said before.

djapal:
after some attempts i managed to overpass this problem...
BUT

the next problem is the following...

ld.exe:: cannot find -lwxmsw26u

 :shock:

takeshimiya:

--- Quote from: djapal on April 27, 2006, 08:06:21 pm ---ld.exe:: cannot find -lwxmsw26u

--- End quote ---
You need to add the path where the lib is located.

ie. -LC:\wxWidgets\lib\gcc_dll

Navigation

[0] Message Index

[#] Next page

Go to full version