![]() |
UCPP Error
Hi, I'm having some problems with the ucpp project. I'm running arch linux, with wine version 1.3.35 and no programs installed into it except for whatever ucpp did. Here's what I did:
I downloaded the zip file from https://github.com/nikitakit/ucpp, unzipped it, then moved it to /home/adam I added /home/adam/ucpp/ucpp to my path, installed wine and wine_gecko (using pacman), then went to the directory where my c++ project is. There are three header files, two with constants and one is the header file for main, and main.cpp; and two directories with other classes. I typed: Code:
$ ucpp setup -t 3238Code:
#! /usr/bin/env python2I ran Code:
$ ucpp configureCode:
$ makeCode:
building 2011-12-19-0_partialImage/Debug/2011-12-19-0_partialImage.oCode:
err:ntdll:RtlDeleteResource Deleting active MRSW lock (0x111f64), expect failureSince I don't have a cRIO handy, I'm not sure if this is actually affecting the outputted code or the deploy function. Hopefully I can get an answer to what the problem is or help the developer fix something. |
Re: UCPP Error
Can you post the code that you were building?
My guess is that Wine had a regression. Can you try another version of Wine? Keep this thread up to date, and we/I will do our best to help. If you are having problems, then it isn't perfect yet. |
Re: UCPP Error
1 Attachment(s)
Here's the code. It has a few warnings, sorry about that. I'll see if I can downgrade, but it would be pretty tricky.
|
Re: UCPP Error
Let me start with the doozey. Not a make export, and defiantly not a wine expert.
Now here is what I think Quote:
|
Re: UCPP Error
ucpp installs the compiler suite for Windriver automatically from a set of tools that NI puts out for free on their website. (Don't have the link handy, but you can read it from the source.) This smells like a wine regression to me, or a bug in nmppc triggered by something odd happening in wine.
It may take a day or so for me to poke at it, but I'll try my best to get back to you. (PM me or something if I forget...) |
Re: UCPP Error
Just thought that it may be useful to try compiling my code on the "real" windriver and comparing it to what compiled on my machine and see if they're the same file.
Quote:
Quote:
EDIT: Downgrading wine to 1.3.8 seemed to have fixed the problem. I assume you'll want to submit a bug report to the wine developers |
Re: UCPP Error
Quote:
|
Re: UCPP Error
The regression still exists in wine 1.4
|
Re: UCPP Error
With the lastest version of ucpp and wine, everything compiles successfully and I get no errors (and I don't have to modify the files I said in the last post). I have not tried downloading code to a robot, though.
Thanks for all your hard work! It's great to even check for syntax errors without getting errors about "CANJaguar is not a type" |
| All times are GMT -5. The time now is 23:38. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi