Author Topic: Migrating from Visual Studio to CodeBlocks  (Read 4277 times)

Mathend99

  • Guest
Migrating from Visual Studio to CodeBlocks
« on: June 08, 2013, 09:34:54 pm »
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!!!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Migrating from Visual Studio to CodeBlocks
« Reply #1 on: June 08, 2013, 09:43:55 pm »
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!]