简体   繁体   English

在Visual Studio 2010中无法获得使用C后端运行的orcc代码

[英]can't get orcc code to run using C backend with visual studio 2010

So I've created an ORCC project on eclipse and I've compiled my main network successfully and I generated the visual studio 2010 solution using CMake. 因此,我在eclipse上创建了ORCC项目,并且成功编译了我的主网络,并使用CMake生成了Visual Studio 2010解决方案。

But when I try to run my generated solution i get a lot of compilation errors of undeclared identifiers and unrecognized methods. 但是,当我尝试运行生成的解决方案时,出现许多未声明的标识符和无法识别的方法的编译错误。

I thought the whole point of the back end generated by eclipse is that it should run out of the box without the need for me to edit anything. 我认为eclipse产生的后端的全部意义是它应该开箱即用,而无需我进行任何编辑。

Any Help is appreciated, thank you. 感谢您提供任何帮助 ,谢谢。

here is a sample of the errors, if you want me to attach the whole error list, let me know. 这是错误的示例,如果您要我附加整个错误列表,请告诉我。

  • Error 295 error C2039: 'read_inds' : is not a member of 'fifo_i16_s' 397 1 network 错误295错误C2039:'read_inds':不是'fifo_i16_s'397 1网络的成员
  • Error 297 error C2039: 'read_inds' : is not a member of 'fifo_i16_s' 558 1 network 错误297错误C2039:'read_inds':不是'fifo_i16_s'558 1网络的成员
  • Error 71 error C2065: 'cpu_set_t' : undeclared identifier 222 1 network 错误71错误C2065:'cpu_set_t':未声明的标识符222 1网络
  • Error 73 error C2065: 'cpuset' : undeclared identifier 222 1 network 错误73错误C2065:'cpuset':未声明的标识符222 1网络
  • Error 104 error C2065: 'cpuset' : undeclared identifier 237 1 network 错误104错误C2065:'cpuset':未声明的标识符237 1网络
  • Error 121 error C2065: 'cpuset' : undeclared identifier 242 1 network 错误121错误C2065:'cpuset':未声明的标识符242 1网络
  • Error 85 error C2065: 'mapping' : undeclared identifier 232 1 network 错误85错误C2065:'mapping':未声明的标识符232 1网络

I suggest you try with a more recent version of Orcc, they have improved the code generator, which now exports everything that is needed (including libraries and headers). 我建议您尝试使用较新版本的Orcc,他们改进了代码生成器,现在可以导出所需的所有内容(包括库和标头)。

If it does not work, you can also send an email to the Orcc mailing list or contact them on IRC directly (details on the project's homepage http://orcc.sourceforge.net/ ). 如果它不起作用,您还可以向Orcc邮件列表发送电子邮件,或直接在IRC上与他们联系(详细信息请参见项目主页http://orcc.sourceforge.net/ )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM