No barcode.lib in rhoelements-2.0.5.27.0

Hi,

I have downloaded the new Motorola Rhoelements Suite and trying to build an barcode reader app for a motorola device (mc3190).

We have RhoElements license. 

The build process is throwing the following error:

-----------------------------

9>Generating Code...

9>Compiling resources...

9>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

9>Copyright (C) Microsoft Corporation.  All rights reserved.

9>Linking...

9>LINK : fatal error LNK1104: cannot open file 'Barcode.lib'

Project : warning PRJ0018 : The following environment variables were not found:

$(PLATFORMDEFINES)

9>Build log was saved at "file://c:\MotorolaRhoMobileSuite2.0.5\ruby\lib\ruby\gems\1.9.1\gems\rhodes-3.3.3\platform\wm\bin\MC3000c50b (ARMV4I)\rhodes\Release\BuildLog.htm"

9>rhodes - 1 error(s), 1 warning(s)

Build complete: 4 Projects succeeded, 1 Projects failed, 0 Projects skipped

Error building

Error in build application

-----------------------------

My build.yml is following

-----------------------------------

extensions:

  - json

wm:

  sdk: "MC3000c50b (ARMV4I)"

  emulator: "Windows Mobile 6 Professional Emulator"

  extensions: ["webkit-browser", "Barcode"]

name: "BarcodeMotorola"

capabilities:

  - motorola

#  - camera

wp:

  - camera

  - vibrate

  - phone

  - motorola

productid: "99323d40-8c5d-012f-fbf2-54bed9c762fe"

app_type: "rhoelements"

bbver: 4.6

android:

  version: 2.1

applog: "rholog.txt"

build: "debug"

version: 1.0

vendor: "rhomobile"

sdkversion: "3.3.3"

-----------------------------------

In rhoelements-2.0.0.beta.3 there was barcode-moto.rb file and barcode-moto folder but nothing like this in the latest version.

I've also tried copying barcode.lib from earlier rhoelements beta version but didn't work.

Copied barcode-moto folder and barcode-moto.rb from \RhoStudio\ruby\lib\ruby\gems\1.8\gems\rhoelements-2.0.0.beta.3\libs to MotorolaRhoMobileSuite2.0.5\ruby\lib\ruby\gems\1.9.1\gems\rhoelements-2.0.5.27.0\libs


This improves nothing and keeps showing the same error "LINK : fatal error LNK1104: cannot open file 'Barcode.lib'".

Did anybody face the similar situation? Any help from the core team please!

Any help please. Thanks.

Robert Galvin
Can you share your gem list

Can you share your gem list?

You may have an older Rhoelements gem that is getting in the way.

Sent from my Verizon Wireless 4G LTE DROID

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Bratish Goswami
Thanks for your reply. My

Thanks for your reply.

My first thought was like this. To make things sure I reinstalled everything. And here's the gemlist

-----------------------------------------

C:\>gem list

*** LOCAL GEMS ***

activesupport (3.2.3, 2.3.14)

bigdecimal (1.1.0)

bundler (1.1.3)

chunky_png (1.2.5)

crack (0.3.1)

diff-lcs (1.1.3)

eventmachine (1.0.0.beta.4.1 x86-mingw32)

extlib (0.9.15)

highline (1.6.12)

i18n (0.6.0)

io-console (0.3)

json (1.6.7, 1.5.4)

macaddr (1.6.0)

mime-types (1.18)

minitest (2.5.1)

mspec (1.5.17)

multi_json (1.3.5)

nokogiri (1.5.2 x86-mingw32)

rack (1.4.1)

rack-protection (1.2.0)

rake (0.9.2.2)

rdoc (3.9.4)

redis (2.2.2)

redis-namespace (1.0.3)

resque (1.20.0)

rest-client (1.6.7)

rhoconnect (3.2.0)

rhoconnect-adapters (1.0.3)

rhodes (3.3.3)

rhodes-translator (0.0.4)

rhoelements (2.0.5.27.0)

rhomobile-debug (1.0.6)

rubygems-update (1.8.24)

rubyzip (0.9.8)

sinatra (1.3.2)

systemu (2.2.0)

templater (1.0.0)

thor (0.14.6)

tilt (1.3.3)

uuid (2.3.5)

uuidtools (2.1.2)

vegas (0.1.11)

---------------------------------------------------------------------

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Nrusingha Chara...
If apptype is rholemenets

If apptype is rholemenets then no need to mention motorola under capabilities in build.yml

You can also comment out the extension:["webkit-browser,"barcode"] and emulator under section wm in build.yml

which are not required to build your application for MC3190 CE

Make sure the paths are provided in rhobuild.yml are also correct.

Please try to build application after commneting the above in build.yml

http://edgedocs.rhomobile.com/rhodesapi/barcode-api

I think after this the application should build successfully.

Thanks

Patro

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Bratish Goswami
Solved. Thank you so much

Solved. Thank you so much

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
One thing I notice in your

One thing I notice in your build.yml is you have the capabilities: camera commented out for WM.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Bratish Goswami
MC3190 is supposed to work

MC3190 is supposed to work with it's own barcode scanner, rather than the camera.

But nonetheless, I tried it having 'camera' uncommented, the error's still there

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Bhakta Ranjan S...
Hi,In your build.yml file you

Hi,

In your build.yml file you have specified app_type: "rhoelements".

So the apps includes barcode functionality automatically while you will build your application.

No need to mention extensions: ["webkit-browser", "Barcode"] under wm section.

Kindly remove extensions: ["webkit-browser", "Barcode"] and build your application and use your barcode application.

Hope this will help you.

Thanks

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Bratish Goswami
Nailed... Thank you very much

Nailed... Thank you very much friend

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments