0

Error message: no 'object' file generated

asked 2015-01-19 01:48:12 -0700

bling gravatar image

When I build my AllJoyn project, follow the instructions on https://allseenalliance.org/developers/develop/building/windows/build-source .

It build fails on Windows with Visual Studio 12.0. The build command used was as below: scons OS=win7 CPU=x86 MSVC_VERSION=12.0 BINDINGS=cpp.

It would be very helpful if anyone can help. Thanks!!

The error message are as follow:

AboutServiceMain.cc services\about\cpp\samples\AboutServiceSample\AboutServiceMain.cc:error C220: warning treated as error - no 'object' file generated
services\about\cpp\samples\AboutServiceSample\AboutServiceMain.cc: warning C4819: The file contains a character that cannot be represented in current code page<950>. Save the file in Unicode format to prevent data loss
scons: *[build\win7\x86\debug\obj\about\cpp\samples\AboutServiceSample\AboutServiceMain.obj] Error 2
scons: building terminated because of errors

edit retag flag offensive close merge delete

Comments

It builds success when I mark all the content of the function "static QStatus FillAboutPropertyStoreImplData(AboutPropertyStoreImpl* propStore, OptParser const& opts)". But It still builds fails when building the file AboutDataTest.cc with the same error message.

bling ( 2015-01-19 02:16:37 -0700 )edit

I add '/wd4819' in "env.Append(CXXFLAGS=)" in the file conf\windows\SConscript, and It builds success!

bling ( 2015-01-19 18:17:12 -0700 )edit

What version of AllJoyn or branch did you attempt to build ? What you are seeing should not be the case. You shouldn't need to add any extra flags to build any sample.

Nikhil Dabhade ( 2015-01-20 12:57:52 -0700 )edit

Where can I find the version? I used the instruction "git clone https://git.allseenalliance.org/gerrit/core/alljoyn.git" to download the source code

bling ( 2015-01-20 16:53:42 -0700 )edit

you can grab the source here: https://allseenalliance.org/developers/download as well as the windows SDK

ry.jones ( 2015-01-29 12:40:20 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-03 11:48:39 -0700

ry.jones gravatar image
Linux Foundation Staff

https://jira.allseenalliance.org/browse/ASACORE-1587

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-01-19 01:48:12 -0700

Seen: 180 times

Last updated: Mar 03 '15