Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Compiling a U++ project with a Python API on Windows
Compiling a U++ project with a Python API on Windows [message #39111] Sat, 16 February 2013 02:15
dirk is currently offline  dirk
Messages: 1
Registered: February 2013
Junior Member
Hi all,

I'm new to U++ and rather new to the kind of compilation tricks I am trying to pull off here, so I'm hoping this is obvious stuff...

I would like to access a U++ codebase from Python and was trying to do this using Boost.Python. I have done all the necessary installations of U++, the codebase and Boost and everything works independently. I can compile the code, I can work in U++ and I can create Python API's using Boost.
However, Python has distutils, Boost insists on bjam and U++ has its own compiling mechanism as well and that is where I run into trouble.

U++ does not create pyd files and it seems I can't get cl.exe or bjam.exe to include the necessary U++ libraries; I am getting lots of errors like:

main.cpp(124) : error C2228: left of '.Run' must have class/struct/union
type is ''unknown-type''
main.cpp(124) : error C3861: 'Thread': identifier not found

So, does anyone know of a way to do one of the following:
- compile a U++ project using the Visual Studio command line
- include Boost.Python in U++ and get it to spit out pyd file or an equivalent
- create a Python interface on a U++ project without involving Boost.Python
(or should I just move everything to Linux and will everything go smoother there?)

Thanks a lot for any pointers!
Dirk
Previous Topic: MySQL doesn't work
Next Topic: Is there any trick to reduce the executable even further?
Goto Forum:
  


Current Time: Fri Apr 19 23:11:25 CEST 2024

Total time taken to generate the page: 0.03733 seconds