News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Migrating from Visual Studio to CodeBlocks

Started by Mathend99, June 08, 2013, 09:34:54 PM

Previous topic - Next topic

Mathend99

Hi!, guys. Sorry to bother you. I need a little help.
I wrote a small, working, application using Microsoft Visual C++/CLI and I now have to have it run under Ubuntu.
First, I created an empty project in CodeBlocks and added all of the old files to it (*.h, *.cpp, etc.).
After days of trying this and that to build it, the compilation is down to two errors:
* expected unqualified-id before 'public'
* expected '}' at end of input
I have checked the files and done a fair amount of searching, but no luck.
By the way, when I said "this and that" it means I commented out statements like "using namespace System" and "#pragma once" that were giving me errors.
Can you guys help me or point me towards the appropriate documentation"
THANKS IN ADVANCE!!!

oBFusCATed

http://en.wikipedia.org/wiki/C%2B%2B/CLI

Do you see somewhere in this page any info about a non-MS compiler which supports C++/CLI?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]