Project configuration settings

Apr 1, 2016 at 7:43am
Hello All,
While compiling VC++ apps, getting the below error . PLease advise.

C:\documents and settings\narsips\desktop\trendsetter\vs\smoothdata.h(35) : error C2057: expected constant expression
c:\documents and settings\narsips\desktop\trendsetter\vs\smoothdata.h(35) : warning C4200: nonstandard extension used : zero-sized array in struct/union
c:\documents and settings\narsips\desktop\trendsetter\vs\smoothdata.h(36) : error C2229: struct '__unnamed' has an illegal zero-sized array
c:\rfsm\common\cpp\util\util.h(14) : fatal error C1083: Cannot open include file: 'C:\Documents and Settings\narsips\Common\CPP\util\config.h': No such file or directory
extractgendlg.cpp
Apr 1, 2016 at 8:59am
The errors and warnings about lines 35 and 36 of the file
C:\documents and settings\narsips\desktop\trendsetter\vs\smoothdata.h
are about C++ syntax. You did not show the relevant code. => We cannot advise.

Line 14 of file
C:\rfsm\common\cpp\util\util.h
does try to include file
C:\Documents and Settings\narsips\Common\CPP\util\config.h

Why a file in C:\rfsm\common is written to
depend on something in C:\Documents and Settings\narsips?

You may or may not have "project configuration" issues too, but do solve the code errors first.
Apr 1, 2016 at 10:08am
THanks for your reply. Included the missing file into line 14. now getting the below errrors.

LINK : fatal error LNK1561: entry point must be defined
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Release\BestFit.sbr': No such file or directory
Error executing bscmake.exe.

Trend.exe - 2 error(s), 0 warning(s)
Apr 1, 2016 at 10:56am
It seems you have no entry point to your program, i.e. a main function.
Topic archived. No new replies allowed.